JDK 25: New features in Java 25

Java Development Kit (JDK) 25, planned long -term support for the standard Java due in September, now officially has two functions. The first is the preview of the API for stable values, a function that promised to speed up the start of Java applications. The second is to remove the previously outdated 32 -bit port X86.

JDK 25 comes on the heels of JDK 24, the issue of six months of support as a result of the arrival of March 18. As long -term support, the JDK 25 is set to obtain at least five years of first -level support from Oracle.

Stable values ​​are objects that the non -changeable data holder. Stable Becaus values ​​are JVM considered constant, allowing the same output optimization that is allowed by the announcement of the field final. But in comparison with final The stable values ​​field offered greater flexibility in terms of the timing of their initialization. The main objective of the design is to improve the start of Java applications by breaking down the monolithic initialization of the application status. Other objectives include the user code to safely use the constant listing for the previously available for JDK only; Guarantee that stable values ​​are most initialized, even in multiple fiber programs; And the separation of stable values ​​for their initialization without significant sanctions.

Leave a Comment