RFR: 8303422: Use common functions to exit the VM for -Xshare:dump and CDS errors [v6]
    Matias Saavedra Silva 
    matsaave at openjdk.org
       
    Mon Apr 17 15:13:29 UTC 2023
    
    
  
> Currently, we have ad-hoc calls to os::_exit(0), vm_exit_during_initialization() and vm_direct_exit() in cases where there are dumptime or runtime errors for CDS. This patch introduces intuitively named methods for exiting the VM when there are dumptime/runtime errors and when dumping is finished. Verified with tier 1-4 tests.
Matias Saavedra Silva has updated the pull request incrementally with one additional commit since the last revision:
  Added extra log
-------------
Changes:
  - all: https://git.openjdk.org/jdk/pull/13463/files
  - new: https://git.openjdk.org/jdk/pull/13463/files/2cf19cee..756a955e
Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=13463&range=05
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=13463&range=04-05
  Stats: 1 line in 1 file changed: 1 ins; 0 del; 0 mod
  Patch: https://git.openjdk.org/jdk/pull/13463.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/13463/head:pull/13463
PR: https://git.openjdk.org/jdk/pull/13463
    
    
More information about the hotspot-runtime-dev
mailing list