RFR: 8361451: Test vmTestbase/metaspace/stressHierarchy/stressHierarchy012/TestDescription.java fails with OutOfMemoryError: Metaspace
Coleen Phillimore
coleenp at openjdk.org
Mon Oct 20 20:59:36 UTC 2025
This adds a catch clause for InvocationTargetException that can happen for OOM while invoking MethodHandles code. Thanks to @iklam for diagnosis and fix.
Tested with the test 100x.
-------------
Commit messages:
- 8361451: Test vmTestbase/metaspace/stressHierarchy/stressHierarchy012/TestDescription.java fails with OutOfMemoryError: Metaspace
Changes: https://git.openjdk.org/jdk/pull/27907/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=27907&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8361451
Stats: 10 lines in 1 file changed: 8 ins; 0 del; 2 mod
Patch: https://git.openjdk.org/jdk/pull/27907.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/27907/head:pull/27907
PR: https://git.openjdk.org/jdk/pull/27907
More information about the hotspot-dev
mailing list