Halloween DealsAmazon USHalloween week deals: useful picks before month-endAmazon US: current deals, useful picks and tech finds.Check DealsWindows FixRecommendedWindows errors stealing your time? Find the fix fastScan stability, cleanup and performance issues.Fix NowHalloween DealsAmazon USOctober picks are moving - compare before checkoutAmazon US: current deals, useful picks and tech finds.See Picks×
FREEDOM251

Freedom251 › Blog › Java

JDK 27 Is Here: What’s New, What’s Still in Preview, and What to Test

By Freedom251 Team · · 5 min read

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

JDK 27 became generally available on September 15, 2026, as build 27+35. Its nine JEPs combine continuing preview and incubator work with changes to TLS, garbage-collector defaults, object headers, and Java Flight Recorder. The “quiet before the storm” idea is best read as a metaphor for a release that advances several features through another round of development—not as evidence that a particular major feature is committed to the next release.

What’s new in JDK 27?

Oracle lists nine JEPs in JDK 27. Four are preview features and one is an incubating API; the other changes include security, runtime, and diagnostic updates. The release also updates its time-zone data to IANA version 2026b. The table distinguishes features you can evaluate as preview or incubator work from changes that affect runtime behavior or provide finalized functionality.

As an Amazon Associate I earn from qualifying purchases.

JEP Change Status in JDK 27 What it means
532 Primitive Types in Patterns, instanceof, and switch Fifth preview Extends pattern matching and allows primitive types in pattern contexts, instanceof, and switch.
531 Lazy Constants Third preview Adds an API for unmodifiable data the JVM can treat as true constants, while allowing more flexible initialization timing than final fields.
533 Structured Concurrency Seventh preview Treats related tasks running in different threads as one unit, aiming to simplify error handling, cancellation, reliability, and observability.
537 Vector API Twelfth incubator Provides an API for vector computations that can compile to supported CPU vector instructions.
527 Post-Quantum Hybrid Key Exchange for TLS 1.3 Included in the release Combines a quantum-resistant algorithm with a traditional algorithm for TLS 1.3. The release notes list X25519MLKEM768, SecP256r1MLKEM768, and SecP384r1MLKEM1024; X25519MLKEM768 heads the default named-groups list.
538 PEM Encodings of Cryptographic Objects Third preview Adds an API for encoding and decoding cryptographic keys, certificates, and certificate revocation lists using PEM.
523 Make G1 the Default Garbage Collector in All Environments Default behavior change G1 is selected when no collector is specified, including environments where the JVM previously selected Serial.
534 Compact Object Headers by Default Default behavior change Makes compact headers the HotSpot default object-header layout. Oracle states that on 64-bit architectures the header size falls from 96 bits to 64 bits.
536 JFR In-Process Data Redaction Included in the release Redacts command-line arguments and initial environment-variable and system-property values in recordings before data leaves the process.

Oracle’s JDK 27 Release Notes and Java 27 overview also describe security and cryptography updates, performance improvements for ML-KEM, ML-DSA, X25519, and Ed25519, the jcmd VM.security_properties diagnostic command, more visible file-descriptor counts in diagnostics, Foreign Function and Memory API execution-state initialization, and a Bash completion script for jcmd.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Which JDK 27 features are previews or incubating?

JDK 27’s continuing preview and incubator work is not equivalent to a permanent Java SE API. Previews are intended to gather developer feedback and can change or be removed. The Java SE 27 specification says preview functionality is disabled unless explicitly enabled both at compile time and at runtime. Class files that depend on preview features are tied to that Java SE release.

  • Preview features: primitive patterns and switch (JEP 532), Lazy Constants (JEP 531), Structured Concurrency (JEP 533), and PEM encodings (JEP 538).
  • Incubator API: Vector API (JEP 537).
  • Practical implication: use these features to evaluate their design and provide feedback, but avoid making preview syntax or APIs a stable cross-release dependency.

The Java SE 27 JVM specification draft describes the preview constraints. For language changes and migration notes, consult Oracle’s Java Language Changes Summary and Significant Changes in JDK 27.

