What is Flight Recorder in Java 11?
保存以便复习
保存以便复习
收藏此条目、标记为困难题,或将其加入复习集合。
WithoutBook 将分主题面试题、在线练习测试、教程和对比指南整合到一个响应式学习空间中。
了解热门 Java 11 面试题与答案,帮助应届生和有经验的候选人为求职面试做好准备。
了解热门 Java 11 面试题与答案,帮助应届生和有经验的候选人为求职面试做好准备。
搜索问题以查看答案。
收藏此条目、标记为困难题,或将其加入复习集合。
The Java class-file format is now expanding support for a new kind of constant pool, called CONSTANT_Dynamic. The loading of CONSTANT_Dynamic delegates the creation of a bootstrap method. Same as linking an invokedynamic call site delegates linkage to a bootstrap method. Same as, Java 7 which introduces MethodHandle and MethodType entry in constant pool.
收藏此条目、标记为困难题,或将其加入复习集合。
Improve the current string and array intrinsic, and added new intrinsics on AArch64 processors for the java.lang.Math sin, cos and log functions. Intrinsics are used to optimize CPU architecture-specific assembly code that is executed for a given method to boost performance, instead of generic Java code. Although most of the intrinsics are already implemented in port AArch64, optimized intrinsics are still lacking for the following java.lang.Math methods:
收藏此条目、标记为困难题,或将其加入复习集合。
It allows var to be used when declaring the formal parameters of implicitly typed lambda expressions.
In Java 10, Local Variable Type Inference was introduced.
var str = "Java 10"; // infers Stringvar list = new ArrayList<String>(); // infers ArrayList<String>var stream = list.stream(); // infers Stream<String>svar bos = new ByteArrayOutputStream();Java 11, allows var to be used to declare the formal parameters of an implicitly typed lambda expression.
(var a, var b) -> a + bThe examples below are illegal:
// Not allowed to mix 'var' and 'no var' in implicitly typed lambda expression(var a, b) -> a+b// Not allowed to mix 'var' and manifest types in explicitly typed lambda expression(var a, int b) -> a+b 收藏此条目、标记为困难题,或将其加入复习集合。
It supports the latest Unicode version, particularly in the classes below:
收藏此条目、标记为困难题,或将其加入复习集合。
It enhances the Java launcher to run the program provided as a single Java source code file, including the use of "shebang" files and related techniques from within the script.
收藏此条目、标记为困难题,或将其加入复习集合。
The Z Garbage Collector, also known as ZGC, is a low latency scalable garbage collector designed to meet the following objectives.
收藏此条目、标记为困难题,或将其加入复习集合。
Below three types will be deprecated from java.base module, i.e. with annotation @Deprecated(forRemoval = true):
收藏此条目、标记为困难题,或将其加入复习集合。