Java 15 – Other Enhancements

JEP 383 – Foreign Memory Access API Java 14 allowed java programs to safely and efficiently access foreign memory outside of the Java heap. Earlier mapDB, memcached, ignite java libraries provided the foreign memory access….

Java 15 – Deprecation & Removals and Other Enhancements

Deprecation Following functionalities are deprecated and are scheduled for removal in future release. Biased Locking − Biased Locking is disabled by default and all related command line options are deprecated. JDK community is looking to check…

Java 15 – Other Changes

JEP 383 – Foreign Memory Access API Java 14 allowed java programs to safely and efficiently access foreign memory outside of the Java heap. Earlier mapDB, memcached, ignite java libraries provided the foreign memory access….

Java 15 – Garbage Collectors and Other Changes

Java 15 has made the ZGC, Z Garbage Collector a standard feature. It was an experimental feature till Java 15. It is low latency, highly scalable garbage collector. ZGC was introduced in Java 11 as…

Java 15 – Hidden Classes

Java 15 has introduced hidden classes which cannot be used directly by other classes bytecode. These hidden classes are intended to be used by frameworks which genereate classes at runtime and use them using reflection….

Java 15 – Record for Sealed Interfaces

As records are final by default and can extend interfaces. We can define sealed interfaces and let record implement them for better code management. Example Consider the following example − Java15Tester.java Compile and Run the…

Java 15 – Record

Java 14 introduces a new class type record as preview feature to facilitate creation of immutable data objects. Java 15 enhances record type further. It is still a preview feature. Record object have implicit constructor…