RFR: 8266770: Clean pending exception before running dynamic CDS dump

Calvin Cheung ccheung at openjdk.java.net
Tue May 11 16:35:53 UTC 2021


On Tue, 11 May 2021 14:39:33 GMT, Yumin Qi <minqi at openjdk.org> wrote:

> Hi, 
>   The change is simple for reorder the exception cleaning in JavaThread::invoke_shutdown_hooks:
>    We should clean the pending exception before calling into  MetaspaceShared::link_and_cleanup_shared_classes at dynamic dump, or it will cause it fail.
> 
>    Tests: tier1,tier2,tier3,tier4
> 
>   Thanks
>   Yumin

LGTM.

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

Marked as reviewed by ccheung (Reviewer).

PR: https://git.openjdk.java.net/jdk/pull/3978


More information about the hotspot-runtime-dev mailing list