Integrated: 8339587: runtime/reflect/ReflectOutOfMemoryError.java fails with "bootstrap method initialization exception"
David Holmes
dholmes at openjdk.org
Tue Sep 10 08:25:15 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.
This pull request has now been integrated.
Changeset: 64de7813
Author: David Holmes <dholmes at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/64de7813e4403f669fe9c02eabb204802f131367
Stats: 17 lines in 1 file changed: 9 ins; 0 del; 8 mod
8339587: runtime/reflect/ReflectOutOfMemoryError.java fails with "bootstrap method initialization exception"
Reviewed-by: lmesnik, ccheung
-------------
PR: https://git.openjdk.org/jdk/pull/20881
More information about the hotspot-runtime-dev
mailing list