<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/java-27-technically-within-2-minutes-boq3mwg4c" -->

---
title: Java 27 Technically Within 2 Minutes | daily.dev
description: Java 27 ships Tuesday the 15th with 9 JEPs, four finalized: G1GC becomes the default garbage collector everywhere (replacing Serial GC in constrained...
canonical: https://daily.dev/posts/java-27-technically-within-2-minutes-boq3mwg4c
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Java 27 Technically Within 2 Minutes | daily.dev
og:description: Java 27 ships Tuesday the 15th with 9 JEPs, four finalized: G1GC becomes the default garbage collector everywhere (replacing Serial GC in constrained...
og:url: https://daily.dev/posts/java-27-technically-within-2-minutes-boq3mwg4c
og:image: https://api.daily.dev/og/posts/BoQ3mwg4C.png
og:image:alt: Java 27 Technically Within 2 Minutes
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 Technically Within 2 Minutes

**[Java \(Official Oracle\)](https://daily.dev/sources/java-oracle)** · 2 min read · 0 upvotes · 0 comments

## Summary

Java 27 ships Tuesday the 15th with 9 JEPs, four finalized: G1GC becomes the default garbage collector everywhere (replacing Serial GC in constrained environments), Post-Quantum Hybrid Key Exchange lands in TLS 1.3 for quantum-resistant security, Compact Object Headers (final since JDK 25) are now on by default reducing heap/CPU/GC overhead, and JFR now redacts sensitive data like passwords and API keys by default (configurable via -XX:FlightRecorderOptions). Five preview/incubator JEPs also progress: Lazy Constants (3rd preview, with API changes), Primitive Type Patterns (5th preview, unchanged), Structured Concurrency (re-preview with changes), PEM Encoding API (3rd preview, several changes), and the Vector API entering its final incubator round before Valhalla integration in JDK 28.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://www.youtube.com/watch?v=1wCCeaZ6J8g>

## Questions this post answers

### What is the default garbage collector in Java 27?

G1GC becomes the globally default garbage collector in Java 27 under JEP 523. Previously, Serial GC was used by default in some resource-constrained environments, but that fallback is removed, making G1GC the default across all environments.

_Track JVM defaults like this before they change your production tuning, with daily.dev._

### Does Java 27 enable Compact Object Headers by default?

Yes, Compact Object Headers become enabled by default in JDK 27 through JEP 534. The feature was finalized as an opt-in option in JDK 25, and turning it on by default should noticeably reduce heap usage, CPU utilization, and garbage collection pressure.

_Follow JVM memory changes like this as you plan upgrades, with daily.dev._

### How does JFR redact sensitive data like passwords in Java 27?

JDK Flight Recorder (JFR) automatically redacts sensitive information such as passwords and API keys found in JVM arguments and environment variables by default, under JEP 536. Developers can customize this behavior using the -XX:FlightRecorderOptions sub-options redact-key and redact-argument to add their own filters.

_Keep up with JVM security defaults like this one via daily.dev._

## Similar posts on daily.dev

- [Java 27: What’s New?](https://daily.dev/posts/java-27-what-s-new--usmks8zda) · Foojay.io · 28 upvotes · 0 comments
- [JDK 27: The quiet before the storm](https://daily.dev/posts/jdk-27-the-quiet-before-the-storm-eixxzoapd) · InfoWorld · 2 upvotes · 0 comments

---

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

[View this post on daily.dev](https://daily.dev/posts/java-27-technically-within-2-minutes-boq3mwg4c)

```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 Technically Within 2 Minutes","url":"https://daily.dev/posts/java-27-technically-within-2-minutes-boq3mwg4c","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/java-27-technically-within-2-minutes-boq3mwg4c"},"datePublished":"2026-09-13T11:10:51.603Z","dateModified":"2026-09-14T06:41:19.233Z","description":"Java 27 ships Tuesday the 15th with 9 JEPs, four finalized: G1GC becomes the default garbage collector everywhere (replacing Serial GC in constrained...","image":"https://i.ytimg.com/vi/1wCCeaZ6J8g/sddefault.jpg","thumbnailUrl":"https://i.ytimg.com/vi/1wCCeaZ6J8g/sddefault.jpg","isAccessibleForFree":true,"articleSection":"Java (Official Oracle)","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":"Java (Official Oracle)","logo":"https://media.daily.dev/image/upload/s--SM9hIYUY--/f_auto,q_auto/v1773648791/logos/java-oracle?_a=BAMAMiiu0","url":"https://daily.dev/sources/java-oracle"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/java-27-technically-within-2-minutes-boq3mwg4c","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"java,quantum-computing,jvm","timeRequired":"PT2M","video":{"@type":"VideoObject","name":"Java 27 Technically Within 2 Minutes","description":"Java 27 ships Tuesday the 15th with 9 JEPs, four finalized: G1GC becomes the default garbage collector everywhere (replacing Serial GC in constrained...","thumbnailUrl":"https://i.ytimg.com/vi/1wCCeaZ6J8g/sddefault.jpg","uploadDate":"2026-09-13T11:10:51.603Z","duration":"PT2M","url":"https://api.daily.dev/r/BoQ3mwg4C","embedUrl":"https://www.youtube.com/embed/1wCCeaZ6J8g"}}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Java (Official Oracle)","item":"https://daily.dev/sources/java-oracle"},{"@type":"ListItem","position":3,"name":"Java 27 Technically Within 2 Minutes"}]}
{"@context":"https://schema.org","@type":"FAQPage","@id":"https://daily.dev/posts/java-27-technically-within-2-minutes-boq3mwg4c#faq","mainEntity":[{"@type":"Question","name":"What is the default garbage collector in Java 27?","acceptedAnswer":{"@type":"Answer","text":"G1GC becomes the globally default garbage collector in Java 27 under JEP 523. Previously, Serial GC was used by default in some resource-constrained environments, but that fallback is removed, making G1GC the default across all environments. Track JVM defaults like this before they change your production tuning, with daily.dev."}},{"@type":"Question","name":"Does Java 27 enable Compact Object Headers by default?","acceptedAnswer":{"@type":"Answer","text":"Yes, Compact Object Headers become enabled by default in JDK 27 through JEP 534. The feature was finalized as an opt-in option in JDK 25, and turning it on by default should noticeably reduce heap usage, CPU utilization, and garbage collection pressure. Follow JVM memory changes like this as you plan upgrades, with daily.dev."}},{"@type":"Question","name":"How does JFR redact sensitive data like passwords in Java 27?","acceptedAnswer":{"@type":"Answer","text":"JDK Flight Recorder (JFR) automatically redacts sensitive information such as passwords and API keys found in JVM arguments and environment variables by default, under JEP 536. Developers can customize this behavior using the -XX:FlightRecorderOptions sub-options redact-key and redact-argument to add their own filters. Keep up with JVM security defaults like this one via daily.dev."}}]}
```

