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

Yumin Qi minqi at openjdk.java.net
Tue May 11 14:47:40 UTC 2021


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

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

Commit messages:
 - 8266770: Clean pending exception before running dynamic CDS dump

Changes: https://git.openjdk.java.net/jdk/pull/3978/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=3978&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8266770
  Stats: 12 lines in 1 file changed: 7 ins; 5 del; 0 mod
  Patch: https://git.openjdk.java.net/jdk/pull/3978.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/3978/head:pull/3978

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


More information about the hotspot-runtime-dev mailing list