# JDK 27 G1/Parallel/Serial GC changes

DevFeed: [JDK 27 G1/Parallel/Serial GC changes](<https://devfeed.tech/articles/jdk-27-g1-parallel-serial-gc-changes-107427.md>)

Original publisher: [Read original article](<https://inside.java/2026/10/30/jdk27-gc-changes/>)

Author: Thomas Schatzl

Published: 2026-10-30T00:00:00Z

Content type: article

Language: en

Sources: [Inside Java](<https://devfeed.tech/sources/inside-java.md>)

Topics: [openjdk](<https://devfeed.tech/topics/openjdk.md>), [JDK Flight Recorder](<https://devfeed.tech/topics/jdk-flight-recorder.md>), [JEP-401](<https://devfeed.tech/topics/jep-401.md>)

Tags: [g1](<https://devfeed.tech/tags/g1.md>), [garbage-collectors](<https://devfeed.tech/tags/garbage-collectors.md>), [gc](<https://devfeed.tech/tags/gc.md>), [jdk-27](<https://devfeed.tech/tags/jdk-27.md>), [parallel](<https://devfeed.tech/tags/parallel.md>), [serial](<https://devfeed.tech/tags/serial.md>)

## AI overview

JDK 27 makes G1 the default garbage collector across environments; Serial GC remains selectable with `-XX:+UseSerialGC`, and the excerpt notes that G1 is not best for every application. G1 changes also remove heap resizing after Full GC based on the default MinHeapFreeRatio and MaxHeapFreeRatio values, improve adaptive concurrent-marking behavior, and fix reclaiming some humongous objects held alive by weak references. Parallel GC can now lower its adaptive tenuring threshold and expand the heap after repeated large allocations cause Full GCs. Across collectors, TLAB sizing better handles many short-lived, lightly allocating threads, and string-deduplication logs and JFR events improve. The excerpt says there were no notable Serial-specific changes beyond its reduced default use; about half of the roughly 350 GC changes were refactorings and cleanups, and another 35% were fixes and robustness work.

## Source excerpt

Now that the JDK 27 has been released, I thought it would be time to discuss interesting changes in OpenJDK's stop-the-world collectors in the HotSpot VM once more.