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

Calvin Cheung ccheung at openjdk.org
Tue Sep 10 00:54:04 UTC 2024


On Mon, 9 Sep 2024 23:17:35 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.
>
> David Holmes has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Update copyright

Looks good.

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

Marked as reviewed by ccheung (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/20881#pullrequestreview-2291173198


More information about the hotspot-runtime-dev mailing list