<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/welcome-to-openjdk-23-a-comprehensive-overview-hn9hxqi7s" -->

---
title: Welcome to OpenJDK 23: A Comprehensive Overview | daily.dev
description: Oracle has released Java 23, featuring 12 JDK Enhancement Proposals, including Markdown Documentation Comments, ZGC Generational Mode, and the deprecation of...
canonical: https://daily.dev/posts/welcome-to-openjdk-23-a-comprehensive-overview-hn9hxqi7s
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Welcome to OpenJDK 23: A Comprehensive Overview | daily.dev
og:description: Oracle has released Java 23, featuring 12 JDK Enhancement Proposals, including Markdown Documentation Comments, ZGC Generational Mode, and the deprecation of...
og:url: https://daily.dev/posts/welcome-to-openjdk-23-a-comprehensive-overview-hn9hxqi7s
og:image: https://api.daily.dev/og/posts/Hn9hxQI7s.png
og:image:alt: Welcome to OpenJDK 23: A Comprehensive Overview
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Welcome to OpenJDK 23: A Comprehensive Overview

**[Collections](https://daily.dev/sources/collections)** · 3 min read · 2 upvotes · 0 comments

## Summary

Oracle has released Java 23, featuring 12 JDK Enhancement Proposals, including Markdown Documentation Comments, ZGC Generational Mode, and the deprecation of `sun.misc.Unsafe`. New additions enhance primitive type patterns, module imports, class declarations, and concurrency management. This release also previews features for JDK 24, targets enterprise applications, and introduces AI-powered code assistance.

## Content

# Java 23 Released With Enhanced Features and Performance Upgrades

Oracle has officially released Java 23, introducing a host of new features, improvements, and performance optimizations aimed at boosting developer productivity and enhancing the overall Java experience. This release includes 12 JEPs (JDK Enhancement Proposals), with notable additions such as Markdown Documentation Comments, ZGC Generational Mode by Default, and the deprecation of `sun.misc.Unsafe`.

## Key Highlights of Java 23

1. **Markdown Documentation Comments**: Facilitates easier and more readable documentation within code by allowing developers to write comments in Markdown.

2. **ZGC Generational Mode**: The Z Garbage Collector has been optimized and now runs in generational mode by default, enhancing garbage collection performance.

3. **Deprecation of `sun.misc.Unsafe`**: Certain memory-access methods within `sun.misc.Unsafe` have been deprecated, moving towards safer and modern alternatives.

4. **Primitive Types in Patterns**: The new release supports the use of primitive types in patterns and enhancements to `instanceof` and `switch` statements.

5. **Module Import Declarations**: Simplifies module management within the codebase.

6. **Implicitly Declared Classes and Flexible Constructor Bodies**: Introduces more flexibility and simplicity in class and constructor declarations.

7. **Structured Concurrency and Scoped Values from Project Loom**: These features aim to simplify multithreading and concurrency management, making Java more accessible for complex concurrent programming.

8. **Class-File API and Vector API Updates**: Enhancements to these APIs provide more robust options for developers working with complex data structures and computational processes.

## Previews and Future Directions

The release includes several features in preview stages, hinting at potential capabilities for JDK 24. These include:

- **Enhanced Pattern Matching**: Extending pattern matching to include more use cases.
- **Stream Gatherers**: Offering more intuitive ways to handle stream data.
- **A Reworked String Templates JEP**: The initial proposal has been removed for further refinement based on community feedback.

## Enhancements Targeting Enterprise and New Developers

Oracle has focused on making Java 23 more powerful for enterprise-level applications and more approachable for newcomers. This includes the introduction of the Graal JIT compiler in Oracle JDK for improved performance and a Java Playground for in-browser coding. Additionally, Oracle Code Assist, an AI-powered code companion, is available to ease the development process.

## Adoption and Support

Tools like IntelliJ IDEA 2024.2 have been updated to support Java 23, making it easier for developers to adopt the new features and integrate them into their projects seamlessly. By setting the SDK to Java 23 and configuring the language level, developers can leverage the updated constructs, improving code readability and maintainability.

## Conclusion

Java 23 is a significant step forward in the evolution of the Java platform, offering a blend of productivity-enhancing features and performance optimizations. As always, Oracle and the wider Java community are continually working to refine and enhance the language, making it a robust choice for modern software development.

Looking ahead, Java 24 is anticipated in March 2025, with ongoing innovations to look forward to.

## Similar posts on daily.dev

- [Governing Security in the Age of Infinite Signal](https://daily.dev/posts/governing-security-in-the-age-of-infinite-signal-qhihbir44) · Snyk · 0 upvotes · 0 comments
- [No one has a good plan for how AI companies should work with the government](https://daily.dev/posts/no-one-has-a-good-plan-for-how-ai-companies-should-work-with-the-government-nkajqoze1) · TechCrunch · 0 upvotes · 1 comments

---

Tags: [#performance](https://daily.dev/tags/performance), [#java](https://daily.dev/tags/java)

[View this post on daily.dev](https://daily.dev/posts/welcome-to-openjdk-23-a-comprehensive-overview-hn9hxqi7s)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Welcome to OpenJDK 23: A Comprehensive Overview","url":"https://daily.dev/posts/welcome-to-openjdk-23-a-comprehensive-overview-hn9hxqi7s","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/welcome-to-openjdk-23-a-comprehensive-overview-hn9hxqi7s"},"datePublished":"2024-09-17T09:44:14.390Z","dateModified":"2024-09-17T20:06:06.228Z","description":"Oracle has released Java 23, featuring 12 JDK Enhancement Proposals, including Markdown Documentation Comments, ZGC Generational Mode, and the deprecation of...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/638252be3f08314ef9564306756cec2f?_a=AQAEuiZ","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/638252be3f08314ef9564306756cec2f?_a=AQAEuiZ","isAccessibleForFree":true,"articleSection":"Collections","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Collections","logo":"https://media.daily.dev/image/upload/s--fk_6ycEi--/f_auto,q_auto/v1780996001/logos/collections?_a=BAMAMiWQ0","url":"https://daily.dev/sources/collections"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/welcome-to-openjdk-23-a-comprehensive-overview-hn9hxqi7s","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":2},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"performance,java","timeRequired":"PT3M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Collections","item":"https://daily.dev/sources/collections"},{"@type":"ListItem","position":3,"name":"Welcome to OpenJDK 23: A Comprehensive Overview"}]}
```

