RFR: 8254309: appcds GCDuringDump.java failed - class must exist [v2]
Yumin Qi
minqi at openjdk.java.net
Fri Oct 30 19:02:09 UTC 2020
> 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
Yumin Qi has updated the pull request incrementally with one additional commit since the last revision:
Revise as review comment, add MaxHeapSize in exit message
-------------
Changes:
- all: https://git.openjdk.java.net/jdk/pull/948/files
- new: https://git.openjdk.java.net/jdk/pull/948/files/60d69366..133668e1
Webrevs:
- full: https://webrevs.openjdk.java.net/?repo=jdk&pr=948&range=01
- incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=948&range=00-01
Stats: 3 lines in 3 files changed: 0 ins; 0 del; 3 mod
Patch: https://git.openjdk.java.net/jdk/pull/948.diff
Fetch: git fetch https://git.openjdk.java.net/jdk pull/948/head:pull/948
PR: https://git.openjdk.java.net/jdk/pull/948
More information about the hotspot-dev
mailing list