Integrated: 8254309: appcds GCDuringDump.java failed - class must exist
Yumin Qi
minqi at openjdk.java.net
Sat Oct 31 00:12:58 UTC 2020
On Fri, 30 Oct 2020 00:17:22 GMT, Yumin Qi <minqi at openjdk.org> wrote:
> Hi, Please review
> When CDS at dump time initializes archived heap, some classes are loaded. If at this time system runs out of memory the class will not be loaded. This is what we saw in this bug. The fix checks if OOM happened, if so we print out log and exit gracefully not causing a crash. Added a test case for testing purpose when exception/OOM happens during this stage. Also check during preload classes when OOM happens, exit vm with proper message.
>
> Tests: tier1-4
>
> Thanks
> Yumin
This pull request has now been integrated.
Changeset: 9d5c9cc7
Author: Yumin Qi <minqi at openjdk.org>
URL: https://git.openjdk.java.net/jdk/commit/9d5c9cc7
Stats: 160 lines in 8 files changed: 146 ins; 11 del; 3 mod
8254309: appcds GCDuringDump.java failed - class must exist
Reviewed-by: ccheung, iklam
-------------
PR: https://git.openjdk.java.net/jdk/pull/948
More information about the hotspot-dev
mailing list