java core

Your blog category

Remove the Experimental AOT and JIT Compiler

Ahead-of-Time (AOT) and Just-in-Time (JIT) compilation are strategies for improving Java application performance.In earlier Java versions, experimental AOT and JIT compilers were introduced to explore new optimization techniques.However, starting from Java 17, these experimental features have been removed to simplify the JDK, reduce maintenance costs, and focus on proven, production-ready technologies. What Were the Experimental …

Remove the Experimental AOT and JIT Compiler Read More »

Deprecate and Remove RMI Activation

In earlier Java versions, Remote Method Invocation (RMI) allowed distributed communication by enabling objects to call methods across JVMs.An important extension to RMI was the RMI Activation system, introduced to activate remote objects on demand, reducing memory and resource usage. However, as technology evolved, Java 17 deprecated RMI Activation because it became outdated, complex, and …

Deprecate and Remove RMI Activation Read More »

Enhanced Pseudo-Random Number Generators

Random number generation is a fundamental requirement in many software applications — from gaming, simulations, and modeling to cryptography and security.Before Java 17, developers mostly used java.util.Random or java.security.SecureRandom classes for random number generation. However, these traditional generators had limitations such as low randomness quality, limited algorithm choice, and lack of parallel stream support. To …

Enhanced Pseudo-Random Number Generators Read More »

Foreign Function & Memory API (Incubator)

Concurrent collections are specialized data structures in programming that facilitate safe and efficient manipulation of shared data by multiple threads in a concurrent environment. Traditional collections, like lists, queues, or maps, often face issues like race conditions when accessed by multiple threads simultaneously. Concurrent collections address these issues by providing built-in thread-safe operations. Concurrent collections …

Foreign Function & Memory API (Incubator) Read More »

Sealed Classes

Sealed classes are a feature introduced in JEP 409 (part of Java 15 as a preview, finalized in Java 17) to provide more control over class inheritance. They allow a class to restrict which classes or interfaces can extend or implement it, enabling more robust and maintainable hierarchies. Important Concepts of Sealed Classes     …

Sealed Classes Read More »

Enhanced Deprecation

Java 11, released in September 2018, brought a number of improvements and enhancements to the language and platform. One of the notable changes was the enhanced deprecation mechanism, which aims to improve how deprecated features are handled in Java. Deprecation in Java is a way for developers to mark certain features or APIs as outdated …

Enhanced Deprecation Read More »

Scroll to Top