<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/java-27-in-intellij-idea-49moorvhm" -->

---
title: Java 27 in IntelliJ IDEA | daily.dev
description: Java 27, released September 15, 2026, ships nine JEPs, four of which are final: G1 becomes the default garbage collector in all environments (replacing Serial...
canonical: https://daily.dev/posts/java-27-in-intellij-idea-49moorvhm
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Java 27 in IntelliJ IDEA | daily.dev
og:description: Java 27, released September 15, 2026, ships nine JEPs, four of which are final: G1 becomes the default garbage collector in all environments (replacing Serial...
og:url: https://daily.dev/posts/java-27-in-intellij-idea-49moorvhm
og:image: https://api.daily.dev/og/posts/49MoORVHm.png
og:image:alt: Java 27 in IntelliJ IDEA
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.

# Java 27 in IntelliJ IDEA

**[JetBrains](https://daily.dev/sources/jetbrains)** · 12 min read · 0 upvotes · 0 comments

## Summary

Java 27, released September 15, 2026, ships nine JEPs, four of which are final: G1 becomes the default garbage collector in all environments (replacing Serial GC), post-quantum hybrid key exchange lands for TLS 1.3, compact object headers become the default (reducing headers from 96 to 64 bits), and JFR now redacts sensitive command-line/environment data. Four preview features continue maturing (lazy constants, primitive types in patterns/instanceof/switch, structured concurrency, PEM encodings of cryptographic objects) and the Vector API remains in incubator. IntelliJ IDEA supports Java 27 from day one, including JDK download/setup, language level configuration, preview feature highlighting, and live templates for structured concurrency. A JDK debugger stepping performance fix has been backported to JetBrains Runtime 25. Java 27 is not an LTS release; Project Valhalla features (value objects, strict field initialization) are targeted for JDK 28 preview.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://blog.jetbrains.com/idea/2026/09/java-27-in-intellij-idea>

## Questions this post answers

### What garbage collector does Java 27 use by default now?

Java 27 makes G1 (Garbage-First) the default garbage collector in all environments, including machines with a single CPU or less than 1,792 MB of RAM, which previously fell back to Serial GC. This is possible because G1 throughput improvements, including changes made in Java 26, made it performant enough to replace Serial. Serial GC can still be explicitly enabled with the -XX:+UseSerialGC flag.

_Track JVM defaults like this one on daily.dev before they change your app's memory profile._

### How big are compact object headers in Java 27 and do I need to enable them?

Compact object headers are now enabled by default in Java 27, reducing object header size from 96 bits to 64 bits on 64-bit architectures. This lowers heap size, improves deployment density, and increases data locality, benefiting applications with large numbers of objects. Unlike Java 25, where the feature was opt-in via a command-line flag, no flag is required anymore.

_Developers tuning JVM memory footprints can follow shifts like this via daily.dev._

### What TLS security feature does Java 27 add against future quantum attacks?

Java 27 implements hybrid key exchange algorithms for TLS 1.3, guarding against 'harvest now, decrypt later' attacks where adversaries record encrypted traffic today intending to decrypt it once quantum computers become powerful enough. This enhances secure network communication for Java applications relying on TLS.

_Anyone hardening TLS configurations against future threats can watch for updates like this on daily.dev._

## Similar posts on daily.dev

- [JDK 27: The quiet before the storm](https://daily.dev/posts/jdk-27-the-quiet-before-the-storm-eixxzoapd) · InfoWorld · 2 upvotes · 0 comments
- [Java 26 in IntelliJ IDEA](https://daily.dev/posts/java-26-in-intellij-idea-jnbl9edvz) · JetBrains · 17 upvotes · 0 comments

---

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

[View this post on daily.dev](https://daily.dev/posts/java-27-in-intellij-idea-49moorvhm)

```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":"Java 27 in IntelliJ IDEA","url":"https://daily.dev/posts/java-27-in-intellij-idea-49moorvhm","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/java-27-in-intellij-idea-49moorvhm"},"datePublished":"2026-09-15T16:02:43.106Z","dateModified":"2026-09-16T03:26:40.473Z","description":"Java 27, released September 15, 2026, ships nine JEPs, four of which are final: G1 becomes the default garbage collector in all environments (replacing Serial...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/6ed8430778c8b04c1b9a2ad7b328110a?_a=AQAEuop","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/6ed8430778c8b04c1b9a2ad7b328110a?_a=AQAEuop","isAccessibleForFree":true,"articleSection":"JetBrains","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":"JetBrains","logo":"https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/53ecf0c676f34b3896ee109609d91efa","url":"https://daily.dev/sources/jetbrains"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/java-27-in-intellij-idea-49moorvhm","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"devtools,java,jvm","timeRequired":"PT12M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"JetBrains","item":"https://daily.dev/sources/jetbrains"},{"@type":"ListItem","position":3,"name":"Java 27 in IntelliJ IDEA"}]}
{"@context":"https://schema.org","@type":"FAQPage","@id":"https://daily.dev/posts/java-27-in-intellij-idea-49moorvhm#faq","mainEntity":[{"@type":"Question","name":"What garbage collector does Java 27 use by default now?","acceptedAnswer":{"@type":"Answer","text":"Java 27 makes G1 (Garbage-First) the default garbage collector in all environments, including machines with a single CPU or less than 1,792 MB of RAM, which previously fell back to Serial GC. This is possible because G1 throughput improvements, including changes made in Java 26, made it performant enough to replace Serial. Serial GC can still be explicitly enabled with the -XX:+UseSerialGC flag. Track JVM defaults like this one on daily.dev before they change your app's memory profile."}},{"@type":"Question","name":"How big are compact object headers in Java 27 and do I need to enable them?","acceptedAnswer":{"@type":"Answer","text":"Compact object headers are now enabled by default in Java 27, reducing object header size from 96 bits to 64 bits on 64-bit architectures. This lowers heap size, improves deployment density, and increases data locality, benefiting applications with large numbers of objects. Unlike Java 25, where the feature was opt-in via a command-line flag, no flag is required anymore. Developers tuning JVM memory footprints can follow shifts like this via daily.dev."}},{"@type":"Question","name":"What TLS security feature does Java 27 add against future quantum attacks?","acceptedAnswer":{"@type":"Answer","text":"Java 27 implements hybrid key exchange algorithms for TLS 1.3, guarding against 'harvest now, decrypt later' attacks where adversaries record encrypted traffic today intending to decrypt it once quantum computers become powerful enough. This enhances secure network communication for Java applications relying on TLS. Anyone hardening TLS configurations against future threats can watch for updates like this on daily.dev."}}]}
```

