incubate smaller, productivity-oriented Java language features explore and incubate Java VM features and APIs built on top of them for the implementation of lightweight user-mode threads (fibers), delimited continuations (of some form), and related features, such as explicit tail-call. improving and enriching the connections between the Java virtual machine and well-defined but “foreign” (non-Java) APIs, including many interfaces commonly used by C programmers. Valhalla Project Valhalla is augmenting the Java object model with value objects and user-defined primitives, combining the abstractions of object-oriented programming with the performance characteristics of simple primitives
by optional white spaces and a newline. It allows us to include literal fragments of HTML, JSON, SQL, or whatever we need, in a more elegant and readable way.
this example, both are equivalent. If we need carriage returns (\r) to be present, we have to explicitly add them to the text block if you use identation, use the position of closing triple quotes relative to the position of the last line
the use of a superclass. THE PURPOSE A SEALED class or interface can be extended or implemented only by those classes and interfaces permitted to do so. of sealing a class is to let client code reason clearly and conclusively about all permitted subclasses.
Java programming language. Template expressions can perform string interpolation but are also programmable in a way that helps developers compose strings safely and efficiently. Consists of: A template processor (STR); A dot character (U+002E), as seen in other kinds of expressions; and A template ("My name is \{name}") which contains an embedded expression (\{name}).
order and provide uniform APIs for accessing their first and last elements and processing them in reverse order. The framework will become more intuitive and efficient for developers.
but does not recycle it Low-latency Works with all sizes of heaps – From small to Terabytes Pause time must not exceed 10ms Not a replacement for G1 Shenandoah is the low pause time garbage collector that reduces GC pause times by performing more garbage collection work concurrently with the running Java program G1 Enhance to G1. Automatically return Java heap memory to the operating system when idle Garbage Collectors Don't let the JVM pick your GC