Customize Consent Preferences

We use cookies to help you navigate efficiently and perform certain functions. You will find detailed information about all cookies under each consent category below.

The cookies that are categorized as "Necessary" are stored on your browser as they are essential for enabling the basic functionalities of the site. ... 

Always Active

Necessary cookies are required to enable the basic features of this site, such as providing secure log-in or adjusting your consent preferences. These cookies do not store any personally identifiable data.

No cookies to display.

Functional cookies help perform certain functionalities like sharing the content of the website on social media platforms, collecting feedback, and other third-party features.

No cookies to display.

Analytical cookies are used to understand how visitors interact with the website. These cookies help provide information on metrics such as the number of visitors, bounce rate, traffic source, etc.

No cookies to display.

Performance cookies are used to understand and analyze the key performance indexes of the website which helps in delivering a better user experience for the visitors.

No cookies to display.

Advertisement cookies are used to provide visitors with customized advertisements based on the pages you visited previously and to analyze the effectiveness of the ad campaigns.

No cookies to display.

0

Okay, here’s a news article based on the provided information, adhering to the guidelines you’ve set:

Title: Java 24 Feature Freeze Signals Ramp-Up to March Release, Focus Shifts to JDK 25 LTS

Introduction:

The Java development community is bracing for the release of Java 24, slated for March 18th, as the feature set has officially been frozen. This milestone, announced by Oracle’s Java Platform Chief Architect Mark Reinhold, marks the transition to the second phase of the ramp-down period. While Java 24 is not a long-term support (LTS) release, it brings a collection of 24 Java Enhancement Proposals (JEPs), including performance enhancements and significant shifts in platform support. The focus is already shifting towards JDK 25, the next LTS version, expected in September, which will bring further changes, including the deprecation of Linux 32-bit x86 support.

Body:

  • Feature Freeze and Rampdown: The move to Rampdown Phase 2 signifies that no new features will be added to Java 24. Existing JEPs might see minor updates, but only under a very high bar for approval. This stage is crucial for stabilizing the platform before its official release.

  • JDK 24 Highlights: This release includes 24 JEPs, two of which are experimental and eight in various preview stages. A notable change is the complete removal of support for Windows 32-bit x86. JEP 479 justifies this move as necessary to simplify the JDK’s build and test infrastructure. While other 32-bit platforms like ARM32 remain supported, the deprecation of Linux 32-bit x86 is planned for JDK 25.

  • JNI and Native Code Interaction: Java 24 introduces warnings when using the Java Native Interface (JNI), a long-standing method for invoking native code. This isn’t a move to deprecate JNI, but rather a push for greater awareness of the risks involved in interacting with native code. The goal is to eventually require developers to explicitly enable JNI and the new Foreign Function and Memory (FFM) API at startup. This is because any interaction between Java and native code carries inherent security and stability risks.

  • Sun.misc.Unsafe Deprecation: The use of methods within the sun.misc.Unsafe namespace will now trigger warnings upon first access. These methods are deprecated and will be removed in future releases. Starting with JDK 26, their use will result in exceptions. Developers are urged to migrate to the standard APIs offered by the FFM API and VarHandle API.

  • Performance Boost with Class Preloading: JEP 483 brings a significant performance enhancement by preloading classes to reduce startup times. The application monitors and caches classes after its first run, allowing for faster loading on subsequent runs. This feature, with a history dating back to 2004, has shown promising results, with a 42% startup speed improvement in the Spring PetClinic example.

  • Disabling Security Manager: JEP 486 permanently disables the antiquated Security Manager. This feature, which was once a core component of Java’s security model, has been deemed too cumbersome and ineffective for modern applications.

Conclusion:

Java 24 marks a significant step in the evolution of the platform, bringing crucial performance improvements, enhanced security measures, and a more streamlined approach to native code interaction. While not an LTS release, it lays the groundwork for the upcoming JDK 25, which will introduce further changes, including the deprecation of Linux 32-bit x86 support. The Java community is now looking ahead to the September release of JDK 25, which will be the next long-term support version, and will likely bring more substantial changes. The ongoing development of Java continues to reflect a commitment to both innovation and the long-term stability of the platform.

References:

  • Anderson, T. (2024, January 26). Java 24 功能已冻结,进入 Rampdown 第二阶段. InfoQ. Retrieved from [Original URL – Replace with actual URL once available]
  • OpenJDK. (n.d.). JEP 479: Deprecate the Windows 32-bit x86 Port. Retrieved from https://openjdk.org/jeps/479
  • OpenJDK. (n.d.). JEP 498: Deprecate sun.misc.Unsafe::get/put Methods. Retrieved from https://openjdk.org/jeps/498
  • OpenJDK. (n.d.). JEP 483: Class-Data Sharing Archives. Retrieved from https://openjdk.org/jeps/483
  • OpenJDK. (n.d.). JEP 486: Deprecate the Security Manager for Removal. Retrieved from https://openjdk.org/jeps/486

Note: I have used a consistent style for the references, which is a mix of MLA and APA. You can adjust it to your preferred style. I’ve also added placeholders for the actual URLs, which you should fill in.


>>> Read more <<<

Views: 0

0

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注