RFR: 8339587: runtime/reflect/ReflectOutOfMemoryError.java fails with "bootstrap method initialization exception"
Leonid Mesnik
lmesnik at openjdk.org
Mon Sep 9 22:14:03 UTC 2024
On Fri, 6 Sep 2024 04:18:18 GMT, David Holmes <dholmes at openjdk.org> wrote:
> 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.
Marked as reviewed by lmesnik (Reviewer).
Please update copyrights.
-------------
PR Review: https://git.openjdk.org/jdk/pull/20881#pullrequestreview-2291041998
Marked as reviewed by lmesnik (Reviewer).
PR Review: https://git.openjdk.org/jdk/pull/20881#pullrequestreview-2291042612
More information about the hotspot-runtime-dev
mailing list