Без рубрики

The upcoming release of Java Development Kit (JDK) 24 has reached the release candidate phase, bringing a wealth of new features and improvements. Scheduled for general availability on March 18, JDK 24 introduces significant advancements, including a refined class-file API, enhanced concurrency management, and strengthened security measures against quantum computing threats.

Milestones and Release Timeline

The first release candidate of JDK 24 was made available on February 6, following a structured rollout process. A second release candidate is expected on February 20, preceding the official launch in March. With 24 feature updates, this version significantly surpasses its predecessor, JDK 23, which introduced only 12 new features.

New and Noteworthy Features

JDK 24 brings a diverse range of improvements spanning various aspects of the Java ecosystem:

Concurrency and Performance Enhancements

  • Structured Concurrency (Fourth Preview): Aims to simplify multithreading by treating groups of related tasks as a single unit, enhancing error handling, reliability, and observability.
  • Ahead-of-Time Class Loading and Linking: Designed to improve application startup times by preloading and linking classes based on prior execution.
  • Synchronizing Virtual Threads Without Pinning: Increases scalability by allowing virtual threads to release platform threads during synchronization.

Security and Cryptography Improvements

  • Quantum-Resistant Cryptography: Implements module-lattice-based key encapsulation (ML-KEM) and digital signature (ML-DSA) algorithms to safeguard against future quantum computing threats.
  • Key Derivation Function (KDF) API: Introduces an API for cryptographic key derivation, supporting widely used methods like HMAC and Argon2.
  • Deprecation of 32-bit x86 Support: Phasing out 32-bit x86 architecture support, with the last remaining Linux 32-bit x86 port marked for removal.

Garbage Collection and Memory Management

  • Generational Shenandoah Garbage Collector: Enhances memory management efficiency by introducing a generational approach to garbage collection.
  • ZGC Non-Generational Mode Removal: Streamlines garbage collection by eliminating non-generational mode, allowing future improvements to focus solely on generational strategies.

Language and Runtime Enhancements

  • Flexible Constructor Bodies (Third Preview): Refines object instantiation by allowing pre- and post-superclass initialization logic.
  • Primitive Types in Patterns and Switch Statements: Expands pattern matching to include primitive types, enhancing uniformity and eliminating unsafe casting risks.
  • Module Import Declarations (Second Preview): Simplifies the reuse of modular libraries without requiring a module-based structure.

Developer-Focused Improvements

  • Stream Gatherers: Provides a new API to enable more flexible intermediate operations within stream pipelines.
  • Class-File API (Finalized): Introduces a standardized API for parsing, generating, and modifying Java class files, replacing reliance on third-party libraries.
  • Permanent Security Manager Removal: Concludes the deprecation process by fully disabling the Java Security Manager, which has seen limited usage in recent years.

Implications for the Java Ecosystem

JDK 24 is designated as a non-long-term support (non-LTS) release, mirroring JDK 23’s lifecycle. Oracle will provide premier support for six months, with JDK 25, an LTS release, set to follow in September 2024.

For developers eager to explore JDK 24, early access builds are available at jdk.java.net. With a focus on performance, security, and developer ergonomics, JDK 24 is set to further solidify Java’s position as a leading programming language in modern software development.

21.02.2025
developPPP

Java 24: Key Updates and Enhancements

The upcoming release of Java Development Kit (JDK) 24 has reached the release candidate phase, bringing a wealth of new features and improvements. Scheduled for general […]
31.01.2025
ru-kak-obnaruzit-straf-google-1 (2)

Google Revises Site Reputation Abuse Policy Documentation

Google has refined its guidelines on site reputation abuse, enhancing clarity and accessibility for webmasters looking to maintain compliance. Overview of the Update The latest documentation […]
23.01.2025
AIAIAI

Google Enhances «Circle to Search» with Advanced AI-Powered Insights for Visual Searches

Google has introduced new updates to its «Circle to Search» feature, designed to enhance usability for Android users, businesses, and marketers. These improvements make the tool […]
31.12.2024
search

Bing Search Revamped: Faster and Smarter Results

Microsoft has revamped Bing’s search technology by integrating advanced language models, promising cost savings alongside quicker and more accurate search outcomes. The latest updates feature a […]
21.11.2024
google-search-mobile

Google Rolls Out Major November 2024 Core Algorithm Update

Google has officially started deploying its November 2024 core update, which is expected to take roughly two weeks to fully roll out. This update, part of […]
23.09.2024
google-search-mobile

Google Enhances Indexing API Guidelines with Spam Detection Warning

Google has strengthened the rules surrounding its Indexing API, cautioning users about spam detection and the possibility of losing access if the API is misused. The […]
12.09.2024
industrialaaaaa

Apple’s iPad Ad Sparks Controversy Over Hydraulic Press Misuse

A tool traditionally seen as a metalworker’s asset, the hydraulic press, was recently cast in a negative light due to Apple’s controversial promotional campaign. In a […]
27.08.2024
googlegoogle

Google Updates Guidelines for Organization Structured Data

Google has refreshed its guidelines on Organization Structured Data, providing a more precise and thorough explanation of its role and advantages. The revised introduction to the […]
12.08.2024
dolly22

Google Launches AI-Powered Tools for Performance Max Campaigns

Google has unveiled advanced AI tools for Performance Max campaigns, aimed at improving reporting, creative features, and brand safety for advertisers across various campaign formats. Google […]
09.07.2024
AIAIAIIAIAIA

Meta Introduces Four New AI Models for Developers

The Fundamental AI Research team at Meta has launched four new AI models, now accessible to researchers and developers for creating innovative applications. A detailed paper […]