[lworld] RFR: 8336829: [lworld] serviceability/jvmti/RedefineClasses/RedefineLeakThrowable.java gets Metaspace OOM

Coleen Phillimore coleenp at openjdk.org
Mon Jul 22 15:58:17 UTC 2024


Run all versions of this test with -Xmx23m so that if CDS is off, the InMemoryCompiler will load without a Metaspace OOM.  Also add a test to verify that new metadata created by inline/value classes are reclaimed, which I verified in gdb.  Zeroed deallocated fields to help with manual verification.
Tested with jtreg/serviceability/jvmti/RedefineClasses tests.

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

Commit messages:
 - 8336829: [lworld] serviceability/jvmti/RedefineClasses/RedefineLeakThrowable.java gets Metaspace OOM

Changes: https://git.openjdk.org/valhalla/pull/1174/files
  Webrev: https://webrevs.openjdk.org/?repo=valhalla&pr=1174&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8336829
  Stats: 95 lines in 4 files changed: 78 ins; 14 del; 3 mod
  Patch: https://git.openjdk.org/valhalla/pull/1174.diff
  Fetch: git fetch https://git.openjdk.org/valhalla.git pull/1174/head:pull/1174

PR: https://git.openjdk.org/valhalla/pull/1174


More information about the valhalla-dev mailing list