While the Kit 25 Java Development Kit 25 is not set to ARRIL in September, the first feature has already been designed – the preview of the API of the stable values that promised to improve Java applications.
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
. At the same time, they offered greater flexibility in terms of timing of initialization. Therefore, they could be used to improve Java applications by breaking the monolithic initialization of the application status.
In addition to increasing the start of the application, the API would offer the following: disconnecting the creation of stable values due to their initialization without much sanctions ensures that stable values are initialized and allow the user code to use previous constant listing optimization. Code JDK-SINAN.