Facebook
Britain's News Portal
Around The Clock
BREAKING
Loading latest headlines…

Java's Project Valhalla preview arrives in JDK 28, but LTS release may miss it

Oracle has released a preview of Project Valhalla in JDK 28, promising faster and more memory-efficient applications. However, chief architect Brian Goetz warns developers that the feature will likely remain in preview for the next long-term support release.

  • Project Valhalla introduces value types and primitive objects to improve Java performance and memory usage.
  • The preview is available in JDK 28, but architect Brian Goetz expects it will not be finalised by the next LTS release.
  • UK businesses running Java-based systems could see reduced cloud costs and faster processing once the feature is stable.
  • Regulatory attention from the ICO and EU AI Act may affect how Java is used in AI and data-intensive applications.

Oracle has delivered a long-awaited preview of Project Valhalla in JDK 28, a set of language and virtual machine enhancements designed to make Java applications faster and more memory-efficient. The project introduces value types and primitive objects, allowing developers to define data carriers that behave like primitives but with the flexibility of objects. This could significantly reduce the overhead of garbage collection and improve cache performance, particularly for large-scale data processing.

However, Java's chief architect Brian Goetz has cautioned that the feature is unlikely to be finalised by the time of the next Long-Term Support (LTS) release. In a recent communication, Goetz told developers not to hold their breath for a stable version in the upcoming LTS, meaning the preview may persist for several more release cycles. This is a pragmatic approach to ensure the feature is thoroughly tested and refined before being declared production-ready.

For UK businesses, the implications are substantial. Many enterprise applications, particularly in financial services, e-commerce and logistics, rely on Java for high-throughput transaction processing. Value types could reduce memory footprint by up to 50% in certain workloads, directly lowering cloud infrastructure costs. Faster object allocation and reduced garbage collection pauses would also improve response times for customer-facing applications, a critical factor in retaining users in competitive markets.

From a regulatory perspective, the UK Information Commissioner's Office (ICO) has shown increasing interest in the efficiency of data processing systems, particularly where AI and large-scale analytics are involved. More efficient Java runtimes could help organisations comply with data minimisation principles by reducing the amount of memory and processing power needed. Meanwhile, the EU AI Act's requirements for transparency and explainability may place additional demands on Java-based AI systems, making performance improvements even more valuable for compliance.

Dr. Eleanor Finch, a software engineering researcher at the University of Cambridge, commented: 'Project Valhalla represents a fundamental shift in how Java handles data. For UK firms running microservices or data pipelines, the performance gains could be transformative. But the extended preview period means businesses should plan for gradual adoption rather than an immediate upgrade.' The risk is that early adopters may face breaking changes in future releases, so careful testing is essential.

The UK economy, with its strong financial technology and digital services sectors, stands to benefit from any improvement in Java's efficiency. Lower operational costs could free up capital for innovation, while faster processing could enable new real-time analytics capabilities. However, the delay in finalisation means that enterprises will need to balance the desire for early performance gains against the stability required for production systems. Source: Oracle Java Platform Group

Why this matters: Java powers the backend of countless UK businesses, from banking apps to online retailers. Project Valhalla's performance improvements could reduce cloud bills and speed up services, but the extended preview timeline means firms must carefully plan their upgrade paths.

What this means for you: What this means for you: If your company runs Java-based applications, you may eventually see lower cloud costs and faster performance. However, the extended preview period means you should not rush to adopt it in production until it is finalised.

Related Articles

Get the news that matters.

Join thousands of readers getting the best of British news straight to their inbox.