What could affect an existing application?

TLS and cryptography

JEP 527 introduces hybrid key exchange for TLS 1.3, pairing a post-quantum algorithm with a traditional one. Oracle says applications using javax.net.ssl benefit by default without source-code changes. That is a security-related default worth checking in integration tests, especially where a service depends on TLS configuration, peers, or infrastructure with specific compatibility requirements. The JDK 27 release notes list the three named groups and their default ordering.

Garbage collection

With JEP 523, G1 becomes the default when an application does not explicitly select a collector, including cases where the JVM previously chose Serial. Oracle says performance metrics in those scenarios should not degrade significantly; this is a design expectation, not a guarantee for every workload. If you rely on the implicit default, test startup, memory use, pause behavior, and throughput under representative load rather than assuming the old collector remains selected.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Object layout and memory

JEP 534 makes compact object headers the HotSpot default. Oracle gives a header-size change from 96 bits to 64 bits on 64-bit architectures and describes intended benefits for heap size, deployment density, and data locality. Header size alone does not establish a universal application-level performance gain; use your own memory and workload measurements when assessing impact.

Flight Recorder privacy

JEP 536 redacts command-line arguments and initial values of environment variables and system properties in JFR recordings before those recordings leave the process. The release notes say default redaction can be configured with filters. They also document -XX:FlightRecorderOptions:redact-key=none,redact-argument=none to disable redaction. Disabling it changes the recording’s privacy behavior, so review who can access recordings and what sensitive values might be captured before using that option.

Class files and compatibility

The Java SE 27 JVM specification assigns class-file major version 71. This identifies the class-file version, but it does not by itself establish whether a particular application, library, build tool, or runtime configuration is compatible. Oracle’s migration guide separates source, binary, and behavioral compatibility and describes specific migration risks; check the relevant item for your stack rather than treating the whole release as categorically compatible or incompatible.

Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

Should you upgrade to Java 27?

For a production service, decide based on the features you use and the runtime changes you may inherit—not on the release number alone. A practical evaluation can separate opt-in experimentation from changed defaults:

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
  1. Inventory exposure. Identify whether your code uses preview or incubator APIs, depends on an implicit garbage-collector choice, records JFR data, or has TLS interoperability constraints.
  2. Check the migration notes. Review Oracle’s JDK 27 migration guide for source, binary, and behavioral compatibility issues relevant to your application.
  3. Test defaults and security behavior. Exercise TLS connections, collector behavior, object-memory profiles, and JFR handling with representative workloads and integrations.
  4. Keep preview use isolated. If you evaluate preview or incubator features, explicitly enable them as required and keep dependent code separate from stable cross-release interfaces.
  5. Promote only after validation. Compare application-level results and operational requirements with your current JDK before choosing a production rollout.

JDK 27 is not only a language-feature release: TLS key exchange, G1 selection, compact headers, and recording redaction can matter even to teams that do not adopt its previews. The release date and schedule are listed by Oracle and the JDK Releases schedule.

Is a bigger change coming after JDK 27?

The “quiet before the storm” framing captures an interpretation of JDK 27 as a period of iteration: several visible language and library efforts are still in preview or incubation, alongside concrete runtime and security changes. It does not establish that a particular larger feature is committed to the next release. A draft specification for value classes and objects discusses a value keyword, construction rules, equality, and synchronization behavior, but it is explicitly a draft subject to change—not proof that JDK 27 includes value classes or that a later release will deliver them. See the Value Classes and Objects draft specification for its current status.

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

JavaJava DevelopmentJDK 27OpenJDKsoftware updates

Leave a Reply

Your email address will not be published. Required fields are marked *

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Recommended PC Tool
Recommended PC Tool
Outdated Drivers Are Slowing You DownFree scan - exact matches
Windows Errors? Fix Them Before They SpreadFree repair scan

Two free Windows tools

One Free Minute Could Fix That PC

Before you go - each of these free tools takes about a minute and tackles what quietly slows a Windows PC down.

Special offer. View Outbyte info, uninstall instructions, EULA, and Privacy Policy.