RFR: 8361451: Test vmTestbase/metaspace/stressHierarchy/stressHierarchy012/TestDescription.java fails with OutOfMemoryError: Metaspace [v2]

Coleen Phillimore coleenp at openjdk.org
Tue Oct 21 13:57:27 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.

Coleen Phillimore has updated the pull request incrementally with one additional commit since the last revision:

  Fix cut/paste errors.

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/27907/files
  - new: https://git.openjdk.org/jdk/pull/27907/files/8473e2c0..a392b95c

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=27907&range=01
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=27907&range=00-01

  Stats: 3 lines in 1 file changed: 1 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