RFR: 8339587: runtime/reflect/ReflectOutOfMemoryError.java fails with "bootstrap method initialization exception" [v2]

David Holmes dholmes at openjdk.org
Mon Sep 9 23:17:35 UTC 2024


> Please review this simple test fix. The test provokes OOME but it was sometimes getting encountered in a context that led to a secondary exception - like the "bootstrap method initialization exception". The fix is to check the chain of exceptions to see if OOME was the cause.
> 
> Testing:
>  - test itself 5x on each platform
>  - manual testing with use of ParallelGC and disabling compressed oops as per the bug report.
> 
> Thanks.

David Holmes has updated the pull request incrementally with one additional commit since the last revision:

  Update copyright

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/20881/files
  - new: https://git.openjdk.org/jdk/pull/20881/files/3119d823..0989c541

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

  Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod
  Patch: https://git.openjdk.org/jdk/pull/20881.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/20881/head:pull/20881

PR: https://git.openjdk.org/jdk/pull/20881


More information about the hotspot-runtime-dev mailing list