[jdk21u-dev] RFR: 8310264: In PhaseChaitin::Split defs and phis are leaked

Satyen Subramaniam ssubramaniam at openjdk.org
Sat Aug 2 00:32:14 UTC 2025


Backporting JDK-8311076: RedefineClasses doesn't check for ConstantPool overflow. The fix adds check that merged constant pool does not overflow u2 (two-byte unsigned). Ran GHA Sanity Checks, local Tier 1 and 2 and the tests below (1) from original PR. Patch is clean. 

(1)
* `test/jdk/java/lang/instrument`
* `test/hotspot/jtreg/serviceability/jvmti/RedefineClasses`
* `test/hotspot/jtreg/vmTestbase/nsk/jvmti/RedefineClasses`
* `test/hotspot/jtreg/vmTestbase/nsk/jvmti/RetransformClasses`

-------------

Commit messages:
 - Backport 02b17d793bfcea611c654049c9ab680b70fb5685

Changes: https://git.openjdk.org/jdk21u-dev/pull/2030/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk21u-dev&pr=2030&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8310264
  Stats: 22 lines in 1 file changed: 6 ins; 4 del; 12 mod
  Patch: https://git.openjdk.org/jdk21u-dev/pull/2030.diff
  Fetch: git fetch https://git.openjdk.org/jdk21u-dev.git pull/2030/head:pull/2030

PR: https://git.openjdk.org/jdk21u-dev/pull/2030


More information about the jdk-updates-dev mailing list