Skip to content

Alibaba Dragonwell 21 Extended Edition Release Notes

Yude Lin edited this page Dec 13, 2024 · 4 revisions

21.0.5.0.5+9

openjdk version "21.0.5.0.5" 2024-10-15
OpenJDK Runtime Environment (Alibaba Dragonwell Extended Edition)-21.0.5.0.5+9-GA (build 21.0.5.0.5)
OpenJDK 64-Bit Server VM (Alibaba Dragonwell Extended Edition)-21.0.5.0.5+9-GA (build 21.0.5.0.5, mixed mode, sharing)

Feature

Backport

Compiler

  • 8329332,8329433,8331087: Reduce nmethod size in CodeCache
  • 8339063: For SVE architecture that only supports 128 bit, there is no need to verify whether the native call modifies the Vector Length of the current process.
  • 8333334: Make result of Node::dominates more precise to enhance scalar replacement.

Lilliput

  • 8318015, 8319778, 8319773, 8324881: Fix inflation-related bugs in LM_LIGHTWEIGHT locking mode, which is used by UseCompactObjectHeaders
  • 8319796, 8329091, 8329757: Don't always inflate LM_LIGHTWEIGHT monitors upon reentrant locking, reducing GC pauses for deflation
  • 8340906: Generate CDS archive for UseCompactObjectHeaders

Runtime

  • 8322149: ConcurrentHashMap smarter presizing for copy constructor and putAll

Commit logs

summary cr
[Misc] Update version Issue#1
[Lilliput] Test fix for EATests after backport Issue#132
[Lilliput] Fix CDSPluginTest.java jlink not using COH Issue#128
[JIT] Backport changes to reduce nmethod size in code cache Issue#88
[Backport] 8339063: [aarch64] Skip verify_sve_vector_length after native calls if SVE supports 128 bits VL only Issue#106
[Backport] 8333334: C2: Make result of Node::dominates more precise to enhance scalar replacement Issue#104
[Backport] 8322149: ConcurrentHashMap smarter presizing for copy constructor and putAll Issue#101
[Misc] Add make.sh Issue#99
[Misc] Add globals_ext.hpp for Dragonwell specific flags Issue#93

21.0.4.0.4+7

openjdk version "21.0.4.0.4" 2024-07-16
OpenJDK Runtime Environment (Alibaba Dragonwell Extended Edition)-21.0.4.0.4+7-GA (build 21.0.4.0.4)
OpenJDK 64-Bit Server VM (Alibaba Dragonwell Extended Edition)-21.0.4.0.4+7-GA (build 21.0.4.0.4, mixed mode, sharing)

Feature

Backport

Runtime

  • Port fast serialization from Dragonwell11 to improve java serialization performance. Default disabled, use -Dcom.alibaba.enableFastSerialization=true to open
  • 8333462: Performance regression of new DecimalFormat() when compare to jdk11

Lilliput

  • 8316126: Backport the -XX:+CompactObjectHeaders (Lilliput) feature, which let each object use a compact 64-bit word as its header (otherwise there will be more than 1), in order to reduce memory footprint and GC frequency.
  • 8315046: Prerequisite of Lilliput: Full GC now uses a different scheme to store and retrieve forwarding pointers. This is automatically enabled only when Lilliput is enabled.
  • 8139457: Prerequisite of Lilliput: Relax the alignment requirement of the first element of an array, which used to be 8-byte. This is enabled regardless of Lilliput.

Compiler

  • 8300148: Using store store barrier instead of store release barrier at the end of "init methods" that write final fields.
  • 8307352: Improve performance of itable_stub on AArch64

GC

  • Add option -XX:+G1BarrierSimple (off by default), which reduces the number of conditional branches in G1 barriers, increases the opportunity for compiler optimization, and increases throughput, at the cost of moderately extra pause time

Commit logs

summary cr
[Misc] Update version Issue#1
[Misc] Fast serialization (#87) Issue#76
[Backport] Lilliput test fixes and conditional option enabling Issue#91
[Backport] 8333396: Use StringBuilder internally for java.text.Format.* formatting Issue#83
[Backport] 8333462: Performance regression of new DecimalFormat() when compare to jdk11 Issue#79
[Backport] 8316126: [Lilliput/JDK21] Cherry-pick: 8305895: Implementation: JEP 450: Compact Object Headers Issue#75
[Backport] 8315046: [Lilliput/JDK21] Cherry-pick: 8305896: Alternative Issue#69
[Backport] 8139457: Relax alignment of array elements Issue#68
[GC] Add option G1BarrierSimple to use simple g1 post barrier Issue#56
[Misc] Fix the workflow for building riscv Issue#65
[Misc] Support GHA re-run failed jobs Issue#61
[Misc] Add commit message check Issue#57
[Backport] 8300148: Consider using a StoreStore barrier instead of Release barrier on ctor exit Issue#97
[Backport] 8307352: AARCH64: Improve itable_stub Issue#96
[Misc] Add version.txt Issue#1