RFR (XS): JDK-8033990: Add message to verbose output to indicate when JVM was unable to use shared archive (with -Xshare:auto)

Mikhailo Seledtsov mikhailo.seledtsov at oracle.com
Fri Feb 7 13:55:44 PST 2014


     Please review this small change that improves testability of CDS, 
and will aid in fixing several intermittently failing CDS tests.

     JBS: https://jbs.oracle.com/bugs/browse/JDK-8033990
     Webrev: http://cr.openjdk.java.net/~mseledtsov/8033990/webrev.00/
     Testing:
         Basic testing:
             - ran "Xshare:auto -version", "-XX:+Verbose 
-XX:+PrintMiscellaneous -Xshare:auto -version" before and after the 
archive was created
             - ran "XX:+Verbose -XX:+PrintMiscellaneous -Xshare:auto 
-version" on Windows where ASLR occasionally prevents sharing

         JT-Reg: runtime/SharedArchiveFile, with and w/o the additional 
options -vmoptions:"-XX:+Verbose -XX:+PrintMiscellaneous"

         Tonga: a sub-set of vm.parallel_class_loading.testlist, with 
-Xshare:auto -XX:+Verbose -XX:+PrintMiscellaneous -showversion"
                      Tonga (vm.parallel_class_loading.testlist -vmopts 
" -Xshare:auto -XX:+Verbose -XX:+PrintMiscellaneous -showversion")
             - ongoing. Plan not to run full testlist since the change 
is small and trivial

         JPRT: standard JPRT: 2014-02-07-210345.mseledtsov.work01
             - ongoing

Thank you,
Misha


More information about the hotspot-runtime-dev mailing list