#Test Results (version 2)
#Wed Jun 17 15:29:03 PDT 2015
#checksum:4c22f48db6bb5f53
#-----testdescription-----
$file=C\:\\tmp\\sharedArchive-Win-8098815\\test\\hotspot\\test\\closed\\runtime\\AppCDS\\VerifierTest.java
$root=C\:\\tmp\\sharedArchive-Win-8098815\\test\\hotspot\\test
keywords=othervm
library=/testlibrary
maxTimeout=3600
modules=jdk.jartool/sun.tools.jar
requires=(vm.opt.UseCompressedOops \=\= null) | (vm.opt.UseCompressedOops \=\= true)
run=USER_SPECIFIED compile test-classes/Greet.java\r\nUSER_SPECIFIED compile test-classes/Hi.java\r\nUSER_SPECIFIED compile test-classes/VerifierTest0.java\r\nUSER_SPECIFIED build TestCommon JarBuilder\r\nUSER_SPECIFIED main/othervm/timeout\=3600 VerifierTest\r\n
source=VerifierTest.java
title=Unverfiable app classes should not be archived.

#-----environment-----

#-----testresult-----
description=file\:/C\:/tmp/sharedArchive-Win-8098815/test/hotspot/test/closed/runtime/AppCDS/VerifierTest.java
elapsed=45287 0\:00\:45.287
end=Wed Jun 17 15\:29\:03 PDT 2015
environment=regtest
execStatus=Passed. Execution successful
hostname=MSELEDTS-T430.oradev.oraclecorp.com
javatestOS=Windows 7 6.1 (amd64)
javatestVersion=4.4
jtregVersion=jtreg 4.1 fcs b11
script=com.sun.javatest.regtest.RegressionScript 
sections=script_messages compile compile compile build build compile main
start=Wed Jun 17 15\:28\:17 PDT 2015
test=closed/runtime/AppCDS/VerifierTest.java
user.name=mseledts
work=C\:\\tmp\\sharedArchive-Win-8098815\\resultsWithFlags\\JTwork\\closed\\runtime\\AppCDS

#section:script_messages
----------messages:(5/303)*----------
JDK under test: (C:\\tmp\\sharedArchive-Win-8098815\\jdk)
java version "1.9.0-internal-fastdebug"
Java(TM) SE Runtime Environment (build 1.9.0-internal-fastdebug-20150617172159.trbenson.hs-rt-b00)
Java HotSpot(TM) 64-Bit Server VM (build 1.9.0-internal-20150617172159.trbenson.hs-rt-b00, mixed mode)


#section:compile
----------messages:(3/225)*----------
command: compile C:\\tmp\\sharedArchive-Win-8098815\\test\\hotspot\\test\\closed\\runtime\\AppCDS\\test-classes\\Greet.java
reason: User specified action: run compile test-classes/Greet.java 
elapsed time (seconds): 4.073
----------rerun:(25/2736)*----------
PATH='C:\\ProgramData\\Oracle\\Java\\javapath;C:\\windows\\system32;C:\\windows;C:\\windows\\System32\\Wbem;C:\\windows\\System32\\WindowsPowerShell\\v1.0\\;C:\\Program Files\\TortoiseHg\\;C:\\Program Files (x86)\\Windows Kits\\8.0\\Windows Performance Toolkit\\;C:\\Program Files\\Microsoft SQL Server\\110\\Tools\\Binn\\;C:\\Program Files\\Microsoft Windows Performance Toolkit\\;C:\\Program Files (x86)\\Skype\\Phone\\' \\
SystemDrive=C: \\
SystemRoot='C:\\windows' \\
TEMP='C:\\Users\\mseledts\\AppData\\Local\\Temp' \\
TMP='C:\\Users\\mseledts\\AppData\\Local\\Temp' \\
windir='C:\\windows' \\
    'C:\\tmp\\sharedArchive-Win-8098815\\jdk\\bin\\javac' \\
        -J-server \\
        -J-Xmixed \\
        -J-XX:MaxRAMFraction=8 \\
        -J-XX:+CreateCoredumpOnCrash \\
        -J-XX:+UseG1GC \\
        -J-XX:MaxRAMFraction=8 \\
        -J-Dtest.src='C:\\tmp\\sharedArchive-Win-8098815\\test\\hotspot\\test\\closed\\runtime\\AppCDS' \\
        -J-Dtest.src.path='C:\\tmp\\sharedArchive-Win-8098815\\test\\hotspot\\test\\closed\\runtime\\AppCDS;C:\\tmp\\sharedArchive-Win-8098815\\test\\hotspot\\test\\testlibrary' \\
        -J-Dtest.classes='C:\\tmp\\sharedArchive-Win-8098815\\resultsWithFlags\\JTwork\\classes\\closed\\runtime\\AppCDS' \\
        -J-Dtest.class.path='C:\\tmp\\sharedArchive-Win-8098815\\resultsWithFlags\\JTwork\\classes\\closed\\runtime\\AppCDS;C:\\tmp\\sharedArchive-Win-8098815\\resultsWithFlags\\JTwork\\classes\\testlibrary' \\
        -J-Dtest.vm.opts='-server -Xmixed -XX:MaxRAMFraction=8 -XX:+CreateCoredumpOnCrash -XX:+UseG1GC -XX:MaxRAMFraction=8' \\
        -J-Dtest.tool.vm.opts='-J-server -J-Xmixed -J-XX:MaxRAMFraction=8 -J-XX:+CreateCoredumpOnCrash -J-XX:+UseG1GC -J-XX:MaxRAMFraction=8' \\
        -J-Dtest.compiler.opts= \\
        -J-Dtest.java.opts= \\
        -J-Dtest.jdk='C:\\tmp\\sharedArchive-Win-8098815\\jdk' \\
        -J-Dcompile.jdk='C:\\tmp\\sharedArchive-Win-8098815\\jdk' \\
        -J-Dtest.timeout.factor=1.0 \\
        -d 'C:\\tmp\\sharedArchive-Win-8098815\\resultsWithFlags\\JTwork\\classes\\closed\\runtime\\AppCDS' -classpath 'C:\\tools\\jtreg\\latest\\lib\\javatest.jar;C:\\tools\\jtreg\\latest\\lib\\jtreg.jar;C:\\tmp\\sharedArchive-Win-8098815\\resultsWithFlags\\JTwork\\classes\\closed\\runtime\\AppCDS;C:\\tmp\\sharedArchive-Win-8098815\\test\\hotspot\\test\\closed\\runtime\\AppCDS;C:\\tmp\\sharedArchive-Win-8098815\\resultsWithFlags\\JTwork\\classes\\testlibrary' -sourcepath 'C:\\tmp\\sharedArchive-Win-8098815\\test\\hotspot\\test\\closed\\runtime\\AppCDS;C:\\tmp\\sharedArchive-Win-8098815\\test\\hotspot\\test\\testlibrary' 'C:\\tmp\\sharedArchive-Win-8098815\\test\\hotspot\\test\\closed\\runtime\\AppCDS\\test-classes\\Greet.java'
----------System.out:(0/0)----------
----------System.err:(0/0)----------
result: Passed. Compilation successful

#section:compile
----------messages:(3/219)*----------
command: compile C:\\tmp\\sharedArchive-Win-8098815\\test\\hotspot\\test\\closed\\runtime\\AppCDS\\test-classes\\Hi.java
reason: User specified action: run compile test-classes/Hi.java 
elapsed time (seconds): 3.609
----------rerun:(25/2733)*----------
PATH='C:\\ProgramData\\Oracle\\Java\\javapath;C:\\windows\\system32;C:\\windows;C:\\windows\\System32\\Wbem;C:\\windows\\System32\\WindowsPowerShell\\v1.0\\;C:\\Program Files\\TortoiseHg\\;C:\\Program Files (x86)\\Windows Kits\\8.0\\Windows Performance Toolkit\\;C:\\Program Files\\Microsoft SQL Server\\110\\Tools\\Binn\\;C:\\Program Files\\Microsoft Windows Performance Toolkit\\;C:\\Program Files (x86)\\Skype\\Phone\\' \\
SystemDrive=C: \\
SystemRoot='C:\\windows' \\
TEMP='C:\\Users\\mseledts\\AppData\\Local\\Temp' \\
TMP='C:\\Users\\mseledts\\AppData\\Local\\Temp' \\
windir='C:\\windows' \\
    'C:\\tmp\\sharedArchive-Win-8098815\\jdk\\bin\\javac' \\
        -J-server \\
        -J-Xmixed \\
        -J-XX:MaxRAMFraction=8 \\
        -J-XX:+CreateCoredumpOnCrash \\
        -J-XX:+UseG1GC \\
        -J-XX:MaxRAMFraction=8 \\
        -J-Dtest.src='C:\\tmp\\sharedArchive-Win-8098815\\test\\hotspot\\test\\closed\\runtime\\AppCDS' \\
        -J-Dtest.src.path='C:\\tmp\\sharedArchive-Win-8098815\\test\\hotspot\\test\\closed\\runtime\\AppCDS;C:\\tmp\\sharedArchive-Win-8098815\\test\\hotspot\\test\\testlibrary' \\
        -J-Dtest.classes='C:\\tmp\\sharedArchive-Win-8098815\\resultsWithFlags\\JTwork\\classes\\closed\\runtime\\AppCDS' \\
        -J-Dtest.class.path='C:\\tmp\\sharedArchive-Win-8098815\\resultsWithFlags\\JTwork\\classes\\closed\\runtime\\AppCDS;C:\\tmp\\sharedArchive-Win-8098815\\resultsWithFlags\\JTwork\\classes\\testlibrary' \\
        -J-Dtest.vm.opts='-server -Xmixed -XX:MaxRAMFraction=8 -XX:+CreateCoredumpOnCrash -XX:+UseG1GC -XX:MaxRAMFraction=8' \\
        -J-Dtest.tool.vm.opts='-J-server -J-Xmixed -J-XX:MaxRAMFraction=8 -J-XX:+CreateCoredumpOnCrash -J-XX:+UseG1GC -J-XX:MaxRAMFraction=8' \\
        -J-Dtest.compiler.opts= \\
        -J-Dtest.java.opts= \\
        -J-Dtest.jdk='C:\\tmp\\sharedArchive-Win-8098815\\jdk' \\
        -J-Dcompile.jdk='C:\\tmp\\sharedArchive-Win-8098815\\jdk' \\
        -J-Dtest.timeout.factor=1.0 \\
        -d 'C:\\tmp\\sharedArchive-Win-8098815\\resultsWithFlags\\JTwork\\classes\\closed\\runtime\\AppCDS' -classpath 'C:\\tools\\jtreg\\latest\\lib\\javatest.jar;C:\\tools\\jtreg\\latest\\lib\\jtreg.jar;C:\\tmp\\sharedArchive-Win-8098815\\resultsWithFlags\\JTwork\\classes\\closed\\runtime\\AppCDS;C:\\tmp\\sharedArchive-Win-8098815\\test\\hotspot\\test\\closed\\runtime\\AppCDS;C:\\tmp\\sharedArchive-Win-8098815\\resultsWithFlags\\JTwork\\classes\\testlibrary' -sourcepath 'C:\\tmp\\sharedArchive-Win-8098815\\test\\hotspot\\test\\closed\\runtime\\AppCDS;C:\\tmp\\sharedArchive-Win-8098815\\test\\hotspot\\test\\testlibrary' 'C:\\tmp\\sharedArchive-Win-8098815\\test\\hotspot\\test\\closed\\runtime\\AppCDS\\test-classes\\Hi.java'
----------System.out:(0/0)----------
----------System.err:(0/0)----------
result: Passed. Compilation successful

#section:compile
----------messages:(3/241)*----------
command: compile C:\\tmp\\sharedArchive-Win-8098815\\test\\hotspot\\test\\closed\\runtime\\AppCDS\\test-classes\\VerifierTest0.java
reason: User specified action: run compile test-classes/VerifierTest0.java 
elapsed time (seconds): 4.236
----------rerun:(25/2744)*----------
PATH='C:\\ProgramData\\Oracle\\Java\\javapath;C:\\windows\\system32;C:\\windows;C:\\windows\\System32\\Wbem;C:\\windows\\System32\\WindowsPowerShell\\v1.0\\;C:\\Program Files\\TortoiseHg\\;C:\\Program Files (x86)\\Windows Kits\\8.0\\Windows Performance Toolkit\\;C:\\Program Files\\Microsoft SQL Server\\110\\Tools\\Binn\\;C:\\Program Files\\Microsoft Windows Performance Toolkit\\;C:\\Program Files (x86)\\Skype\\Phone\\' \\
SystemDrive=C: \\
SystemRoot='C:\\windows' \\
TEMP='C:\\Users\\mseledts\\AppData\\Local\\Temp' \\
TMP='C:\\Users\\mseledts\\AppData\\Local\\Temp' \\
windir='C:\\windows' \\
    'C:\\tmp\\sharedArchive-Win-8098815\\jdk\\bin\\javac' \\
        -J-server \\
        -J-Xmixed \\
        -J-XX:MaxRAMFraction=8 \\
        -J-XX:+CreateCoredumpOnCrash \\
        -J-XX:+UseG1GC \\
        -J-XX:MaxRAMFraction=8 \\
        -J-Dtest.src='C:\\tmp\\sharedArchive-Win-8098815\\test\\hotspot\\test\\closed\\runtime\\AppCDS' \\
        -J-Dtest.src.path='C:\\tmp\\sharedArchive-Win-8098815\\test\\hotspot\\test\\closed\\runtime\\AppCDS;C:\\tmp\\sharedArchive-Win-8098815\\test\\hotspot\\test\\testlibrary' \\
        -J-Dtest.classes='C:\\tmp\\sharedArchive-Win-8098815\\resultsWithFlags\\JTwork\\classes\\closed\\runtime\\AppCDS' \\
        -J-Dtest.class.path='C:\\tmp\\sharedArchive-Win-8098815\\resultsWithFlags\\JTwork\\classes\\closed\\runtime\\AppCDS;C:\\tmp\\sharedArchive-Win-8098815\\resultsWithFlags\\JTwork\\classes\\testlibrary' \\
        -J-Dtest.vm.opts='-server -Xmixed -XX:MaxRAMFraction=8 -XX:+CreateCoredumpOnCrash -XX:+UseG1GC -XX:MaxRAMFraction=8' \\
        -J-Dtest.tool.vm.opts='-J-server -J-Xmixed -J-XX:MaxRAMFraction=8 -J-XX:+CreateCoredumpOnCrash -J-XX:+UseG1GC -J-XX:MaxRAMFraction=8' \\
        -J-Dtest.compiler.opts= \\
        -J-Dtest.java.opts= \\
        -J-Dtest.jdk='C:\\tmp\\sharedArchive-Win-8098815\\jdk' \\
        -J-Dcompile.jdk='C:\\tmp\\sharedArchive-Win-8098815\\jdk' \\
        -J-Dtest.timeout.factor=1.0 \\
        -d 'C:\\tmp\\sharedArchive-Win-8098815\\resultsWithFlags\\JTwork\\classes\\closed\\runtime\\AppCDS' -classpath 'C:\\tools\\jtreg\\latest\\lib\\javatest.jar;C:\\tools\\jtreg\\latest\\lib\\jtreg.jar;C:\\tmp\\sharedArchive-Win-8098815\\resultsWithFlags\\JTwork\\classes\\closed\\runtime\\AppCDS;C:\\tmp\\sharedArchive-Win-8098815\\test\\hotspot\\test\\closed\\runtime\\AppCDS;C:\\tmp\\sharedArchive-Win-8098815\\resultsWithFlags\\JTwork\\classes\\testlibrary' -sourcepath 'C:\\tmp\\sharedArchive-Win-8098815\\test\\hotspot\\test\\closed\\runtime\\AppCDS;C:\\tmp\\sharedArchive-Win-8098815\\test\\hotspot\\test\\testlibrary' 'C:\\tmp\\sharedArchive-Win-8098815\\test\\hotspot\\test\\closed\\runtime\\AppCDS\\test-classes\\VerifierTest0.java'
----------System.out:(0/0)----------
----------System.err:(0/0)----------
result: Passed. Compilation successful

#section:build
----------messages:(3/134)----------
command: build TestCommon JarBuilder
reason: User specified action: run build TestCommon JarBuilder 
elapsed time (seconds): 0.001
result: Passed. All files up to date

#section:build
----------messages:(3/100)----------
command: build VerifierTest
reason: Named class compiled on demand
elapsed time (seconds): 4.759
result: Passed. Build successful

#section:compile
----------messages:(3/227)*----------
command: compile -XDignore.symbol.file=true C:\\tmp\\sharedArchive-Win-8098815\\test\\hotspot\\test\\closed\\runtime\\AppCDS\\VerifierTest.java
reason: .class file out of date or does not exist
elapsed time (seconds): 4.759
----------rerun:(25/2756)*----------
PATH='C:\\ProgramData\\Oracle\\Java\\javapath;C:\\windows\\system32;C:\\windows;C:\\windows\\System32\\Wbem;C:\\windows\\System32\\WindowsPowerShell\\v1.0\\;C:\\Program Files\\TortoiseHg\\;C:\\Program Files (x86)\\Windows Kits\\8.0\\Windows Performance Toolkit\\;C:\\Program Files\\Microsoft SQL Server\\110\\Tools\\Binn\\;C:\\Program Files\\Microsoft Windows Performance Toolkit\\;C:\\Program Files (x86)\\Skype\\Phone\\' \\
SystemDrive=C: \\
SystemRoot='C:\\windows' \\
TEMP='C:\\Users\\mseledts\\AppData\\Local\\Temp' \\
TMP='C:\\Users\\mseledts\\AppData\\Local\\Temp' \\
windir='C:\\windows' \\
    'C:\\tmp\\sharedArchive-Win-8098815\\jdk\\bin\\javac' \\
        -J-server \\
        -J-Xmixed \\
        -J-XX:MaxRAMFraction=8 \\
        -J-XX:+CreateCoredumpOnCrash \\
        -J-XX:+UseG1GC \\
        -J-XX:MaxRAMFraction=8 \\
        -J-Dtest.src='C:\\tmp\\sharedArchive-Win-8098815\\test\\hotspot\\test\\closed\\runtime\\AppCDS' \\
        -J-Dtest.src.path='C:\\tmp\\sharedArchive-Win-8098815\\test\\hotspot\\test\\closed\\runtime\\AppCDS;C:\\tmp\\sharedArchive-Win-8098815\\test\\hotspot\\test\\testlibrary' \\
        -J-Dtest.classes='C:\\tmp\\sharedArchive-Win-8098815\\resultsWithFlags\\JTwork\\classes\\closed\\runtime\\AppCDS' \\
        -J-Dtest.class.path='C:\\tmp\\sharedArchive-Win-8098815\\resultsWithFlags\\JTwork\\classes\\closed\\runtime\\AppCDS;C:\\tmp\\sharedArchive-Win-8098815\\resultsWithFlags\\JTwork\\classes\\testlibrary' \\
        -J-Dtest.vm.opts='-server -Xmixed -XX:MaxRAMFraction=8 -XX:+CreateCoredumpOnCrash -XX:+UseG1GC -XX:MaxRAMFraction=8' \\
        -J-Dtest.tool.vm.opts='-J-server -J-Xmixed -J-XX:MaxRAMFraction=8 -J-XX:+CreateCoredumpOnCrash -J-XX:+UseG1GC -J-XX:MaxRAMFraction=8' \\
        -J-Dtest.compiler.opts= \\
        -J-Dtest.java.opts= \\
        -J-Dtest.jdk='C:\\tmp\\sharedArchive-Win-8098815\\jdk' \\
        -J-Dcompile.jdk='C:\\tmp\\sharedArchive-Win-8098815\\jdk' \\
        -J-Dtest.timeout.factor=1.0 \\
        -d 'C:\\tmp\\sharedArchive-Win-8098815\\resultsWithFlags\\JTwork\\classes\\closed\\runtime\\AppCDS' -classpath 'C:\\tools\\jtreg\\latest\\lib\\javatest.jar;C:\\tools\\jtreg\\latest\\lib\\jtreg.jar;C:\\tmp\\sharedArchive-Win-8098815\\resultsWithFlags\\JTwork\\classes\\closed\\runtime\\AppCDS;C:\\tmp\\sharedArchive-Win-8098815\\test\\hotspot\\test\\closed\\runtime\\AppCDS;C:\\tmp\\sharedArchive-Win-8098815\\resultsWithFlags\\JTwork\\classes\\testlibrary' -sourcepath 'C:\\tmp\\sharedArchive-Win-8098815\\test\\hotspot\\test\\closed\\runtime\\AppCDS;C:\\tmp\\sharedArchive-Win-8098815\\test\\hotspot\\test\\testlibrary' -XDignore.symbol.file=true 'C:\\tmp\\sharedArchive-Win-8098815\\test\\hotspot\\test\\closed\\runtime\\AppCDS\\VerifierTest.java'
----------System.out:(0/0)----------
----------System.err:(0/0)----------
result: Passed. Compilation successful

#section:main
----------messages:(3/136)----------
command: main VerifierTest
reason: User specified action: run main/othervm/timeout=3600 VerifierTest 
elapsed time (seconds): 28.603
----------System.out:(931/70525)*----------
Command line: [C:\\tmp\\sharedArchive-Win-8098815\\jdk\\bin\\jar.exe uvf C:\\tmp\\sharedArchive-Win-8098815\\resultsWithFlags\\JTwork\\classes\\closed\\runtime\\AppCDS\\verifier_test.jar -C C:\\tmp\\sharedArchive-Win-8098815\\resultsWithFlags\\JTwork\\classes\\closed\\runtime\\AppCDS\\verifier_test_classes . ]
[ELAPSED: 1071 ms]
[STDOUT]
adding: UnverifiableBase.class(in = 242) (out= 191)(deflated 21%)
adding: UnverifiableIntf.class(in = 207) (out= 170)(deflated 17%)

[STDERR]

Command line: [C:\\tmp\\sharedArchive-Win-8098815\\jdk\\bin\\java.exe -cp C:\\tools\\jtreg\\latest\\lib\\javatest.jar;C:\\tools\\jtreg\\latest\\lib\\jtreg.jar;C:\\tmp\\sharedArchive-Win-8098815\\resultsWithFlags\\JTwork\\classes\\closed\\runtime\\AppCDS;C:\\tmp\\sharedArchive-Win-8098815\\test\\hotspot\\test\\closed\\runtime\\AppCDS;C:\\tmp\\sharedArchive-Win-8098815\\resultsWithFlags\\JTwork\\classes\\testlibrary -server -Xmixed -XX:MaxRAMFraction=8 -XX:+CreateCoredumpOnCrash -XX:+UseG1GC -XX:MaxRAMFraction=8 -showversion -XX:+UnlockCommercialFeatures -XX:SharedArchiveFile=./appcds.jsa -XX:+UseAppCDS -Xshare:dump -XX:+PrintSharedSpaces -cp C:\\tmp\\sharedArchive-Win-8098815\\resultsWithFlags\\JTwork\\classes\\closed\\runtime\\AppCDS\\verifier_test.jar -XX:ExtraSharedClassListFile=C:\\tmp\\sharedArchive-Win-8098815\\resultsWithFlags\\JTwork\\classes\\closed\\runtime\\AppCDS\\VerifierTest-test.classlist ]
[ELAPSED: 792 ms]
[STDOUT]
Allocated shared space: 37879808 bytes at 0x0000000800000000
Loading classes to share ...
Preload Warning: Cannot find java/awt/GraphicsEnvironment$1
Preload Warning: Cannot find java/lang/Compiler$1
Preload Warning: Cannot find java/net/InetAddress$Cache
Preload Warning: Cannot find java/net/InetAddress$Cache$Type
Preload Warning: Cannot find java/net/InetAddress$CacheEntry
Preload Warning: Cannot find java/security/ProtectionDomain$3
Preload Warning: Cannot find javax/swing/JComponent$2
Preload Warning: Cannot find javax/swing/RepaintManager$1$1
Preload Warning: Cannot find javax/swing/TimerQueue$1
Preload Warning: Cannot find javax/swing/plaf/metal/MetalLookAndFeel$MetalLazyValue
Preload Warning: Cannot find javax/swing/plaf/metal/MetalLookAndFeel$MetalLazyValue$1
Preload Warning: Cannot find javax/swing/text/AbstractDocument$InsertStringResult
Preload Warning: Cannot find sun/awt/EventQueueDelegate
Preload Warning: Cannot find sun/awt/WindowClosingListener
Preload Warning: Cannot find sun/awt/WindowClosingSupport
Preload Warning: Cannot find sun/awt/windows/WToolkit$3$1
Preload Warning: Cannot find sun/java2d/Disposer$2
Preload Warning: Cannot find sun/java2d/d3d/D3DScreenUpdateManager$1
Preload Warning: Cannot find sun/java2d/d3d/D3DScreenUpdateManager$1$1
Preload Warning: Cannot find sun/java2d/pipe/RenderingEngine$1
Preload Warning: Cannot find sun/misc/ExtensionDependency
Preload Warning: Cannot find sun/swing/SwingLazyValue
Preload Warning: Cannot find sun/swing/SwingLazyValue$1
Preload Warning: Cannot find sun/swing/SwingUtilities2$2
Preload Warning: Verification failed for UnverifiableBase
Preload Warning: Verification failed for UnverifiableIntf
Preload Warning: Verification failed for UnverifiableIntfSub
Preload Warning: Verification failed for VerifierTestA
Preload Warning: Verification failed for VerifierTestB
Preload Warning: Verification failed for VerifierTestC
Preload Warning: Verification failed for VerifierTestD
Preload Warning: Verification failed for VerifierTestE
Loading classes to share: done.
Shared spaces: preloaded 2362 classes
Rewriting and linking classes ...
Please remove the unverifiable classes from your class list and try again

[STDERR]

Command line: [C:\\tmp\\sharedArchive-Win-8098815\\jdk\\bin\\java.exe -cp C:\\tools\\jtreg\\latest\\lib\\javatest.jar;C:\\tools\\jtreg\\latest\\lib\\jtreg.jar;C:\\tmp\\sharedArchive-Win-8098815\\resultsWithFlags\\JTwork\\classes\\closed\\runtime\\AppCDS;C:\\tmp\\sharedArchive-Win-8098815\\test\\hotspot\\test\\closed\\runtime\\AppCDS;C:\\tmp\\sharedArchive-Win-8098815\\resultsWithFlags\\JTwork\\classes\\testlibrary -server -Xmixed -XX:MaxRAMFraction=8 -XX:+CreateCoredumpOnCrash -XX:+UseG1GC -XX:MaxRAMFraction=8 -showversion -XX:+UnlockCommercialFeatures -XX:SharedArchiveFile=./appcds.jsa -XX:+UseAppCDS -Xshare:dump -XX:+PrintSharedSpaces -cp C:\\tmp\\sharedArchive-Win-8098815\\resultsWithFlags\\JTwork\\classes\\closed\\runtime\\AppCDS\\verifier_test.jar -XX:ExtraSharedClassListFile=C:\\tmp\\sharedArchive-Win-8098815\\resultsWithFlags\\JTwork\\classes\\closed\\runtime\\AppCDS\\VerifierTest-test.classlist -XX:+UnlockDiagnosticVMOptions -XX:+IgnoreUnverifiableClassesDuringDump ]
[ELAPSED: 852 ms]
[STDOUT]
Allocated shared space: 37879808 bytes at 0x0000000800000000
Loading classes to share ...
Preload Warning: Cannot find java/awt/GraphicsEnvironment$1
Preload Warning: Cannot find java/lang/Compiler$1
Preload Warning: Cannot find java/net/InetAddress$Cache
Preload Warning: Cannot find java/net/InetAddress$Cache$Type
Preload Warning: Cannot find java/net/InetAddress$CacheEntry
Preload Warning: Cannot find java/security/ProtectionDomain$3
Preload Warning: Cannot find javax/swing/JComponent$2
Preload Warning: Cannot find javax/swing/RepaintManager$1$1
Preload Warning: Cannot find javax/swing/TimerQueue$1
Preload Warning: Cannot find javax/swing/plaf/metal/MetalLookAndFeel$MetalLazyValue
Preload Warning: Cannot find javax/swing/plaf/metal/MetalLookAndFeel$MetalLazyValue$1
Preload Warning: Cannot find javax/swing/text/AbstractDocument$InsertStringResult
Preload Warning: Cannot find sun/awt/EventQueueDelegate
Preload Warning: Cannot find sun/awt/WindowClosingListener
Preload Warning: Cannot find sun/awt/WindowClosingSupport
Preload Warning: Cannot find sun/awt/windows/WToolkit$3$1
Preload Warning: Cannot find sun/java2d/Disposer$2
Preload Warning: Cannot find sun/java2d/d3d/D3DScreenUpdateManager$1
Preload Warning: Cannot find sun/java2d/d3d/D3DScreenUpdateManager$1$1
Preload Warning: Cannot find sun/java2d/pipe/RenderingEngine$1
Preload Warning: Cannot find sun/misc/ExtensionDependency
Preload Warning: Cannot find sun/swing/SwingLazyValue
Preload Warning: Cannot find sun/swing/SwingLazyValue$1
Preload Warning: Cannot find sun/swing/SwingUtilities2$2
Preload Warning: Verification failed for UnverifiableBase
Preload Warning: Verification failed for UnverifiableIntf
Preload Warning: Verification failed for UnverifiableIntfSub
Preload Warning: Verification failed for VerifierTestA
Preload Warning: Verification failed for VerifierTestB
Preload Warning: Verification failed for VerifierTestC
Preload Warning: Verification failed for VerifierTestD
Preload Warning: Verification failed for VerifierTestE
Loading classes to share: done.
Shared spaces: preloaded 2362 classes
Rewriting and linking classes ...
Preload Warning: Removed error class: VerifierTestC
Preload Warning: Removed error class: VerifierTestA
Preload Warning: Removed error class: VerifierTestB
Preload Warning: Removed error class: UnverifiableBase
Preload Warning: Removed error class: UnverifiableIntf
Preload Warning: Removed error class: UnverifiableIntfSub
Preload Warning: Removed error class: VerifierTestE
Preload Warning: Removed error class: VerifierTestD
Rewriting and linking classes: done
Number of classes 2372
    instance classes   =  2358
    obj array classes  =     6
    type array classes =     8
Updating ConstMethods ... done. 
Removing unshareable information ... done. 
Shared symbol table stats -------- base: 0x0000000800000000
Number of entries       :     57119
Total bytes used        :    509948
Average bytes per entry :     9.000
Average bucket size     :     4.000
Variance of bucket size :     3.960
Std. dev. of bucket size:     1.990
Maximum bucket size     :        13
ro space:   7933872 [ 40.8% of total] out of  16777216 bytes [47.3% used] at 0x0000000800000000
rw space:  10777872 [ 55.5% of total] out of  16777216 bytes [64.2% used] at 0x0000000801000000
md space:    680976 [  3.5% of total] out of   4194304 bytes [16.2% used] at 0x0000000802000000
mc space:     34053 [  0.2% of total] out of    131072 bytes [26.0% used] at 0x0000000802400000
st space:         0 [  0.0% of total] out of         0 bytes [100.0% used] at 0x0000000000000000
total   :  19426773 [100.0% of total] out of  37879808 bytes [51.3% used]
Dumping shared data to file: 
   ./appcds.jsa
Shared file region 0: 0x790fb0 bytes, addr 0x0000000800000000 file offset 0x 10000
Shared file region 1: 0xa47510 bytes, addr 0x0000000801000000 file offset 0x7b0000
Shared file region 2: 0x a6410 bytes, addr 0x0000000802000000 file offset 0x1200000
Shared file region 3: 0x  8505 bytes, addr 0x0000000802400000 file offset 0x12b0000
Shared file region 4: 0x     0 bytes, addr 0x0000000000000000 file offset 0x12c0000
Shared file region 5: 0x     0 bytes, addr 0x0000000000000000 file offset 0x12c0000
Detailed metadata info (rw includes md and mc):
                        ro_cnt   ro_bytes     % |   rw_cnt   rw_bytes     % |  all_cnt  all_bytes     %
--------------------+---------------------------+---------------------------+--------------------------
Unknown             :        1         48   0.0 |        1         48   0.0 |        2         96   0.0
Class               :        0          0   0.0 |     2380    1892592  16.5 |     2380    1892592   9.7
Symbol              :    57119    2103696  26.5 |        0          0   0.0 |    57119    2103696  10.8
TypeArrayU1         :    13193     479160   6.0 |     2380     419312   3.6 |    15573     898472   4.6
TypeArrayU2         :     4942     280296   3.5 |        0          0   0.0 |     4942     280296   1.4
TypeArrayU4         :     2491     154168   1.9 |        0          0   0.0 |     2491     154168   0.8
TypeArrayU8         :     3853     325952   4.1 |        0          0   0.0 |     3853     325952   1.7
TypeArrayOther      :        0          0   0.0 |        0          0   0.0 |        0          0   0.0
Method              :        0          0   0.0 |    31926    3078816  26.8 |    31926    3078816  15.8
ConstMethod         :    31926    4586184  57.8 |        0          0   0.0 |    31926    4586184  23.6
MethodData          :        0          0   0.0 |        0          0   0.0 |        0          0   0.0
ConstantPool        :        0          0   0.0 |     2380    3341640  29.1 |     2380    3341640  17.2
ConstantPoolCache   :        0          0   0.0 |     2358    2045464  17.8 |     2358    2045464  10.5
Annotation          :       32       1024   0.0 |        0          0   0.0 |       32       1024   0.0
MethodCounters      :        0          0   0.0 |        0          0   0.0 |        0          0   0.0
Deallocated         :       26       3344   0.0 |        0          0   0.0 |       26       3344   0.0
SymbolHashentry     :        0          0   0.0 |    57119     452808   3.9 |    57119     452808   2.3
SymbolBucket        :        0          0   0.0 |    14280      57124   0.5 |    14280      57124   0.3
Other               :        0          0   0.0 |        0     205097   1.8 |        0     205097   1.1
--------------------+---------------------------+---------------------------+--------------------------
Total               :   113583    7933872 100.0 |   112824   11492901 100.0 |   226407   19426773 100.0

[STDERR]

Test case [0]: dumping app with -Xverify:remote, run with -Xverify:remote
Command line: [C:\\tmp\\sharedArchive-Win-8098815\\jdk\\bin\\java.exe -cp C:\\tools\\jtreg\\latest\\lib\\javatest.jar;C:\\tools\\jtreg\\latest\\lib\\jtreg.jar;C:\\tmp\\sharedArchive-Win-8098815\\resultsWithFlags\\JTwork\\classes\\closed\\runtime\\AppCDS;C:\\tmp\\sharedArchive-Win-8098815\\test\\hotspot\\test\\closed\\runtime\\AppCDS;C:\\tmp\\sharedArchive-Win-8098815\\resultsWithFlags\\JTwork\\classes\\testlibrary -server -Xmixed -XX:MaxRAMFraction=8 -XX:+CreateCoredumpOnCrash -XX:+UseG1GC -XX:MaxRAMFraction=8 -showversion -XX:+UnlockCommercialFeatures -XX:SharedArchiveFile=./appcds.jsa -XX:+UseAppCDS -Xshare:dump -XX:+PrintSharedSpaces -cp C:\\tmp\\sharedArchive-Win-8098815\\resultsWithFlags\\JTwork\\classes\\closed\\runtime\\AppCDS\\verifier_test.jar -XX:ExtraSharedClassListFile=C:\\tmp\\sharedArchive-Win-8098815\\resultsWithFlags\\JTwork\\classes\\closed\\runtime\\AppCDS\\VerifierTest-test.classlist -Xverify:remote -XX:+UnlockDiagnosticVMOptions -XX:+IgnoreUnverifiableClassesDuringDump -Xms256m -Xmx256m ]
[ELAPSED: 854 ms]
[STDOUT]
Allocated shared space: 37879808 bytes at 0x0000000800000000
Loading classes to share ...
Preload Warning: Cannot find java/awt/GraphicsEnvironment$1
Preload Warning: Cannot find java/lang/Compiler$1
Preload Warning: Cannot find java/net/InetAddress$Cache
Preload Warning: Cannot find java/net/InetAddress$Cache$Type
Preload Warning: Cannot find java/net/InetAddress$CacheEntry
Preload Warning: Cannot find java/security/ProtectionDomain$3
Preload Warning: Cannot find javax/swing/JComponent$2
Preload Warning: Cannot find javax/swing/RepaintManager$1$1
Preload Warning: Cannot find javax/swing/TimerQueue$1
Preload Warning: Cannot find javax/swing/plaf/metal/MetalLookAndFeel$MetalLazyValue
Preload Warning: Cannot find javax/swing/plaf/metal/MetalLookAndFeel$MetalLazyValue$1
Preload Warning: Cannot find javax/swing/text/AbstractDocument$InsertStringResult
Preload Warning: Cannot find sun/awt/EventQueueDelegate
Preload Warning: Cannot find sun/awt/WindowClosingListener
Preload Warning: Cannot find sun/awt/WindowClosingSupport
Preload Warning: Cannot find sun/awt/windows/WToolkit$3$1
Preload Warning: Cannot find sun/java2d/Disposer$2
Preload Warning: Cannot find sun/java2d/d3d/D3DScreenUpdateManager$1
Preload Warning: Cannot find sun/java2d/d3d/D3DScreenUpdateManager$1$1
Preload Warning: Cannot find sun/java2d/pipe/RenderingEngine$1
Preload Warning: Cannot find sun/misc/ExtensionDependency
Preload Warning: Cannot find sun/swing/SwingLazyValue
Preload Warning: Cannot find sun/swing/SwingLazyValue$1
Preload Warning: Cannot find sun/swing/SwingUtilities2$2
Preload Warning: Verification failed for UnverifiableBase
Preload Warning: Verification failed for UnverifiableIntf
Preload Warning: Verification failed for UnverifiableIntfSub
Preload Warning: Verification failed for VerifierTestA
Preload Warning: Verification failed for VerifierTestB
Preload Warning: Verification failed for VerifierTestC
Preload Warning: Verification failed for VerifierTestD
Preload Warning: Verification failed for VerifierTestE
Loading classes to share: done.
Shared spaces: preloaded 2362 classes
Rewriting and linking classes ...
Preload Warning: Removed error class: VerifierTestC
Preload Warning: Removed error class: VerifierTestA
Preload Warning: Removed error class: VerifierTestB
Preload Warning: Removed error class: UnverifiableBase
Preload Warning: Removed error class: UnverifiableIntf
Preload Warning: Removed error class: UnverifiableIntfSub
Preload Warning: Removed error class: VerifierTestE
Preload Warning: Removed error class: VerifierTestD
Rewriting and linking classes: done
Number of classes 2372
    instance classes   =  2358
    obj array classes  =     6
    type array classes =     8
Updating ConstMethods ... done. 
Removing unshareable information ... done. 
Shared symbol table stats -------- base: 0x0000000800000000
Number of entries       :     57119
Total bytes used        :    509948
Average bytes per entry :     9.000
Average bucket size     :     4.000
Variance of bucket size :     3.960
Std. dev. of bucket size:     1.990
Maximum bucket size     :        13
ro space:   7933872 [ 40.8% of total] out of  16777216 bytes [47.3% used] at 0x0000000800000000
rw space:  10777872 [ 55.5% of total] out of  16777216 bytes [64.2% used] at 0x0000000801000000
md space:    680976 [  3.5% of total] out of   4194304 bytes [16.2% used] at 0x0000000802000000
mc space:     34053 [  0.2% of total] out of    131072 bytes [26.0% used] at 0x0000000802400000
st space:         0 [  0.0% of total] out of         0 bytes [100.0% used] at 0x0000000000000000
total   :  19426773 [100.0% of total] out of  37879808 bytes [51.3% used]
Dumping shared data to file: 
   ./appcds.jsa
Shared file region 0: 0x790fb0 bytes, addr 0x0000000800000000 file offset 0x 10000
Shared file region 1: 0xa47510 bytes, addr 0x0000000801000000 file offset 0x7b0000
Shared file region 2: 0x a6410 bytes, addr 0x0000000802000000 file offset 0x1200000
Shared file region 3: 0x  8505 bytes, addr 0x0000000802400000 file offset 0x12b0000
Shared file region 4: 0x     0 bytes, addr 0x0000000000000000 file offset 0x12c0000
Shared file region 5: 0x     0 bytes, addr 0x0000000000000000 file offset 0x12c0000
Detailed metadata info (rw includes md and mc):
                        ro_cnt   ro_bytes     % |   rw_cnt   rw_bytes     % |  all_cnt  all_bytes     %
--------------------+---------------------------+---------------------------+--------------------------
Unknown             :        1         48   0.0 |        1         48   0.0 |        2         96   0.0
Class               :        0          0   0.0 |     2380    1892592  16.5 |     2380    1892592   9.7
Symbol              :    57119    2103696  26.5 |        0          0   0.0 |    57119    2103696  10.8
TypeArrayU1         :    13193     479160   6.0 |     2380     419312   3.6 |    15573     898472   4.6
TypeArrayU2         :     4942     280296   3.5 |        0          0   0.0 |     4942     280296   1.4
TypeArrayU4         :     2491     154168   1.9 |        0          0   0.0 |     2491     154168   0.8
TypeArrayU8         :     3853     325952   4.1 |        0          0   0.0 |     3853     325952   1.7
TypeArrayOther      :        0          0   0.0 |        0          0   0.0 |        0          0   0.0
Method              :        0          0   0.0 |    31926    3078816  26.8 |    31926    3078816  15.8
ConstMethod         :    31926    4586184  57.8 |        0          0   0.0 |    31926    4586184  23.6
MethodData          :        0          0   0.0 |        0          0   0.0 |        0          0   0.0
ConstantPool        :        0          0   0.0 |     2380    3341640  29.1 |     2380    3341640  17.2
ConstantPoolCache   :        0          0   0.0 |     2358    2045464  17.8 |     2358    2045464  10.5
Annotation          :       32       1024   0.0 |        0          0   0.0 |       32       1024   0.0
MethodCounters      :        0          0   0.0 |        0          0   0.0 |        0          0   0.0
Deallocated         :       26       3344   0.0 |        0          0   0.0 |       26       3344   0.0
SymbolHashentry     :        0          0   0.0 |    57119     452808   3.9 |    57119     452808   2.3
SymbolBucket        :        0          0   0.0 |    14280      57124   0.5 |    14280      57124   0.3
Other               :        0          0   0.0 |        0     205097   1.8 |        0     205097   1.1
--------------------+---------------------------+---------------------------+--------------------------
Total               :   113583    7933872 100.0 |   112824   11492901 100.0 |   226407   19426773 100.0

[STDERR]

Command line: [C:\\tmp\\sharedArchive-Win-8098815\\jdk\\bin\\java.exe -cp C:\\tools\\jtreg\\latest\\lib\\javatest.jar;C:\\tools\\jtreg\\latest\\lib\\jtreg.jar;C:\\tmp\\sharedArchive-Win-8098815\\resultsWithFlags\\JTwork\\classes\\closed\\runtime\\AppCDS;C:\\tmp\\sharedArchive-Win-8098815\\test\\hotspot\\test\\closed\\runtime\\AppCDS;C:\\tmp\\sharedArchive-Win-8098815\\resultsWithFlags\\JTwork\\classes\\testlibrary -server -Xmixed -XX:MaxRAMFraction=8 -XX:+CreateCoredumpOnCrash -XX:+UseG1GC -XX:MaxRAMFraction=8 -XX:SharedArchiveFile=./appcds.jsa -XX:+UnlockCommercialFeatures -XX:+UseAppCDS -Xshare:on -showversion -cp C:\\tmp\\sharedArchive-Win-8098815\\resultsWithFlags\\JTwork\\classes\\closed\\runtime\\AppCDS\\verifier_test.jar -Xverify:remote VerifierTest0 ]
[ELAPSED: 383 ms]
[STDOUT]
Testing: VerifierTestA
Expected exception:
Testing: VerifierTestB
Expected exception:
Testing: VerifierTestC
Expected exception:
Testing: VerifierTestD
Expected exception:
Testing: VerifierTestE
Expected exception:

[STDERR]
java version "1.9.0-internal-fastdebug"
Java(TM) SE Runtime Environment (build 1.9.0-internal-fastdebug-20150617172159.trbenson.hs-rt-b00)
Java HotSpot(TM) 64-Bit Server VM (build 1.9.0-internal-20150617172159.trbenson.hs-rt-b00, mixed mode, sharing)

java.lang.VerifyError: Call to wrong <init> method
Exception Details:
  Location:
    UnverifiableBase.<clinit>()V @4: invokespecial
  Reason:
    Type 'java/lang/Object' (constant pool 4) is not assignable to 'VerifierTest0' (constant pool 14)
  Bytecode:
    0000000: bb00 0459 b700 0eb3 0010 b1            

	at java.lang.Class.forName0(Native Method)
	at java.lang.Class.forName(Class.java:286)
	at VerifierTest0.mustBeInvalid(VerifierTest0.java:30)
	at VerifierTest0.main(VerifierTest0.java:15)
java.lang.VerifyError: Call to wrong <init> method
Exception Details:
  Location:
    UnverifiableBase.<clinit>()V @4: invokespecial
  Reason:
    Type 'java/lang/Object' (constant pool 4) is not assignable to 'VerifierTest0' (constant pool 14)
  Bytecode:
    0000000: bb00 0459 b700 0eb3 0010 b1            

	at java.lang.Class.forName0(Native Method)
	at java.lang.Class.forName(Class.java:286)
	at VerifierTest0.mustBeInvalid(VerifierTest0.java:30)
	at VerifierTest0.main(VerifierTest0.java:16)
java.lang.VerifyError: Call to wrong <init> method
Exception Details:
  Location:
    UnverifiableIntf.<clinit>()V @4: invokespecial
  Reason:
    Type 'java/lang/Object' (constant pool 4) is not assignable to 'VerifierTest0' (constant pool 13)
  Bytecode:
    0000000: bb00 0459 b700 0db3 000f b1            

	at java.lang.Class.forName0(Native Method)
	at java.lang.Class.forName(Class.java:286)
	at VerifierTest0.mustBeInvalid(VerifierTest0.java:30)
	at VerifierTest0.main(VerifierTest0.java:17)
java.lang.VerifyError: Call to wrong <init> method
Exception Details:
  Location:
    UnverifiableIntf.<clinit>()V @4: invokespecial
  Reason:
    Type 'java/lang/Object' (constant pool 4) is not assignable to 'VerifierTest0' (constant pool 13)
  Bytecode:
    0000000: bb00 0459 b700 0db3 000f b1            

	at java.lang.Class.forName0(Native Method)
	at java.lang.Class.forName(Class.java:286)
	at VerifierTest0.mustBeInvalid(VerifierTest0.java:30)
	at VerifierTest0.main(VerifierTest0.java:18)
java.lang.VerifyError: Call to wrong <init> method
Exception Details:
  Location:
    UnverifiableIntf.<clinit>()V @4: invokespecial
  Reason:
    Type 'java/lang/Object' (constant pool 4) is not assignable to 'VerifierTest0' (constant pool 13)
  Bytecode:
    0000000: bb00 0459 b700 0db3 000f b1            

	at java.lang.Class.forName0(Native Method)
	at java.lang.Class.forName(Class.java:286)
	at VerifierTest0.mustBeInvalid(VerifierTest0.java:30)
	at VerifierTest0.main(VerifierTest0.java:19)

Test case [1]: dumping app with -Xverify:remote, run with -Xverify:all
Command line: [C:\\tmp\\sharedArchive-Win-8098815\\jdk\\bin\\java.exe -cp C:\\tools\\jtreg\\latest\\lib\\javatest.jar;C:\\tools\\jtreg\\latest\\lib\\jtreg.jar;C:\\tmp\\sharedArchive-Win-8098815\\resultsWithFlags\\JTwork\\classes\\closed\\runtime\\AppCDS;C:\\tmp\\sharedArchive-Win-8098815\\test\\hotspot\\test\\closed\\runtime\\AppCDS;C:\\tmp\\sharedArchive-Win-8098815\\resultsWithFlags\\JTwork\\classes\\testlibrary -server -Xmixed -XX:MaxRAMFraction=8 -XX:+CreateCoredumpOnCrash -XX:+UseG1GC -XX:MaxRAMFraction=8 -XX:SharedArchiveFile=./appcds.jsa -XX:+UnlockCommercialFeatures -XX:+UseAppCDS -Xshare:on -showversion -cp C:\\tmp\\sharedArchive-Win-8098815\\resultsWithFlags\\JTwork\\classes\\closed\\runtime\\AppCDS\\verifier_test.jar -Xverify:all VerifierTest0 ]
[ELAPSED: 98 ms]
[STDOUT]
Error occurred during initialization of VM
Unable to use shared archive.

[STDERR]
An error has occurred while processing the shared archive file.
The shared archive file was created with less restrictive verification setting than the current setting.

Test case [2]: dumping app with -Xverify:remote, run with -Xverify:none
Command line: [C:\\tmp\\sharedArchive-Win-8098815\\jdk\\bin\\java.exe -cp C:\\tools\\jtreg\\latest\\lib\\javatest.jar;C:\\tools\\jtreg\\latest\\lib\\jtreg.jar;C:\\tmp\\sharedArchive-Win-8098815\\resultsWithFlags\\JTwork\\classes\\closed\\runtime\\AppCDS;C:\\tmp\\sharedArchive-Win-8098815\\test\\hotspot\\test\\closed\\runtime\\AppCDS;C:\\tmp\\sharedArchive-Win-8098815\\resultsWithFlags\\JTwork\\classes\\testlibrary -server -Xmixed -XX:MaxRAMFraction=8 -XX:+CreateCoredumpOnCrash -XX:+UseG1GC -XX:MaxRAMFraction=8 -XX:SharedArchiveFile=./appcds.jsa -XX:+UnlockCommercialFeatures -XX:+UseAppCDS -Xshare:on -showversion -cp C:\\tmp\\sharedArchive-Win-8098815\\resultsWithFlags\\JTwork\\classes\\closed\\runtime\\AppCDS\\verifier_test.jar -Xverify:none VerifierTest0 ]
[ELAPSED: 358 ms]
[STDOUT]
Testing: VerifierTestA
ERROR: class VerifierTestA was loaded unexpectedly.
Testing: VerifierTestB
ERROR: class VerifierTestB was loaded unexpectedly.
Testing: VerifierTestC
ERROR: class VerifierTestC was loaded unexpectedly.
Testing: VerifierTestD
ERROR: class VerifierTestD was loaded unexpectedly.
Testing: VerifierTestE
ERROR: class VerifierTestE was loaded unexpectedly.
VerifierTest0 failed

[STDERR]
java version "1.9.0-internal-fastdebug"
Java(TM) SE Runtime Environment (build 1.9.0-internal-fastdebug-20150617172159.trbenson.hs-rt-b00)
Java HotSpot(TM) 64-Bit Server VM (build 1.9.0-internal-20150617172159.trbenson.hs-rt-b00, mixed mode, sharing)


Test case [3]: dumping app with -Xverify:all, run with -Xverify:remote
Command line: [C:\\tmp\\sharedArchive-Win-8098815\\jdk\\bin\\java.exe -cp C:\\tools\\jtreg\\latest\\lib\\javatest.jar;C:\\tools\\jtreg\\latest\\lib\\jtreg.jar;C:\\tmp\\sharedArchive-Win-8098815\\resultsWithFlags\\JTwork\\classes\\closed\\runtime\\AppCDS;C:\\tmp\\sharedArchive-Win-8098815\\test\\hotspot\\test\\closed\\runtime\\AppCDS;C:\\tmp\\sharedArchive-Win-8098815\\resultsWithFlags\\JTwork\\classes\\testlibrary -server -Xmixed -XX:MaxRAMFraction=8 -XX:+CreateCoredumpOnCrash -XX:+UseG1GC -XX:MaxRAMFraction=8 -showversion -XX:+UnlockCommercialFeatures -XX:SharedArchiveFile=./appcds.jsa -XX:+UseAppCDS -Xshare:dump -XX:+PrintSharedSpaces -cp C:\\tmp\\sharedArchive-Win-8098815\\resultsWithFlags\\JTwork\\classes\\closed\\runtime\\AppCDS\\verifier_test.jar -XX:ExtraSharedClassListFile=C:\\tmp\\sharedArchive-Win-8098815\\resultsWithFlags\\JTwork\\classes\\closed\\runtime\\AppCDS\\VerifierTest-test.classlist -Xverify:all -XX:+UnlockDiagnosticVMOptions -XX:+IgnoreUnverifiableClassesDuringDump -Xms256m -Xmx256m ]
[ELAPSED: 1962 ms]
[STDOUT]
Allocated shared space: 37879808 bytes at 0x0000000800000000
Loading classes to share ...
Preload Warning: Cannot find java/awt/GraphicsEnvironment$1
Preload Warning: Cannot find java/lang/Compiler$1
Preload Warning: Cannot find java/net/InetAddress$Cache
Preload Warning: Cannot find java/net/InetAddress$Cache$Type
Preload Warning: Cannot find java/net/InetAddress$CacheEntry
Preload Warning: Cannot find java/security/ProtectionDomain$3
Preload Warning: Cannot find javax/swing/JComponent$2
Preload Warning: Cannot find javax/swing/RepaintManager$1$1
Preload Warning: Cannot find javax/swing/TimerQueue$1
Preload Warning: Cannot find javax/swing/plaf/metal/MetalLookAndFeel$MetalLazyValue
Preload Warning: Cannot find javax/swing/plaf/metal/MetalLookAndFeel$MetalLazyValue$1
Preload Warning: Cannot find javax/swing/text/AbstractDocument$InsertStringResult
Preload Warning: Cannot find sun/awt/EventQueueDelegate
Preload Warning: Cannot find sun/awt/WindowClosingListener
Preload Warning: Cannot find sun/awt/WindowClosingSupport
Preload Warning: Cannot find sun/awt/windows/WToolkit$3$1
Preload Warning: Cannot find sun/java2d/Disposer$2
Preload Warning: Cannot find sun/java2d/d3d/D3DScreenUpdateManager$1
Preload Warning: Cannot find sun/java2d/d3d/D3DScreenUpdateManager$1$1
Preload Warning: Cannot find sun/java2d/pipe/RenderingEngine$1
Preload Warning: Cannot find sun/misc/ExtensionDependency
Preload Warning: Cannot find sun/swing/SwingLazyValue
Preload Warning: Cannot find sun/swing/SwingLazyValue$1
Preload Warning: Cannot find sun/swing/SwingUtilities2$2
Preload Warning: Verification failed for UnverifiableBase
Preload Warning: Verification failed for UnverifiableIntf
Preload Warning: Verification failed for UnverifiableIntfSub
Preload Warning: Verification failed for VerifierTestA
Preload Warning: Verification failed for VerifierTestB
Preload Warning: Verification failed for VerifierTestC
Preload Warning: Verification failed for VerifierTestD
Preload Warning: Verification failed for VerifierTestE
Loading classes to share: done.
Shared spaces: preloaded 2362 classes
Rewriting and linking classes ...
Preload Warning: Removed error class: UnverifiableIntf
Preload Warning: Removed error class: UnverifiableBase
Preload Warning: Removed error class: VerifierTestE
Preload Warning: Removed error class: UnverifiableIntfSub
Preload Warning: Removed error class: VerifierTestC
Preload Warning: Removed error class: VerifierTestA
Preload Warning: Removed error class: VerifierTestB
Preload Warning: Removed error class: VerifierTestD
Rewriting and linking classes: done
Number of classes 3016
    instance classes   =  3002
    obj array classes  =     6
    type array classes =     8
Updating ConstMethods ... done. 
Removing unshareable information ... done. 
Shared symbol table stats -------- base: 0x0000000800000000
Number of entries       :     62984
Total bytes used        :    562212
Average bytes per entry :     9.000
Average bucket size     :     4.000
Variance of bucket size :     4.038
Std. dev. of bucket size:     2.009
Maximum bucket size     :        14
ro space:   9188024 [ 40.0% of total] out of  16777216 bytes [54.8% used] at 0x0000000800000000
rw space:  12985952 [ 56.5% of total] out of  16777216 bytes [77.4% used] at 0x0000000801000000
md space:    765096 [  3.3% of total] out of   4194304 bytes [18.2% used] at 0x0000000802000000
mc space:     34053 [  0.1% of total] out of    131072 bytes [26.0% used] at 0x0000000802400000
st space:         0 [  0.0% of total] out of         0 bytes [100.0% used] at 0x0000000000000000
total   :  22973125 [100.0% of total] out of  37879808 bytes [60.6% used]
Dumping shared data to file: 
   ./appcds.jsa
Shared file region 0: 0x8c32b8 bytes, addr 0x0000000800000000 file offset 0x 10000
Shared file region 1: 0xc62660 bytes, addr 0x0000000801000000 file offset 0x8e0000
Shared file region 2: 0x baca8 bytes, addr 0x0000000802000000 file offset 0x1550000
Shared file region 3: 0x  8505 bytes, addr 0x0000000802400000 file offset 0x1610000
Shared file region 4: 0x     0 bytes, addr 0x0000000000000000 file offset 0x1620000
Shared file region 5: 0x     0 bytes, addr 0x0000000000000000 file offset 0x1620000
Detailed metadata info (rw includes md and mc):
                        ro_cnt   ro_bytes     % |   rw_cnt   rw_bytes     % |  all_cnt  all_bytes     %
--------------------+---------------------------+---------------------------+--------------------------
Unknown             :        1         48   0.0 |        1         48   0.0 |        2         96   0.0
Class               :        0          0   0.0 |     3024    2470720  17.9 |     3024    2470720  10.8
Symbol              :    62984    2333192  25.4 |        0          0   0.0 |    62984    2333192  10.2
TypeArrayU1         :    15163     557080   6.1 |     3032     498952   3.6 |    18195    1056032   4.6
TypeArrayU2         :     6129     328416   3.6 |        0          0   0.0 |     6129     328416   1.4
TypeArrayU4         :     3153     183848   2.0 |        0          0   0.0 |     3153     183848   0.8
TypeArrayU8         :     4749     384808   4.2 |        0          0   0.0 |     4749     384808   1.7
TypeArrayOther      :        0          0   0.0 |        0          0   0.0 |        0          0   0.0
Method              :        0          0   0.0 |    37562    3620784  26.3 |    37562    3620784  15.8
ConstMethod         :    37562    5395256  58.7 |        0          0   0.0 |    37562    5395256  23.5
MethodData          :        0          0   0.0 |        0          0   0.0 |        0          0   0.0
ConstantPool        :        0          0   0.0 |     3032    3974856  28.8 |     3032    3974856  17.3
ConstantPoolCache   :        0          0   0.0 |     3002    2420592  17.6 |     3002    2420592  10.5
Annotation          :       37       1184   0.0 |        0          0   0.0 |       37       1184   0.0
MethodCounters      :        0          0   0.0 |        0          0   0.0 |        0          0   0.0
Deallocated         :       42       4192   0.0 |        0          0   0.0 |       42       4192   0.0
SymbolHashentry     :        0          0   0.0 |    62984     499208   3.6 |    62984     499208   2.2
SymbolBucket        :        0          0   0.0 |    15746      62988   0.5 |    15746      62988   0.3
Other               :        0          0   0.0 |        0     236953   1.7 |        0     236953   1.0
--------------------+---------------------------+---------------------------+--------------------------
Total               :   129820    9188024 100.0 |   128383   13785101 100.0 |   258

...
Output overflow:
JT Harness has limited the test output to the text to that
at the beginning and the end, so that you can see how the
test began, and how it completed.

If you need to see more of the output from the test,
set the system property javatest.maxOutputSize to a higher
value. The current value is 100000
...

0
Shared file region 5: 0x     0 bytes, addr 0x0000000000000000 file offset 0x1620000
Detailed metadata info (rw includes md and mc):
                        ro_cnt   ro_bytes     % |   rw_cnt   rw_bytes     % |  all_cnt  all_bytes     %
--------------------+---------------------------+---------------------------+--------------------------
Unknown             :        1         48   0.0 |        1         48   0.0 |        2         96   0.0
Class               :        0          0   0.0 |     3017    2467016  17.9 |     3017    2467016  10.7
Symbol              :    62973    2332872  25.4 |        0          0   0.0 |    62973    2332872  10.2
TypeArrayU1         :    15164     557208   6.1 |     3025     498752   3.6 |    18189    1055960   4.6
TypeArrayU2         :     6125     328312   3.6 |        0          0   0.0 |     6125     328312   1.4
TypeArrayU4         :     3146     183680   2.0 |        0          0   0.0 |     3146     183680   0.8
TypeArrayU8         :     4739     384744   4.2 |        0          0   0.0 |     4739     384744   1.7
TypeArrayOther      :        0          0   0.0 |        0          0   0.0 |        0          0   0.0
Method              :        0          0   0.0 |    37555    3620112  26.3 |    37555    3620112  15.8
ConstMethod         :    37555    5394648  58.7 |        0          0   0.0 |    37555    5394648  23.5
MethodData          :        0          0   0.0 |        0          0   0.0 |        0          0   0.0
ConstantPool        :        0          0   0.0 |     3025    3973288  28.8 |     3025    3973288  17.3
ConstantPoolCache   :        0          0   0.0 |     3003    2420576  17.6 |     3003    2420576  10.5
Annotation          :       37       1184   0.0 |        0          0   0.0 |       37       1184   0.0
MethodCounters      :        0          0   0.0 |        0          0   0.0 |        0          0   0.0
Deallocated         :       42       4192   0.0 |        0          0   0.0 |       42       4192   0.0
SymbolHashentry     :        0          0   0.0 |    62973     499164   3.6 |    62973     499164   2.2
SymbolBucket        :        0          0   0.0 |    15744      62980   0.5 |    15744      62980   0.3
Other               :        0          0   0.0 |        0     236997   1.7 |        0     236997   1.0
--------------------+---------------------------+---------------------------+--------------------------
Total               :   129782    9186888 100.0 |   128343   13778933 100.0 |   258125   22965821 100.0

[STDERR]

Command line: [C:\\tmp\\sharedArchive-Win-8098815\\jdk\\bin\\java.exe -cp C:\\tools\\jtreg\\latest\\lib\\javatest.jar;C:\\tools\\jtreg\\latest\\lib\\jtreg.jar;C:\\tmp\\sharedArchive-Win-8098815\\resultsWithFlags\\JTwork\\classes\\closed\\runtime\\AppCDS;C:\\tmp\\sharedArchive-Win-8098815\\test\\hotspot\\test\\closed\\runtime\\AppCDS;C:\\tmp\\sharedArchive-Win-8098815\\resultsWithFlags\\JTwork\\classes\\testlibrary -server -Xmixed -XX:MaxRAMFraction=8 -XX:+CreateCoredumpOnCrash -XX:+UseG1GC -XX:MaxRAMFraction=8 -XX:SharedArchiveFile=./appcds.jsa -XX:+UnlockCommercialFeatures -XX:+UseAppCDS -Xshare:on -showversion -cp C:\\tmp\\sharedArchive-Win-8098815\\resultsWithFlags\\JTwork\\classes\\closed\\runtime\\AppCDS\\hi.jar;C:\\tmp\\sharedArchive-Win-8098815\\resultsWithFlags\\JTwork\\classes\\closed\\runtime\\AppCDS\\greet.jar -Xverify:all Hi ]
[ELAPSED: 332 ms]
[STDOUT]
Hi, how are you?

[STDERR]
java version "1.9.0-internal-fastdebug"
Java(TM) SE Runtime Environment (build 1.9.0-internal-fastdebug-20150617172159.trbenson.hs-rt-b00)
Java HotSpot(TM) 64-Bit Server VM (build 1.9.0-internal-20150617172159.trbenson.hs-rt-b00, mixed mode, sharing)


Test case [5]: dumping app with -Xverify:all, run with -Xverify:none
Command line: [C:\\tmp\\sharedArchive-Win-8098815\\jdk\\bin\\java.exe -cp C:\\tools\\jtreg\\latest\\lib\\javatest.jar;C:\\tools\\jtreg\\latest\\lib\\jtreg.jar;C:\\tmp\\sharedArchive-Win-8098815\\resultsWithFlags\\JTwork\\classes\\closed\\runtime\\AppCDS;C:\\tmp\\sharedArchive-Win-8098815\\test\\hotspot\\test\\closed\\runtime\\AppCDS;C:\\tmp\\sharedArchive-Win-8098815\\resultsWithFlags\\JTwork\\classes\\testlibrary -server -Xmixed -XX:MaxRAMFraction=8 -XX:+CreateCoredumpOnCrash -XX:+UseG1GC -XX:MaxRAMFraction=8 -showversion -XX:+UnlockCommercialFeatures -XX:SharedArchiveFile=./appcds.jsa -XX:+UseAppCDS -Xshare:dump -XX:+PrintSharedSpaces -cp C:\\tmp\\sharedArchive-Win-8098815\\resultsWithFlags\\JTwork\\classes\\closed\\runtime\\AppCDS\\hi.jar;C:\\tmp\\sharedArchive-Win-8098815\\resultsWithFlags\\JTwork\\classes\\closed\\runtime\\AppCDS\\greet.jar -XX:ExtraSharedClassListFile=C:\\tmp\\sharedArchive-Win-8098815\\resultsWithFlags\\JTwork\\classes\\closed\\runtime\\AppCDS\\VerifierTest-test.classlist -Xverify:all -XX:+UnlockDiagnosticVMOptions -Xms256m -Xmx256m ]
[ELAPSED: 1688 ms]
[STDOUT]
Allocated shared space: 37879808 bytes at 0x0000000800000000
Loading classes to share ...
Preload Warning: Cannot find java/awt/GraphicsEnvironment$1
Preload Warning: Cannot find java/lang/Compiler$1
Preload Warning: Cannot find java/net/InetAddress$Cache
Preload Warning: Cannot find java/net/InetAddress$Cache$Type
Preload Warning: Cannot find java/net/InetAddress$CacheEntry
Preload Warning: Cannot find java/security/ProtectionDomain$3
Preload Warning: Cannot find javax/swing/JComponent$2
Preload Warning: Cannot find javax/swing/RepaintManager$1$1
Preload Warning: Cannot find javax/swing/TimerQueue$1
Preload Warning: Cannot find javax/swing/plaf/metal/MetalLookAndFeel$MetalLazyValue
Preload Warning: Cannot find javax/swing/plaf/metal/MetalLookAndFeel$MetalLazyValue$1
Preload Warning: Cannot find javax/swing/text/AbstractDocument$InsertStringResult
Preload Warning: Cannot find sun/awt/EventQueueDelegate
Preload Warning: Cannot find sun/awt/WindowClosingListener
Preload Warning: Cannot find sun/awt/WindowClosingSupport
Preload Warning: Cannot find sun/awt/windows/WToolkit$3$1
Preload Warning: Cannot find sun/java2d/Disposer$2
Preload Warning: Cannot find sun/java2d/d3d/D3DScreenUpdateManager$1
Preload Warning: Cannot find sun/java2d/d3d/D3DScreenUpdateManager$1$1
Preload Warning: Cannot find sun/java2d/pipe/RenderingEngine$1
Preload Warning: Cannot find sun/misc/ExtensionDependency
Preload Warning: Cannot find sun/swing/SwingLazyValue
Preload Warning: Cannot find sun/swing/SwingLazyValue$1
Preload Warning: Cannot find sun/swing/SwingUtilities2$2
Loading classes to share: done.
Shared spaces: preloaded 2356 classes
Rewriting and linking classes ...
Rewriting and linking classes: done
Number of classes 3017
    instance classes   =  3003
    obj array classes  =     6
    type array classes =     8
Updating ConstMethods ... done. 
Removing unshareable information ... done. 
Shared symbol table stats -------- base: 0x0000000800000000
Number of entries       :     62973
Total bytes used        :    562160
Average bytes per entry :     9.000
Average bucket size     :     4.000
Variance of bucket size :     4.044
Std. dev. of bucket size:     2.011
Maximum bucket size     :        14
ro space:   9186888 [ 40.0% of total] out of  16777216 bytes [54.8% used] at 0x0000000800000000
rw space:  12979792 [ 56.5% of total] out of  16777216 bytes [77.4% used] at 0x0000000801000000
md space:    765088 [  3.3% of total] out of   4194304 bytes [18.2% used] at 0x0000000802000000
mc space:     34053 [  0.1% of total] out of    131072 bytes [26.0% used] at 0x0000000802400000
st space:         0 [  0.0% of total] out of         0 bytes [100.0% used] at 0x0000000000000000
total   :  22965821 [100.0% of total] out of  37879808 bytes [60.6% used]
Dumping shared data to file: 
   ./appcds.jsa
Shared file region 0: 0x8c2e48 bytes, addr 0x0000000800000000 file offset 0x 10000
Shared file region 1: 0xc60e50 bytes, addr 0x0000000801000000 file offset 0x8e0000
Shared file region 2: 0x baca0 bytes, addr 0x0000000802000000 file offset 0x1550000
Shared file region 3: 0x  8505 bytes, addr 0x0000000802400000 file offset 0x1610000
Shared file region 4: 0x     0 bytes, addr 0x0000000000000000 file offset 0x1620000
Shared file region 5: 0x     0 bytes, addr 0x0000000000000000 file offset 0x1620000
Detailed metadata info (rw includes md and mc):
                        ro_cnt   ro_bytes     % |   rw_cnt   rw_bytes     % |  all_cnt  all_bytes     %
--------------------+---------------------------+---------------------------+--------------------------
Unknown             :        1         48   0.0 |        1         48   0.0 |        2         96   0.0
Class               :        0          0   0.0 |     3017    2467016  17.9 |     3017    2467016  10.7
Symbol              :    62973    2332872  25.4 |        0          0   0.0 |    62973    2332872  10.2
TypeArrayU1         :    15164     557208   6.1 |     3025     498752   3.6 |    18189    1055960   4.6
TypeArrayU2         :     6125     328312   3.6 |        0          0   0.0 |     6125     328312   1.4
TypeArrayU4         :     3146     183680   2.0 |        0          0   0.0 |     3146     183680   0.8
TypeArrayU8         :     4739     384744   4.2 |        0          0   0.0 |     4739     384744   1.7
TypeArrayOther      :        0          0   0.0 |        0          0   0.0 |        0          0   0.0
Method              :        0          0   0.0 |    37555    3620112  26.3 |    37555    3620112  15.8
ConstMethod         :    37555    5394648  58.7 |        0          0   0.0 |    37555    5394648  23.5
MethodData          :        0          0   0.0 |        0          0   0.0 |        0          0   0.0
ConstantPool        :        0          0   0.0 |     3025    3973288  28.8 |     3025    3973288  17.3
ConstantPoolCache   :        0          0   0.0 |     3003    2420576  17.6 |     3003    2420576  10.5
Annotation          :       37       1184   0.0 |        0          0   0.0 |       37       1184   0.0
MethodCounters      :        0          0   0.0 |        0          0   0.0 |        0          0   0.0
Deallocated         :       42       4192   0.0 |        0          0   0.0 |       42       4192   0.0
SymbolHashentry     :        0          0   0.0 |    62973     499164   3.6 |    62973     499164   2.2
SymbolBucket        :        0          0   0.0 |    15744      62980   0.5 |    15744      62980   0.3
Other               :        0          0   0.0 |        0     236997   1.7 |        0     236997   1.0
--------------------+---------------------------+---------------------------+--------------------------
Total               :   129782    9186888 100.0 |   128343   13778933 100.0 |   258125   22965821 100.0

[STDERR]

Command line: [C:\\tmp\\sharedArchive-Win-8098815\\jdk\\bin\\java.exe -cp C:\\tools\\jtreg\\latest\\lib\\javatest.jar;C:\\tools\\jtreg\\latest\\lib\\jtreg.jar;C:\\tmp\\sharedArchive-Win-8098815\\resultsWithFlags\\JTwork\\classes\\closed\\runtime\\AppCDS;C:\\tmp\\sharedArchive-Win-8098815\\test\\hotspot\\test\\closed\\runtime\\AppCDS;C:\\tmp\\sharedArchive-Win-8098815\\resultsWithFlags\\JTwork\\classes\\testlibrary -server -Xmixed -XX:MaxRAMFraction=8 -XX:+CreateCoredumpOnCrash -XX:+UseG1GC -XX:MaxRAMFraction=8 -XX:SharedArchiveFile=./appcds.jsa -XX:+UnlockCommercialFeatures -XX:+UseAppCDS -Xshare:on -showversion -cp C:\\tmp\\sharedArchive-Win-8098815\\resultsWithFlags\\JTwork\\classes\\closed\\runtime\\AppCDS\\hi.jar;C:\\tmp\\sharedArchive-Win-8098815\\resultsWithFlags\\JTwork\\classes\\closed\\runtime\\AppCDS\\greet.jar -Xverify:none Hi ]
[ELAPSED: 321 ms]
[STDOUT]
Hi, how are you?

[STDERR]
java version "1.9.0-internal-fastdebug"
Java(TM) SE Runtime Environment (build 1.9.0-internal-fastdebug-20150617172159.trbenson.hs-rt-b00)
Java HotSpot(TM) 64-Bit Server VM (build 1.9.0-internal-20150617172159.trbenson.hs-rt-b00, mixed mode, sharing)


Test case [6]: dumping app with -Xverify:none, run with -Xverify:remote
Command line: [C:\\tmp\\sharedArchive-Win-8098815\\jdk\\bin\\java.exe -cp C:\\tools\\jtreg\\latest\\lib\\javatest.jar;C:\\tools\\jtreg\\latest\\lib\\jtreg.jar;C:\\tmp\\sharedArchive-Win-8098815\\resultsWithFlags\\JTwork\\classes\\closed\\runtime\\AppCDS;C:\\tmp\\sharedArchive-Win-8098815\\test\\hotspot\\test\\closed\\runtime\\AppCDS;C:\\tmp\\sharedArchive-Win-8098815\\resultsWithFlags\\JTwork\\classes\\testlibrary -server -Xmixed -XX:MaxRAMFraction=8 -XX:+CreateCoredumpOnCrash -XX:+UseG1GC -XX:MaxRAMFraction=8 -showversion -XX:+UnlockCommercialFeatures -XX:SharedArchiveFile=./appcds.jsa -XX:+UseAppCDS -Xshare:dump -XX:+PrintSharedSpaces -cp C:\\tmp\\sharedArchive-Win-8098815\\resultsWithFlags\\JTwork\\classes\\closed\\runtime\\AppCDS\\hi.jar;C:\\tmp\\sharedArchive-Win-8098815\\resultsWithFlags\\JTwork\\classes\\closed\\runtime\\AppCDS\\greet.jar -XX:ExtraSharedClassListFile=C:\\tmp\\sharedArchive-Win-8098815\\resultsWithFlags\\JTwork\\classes\\closed\\runtime\\AppCDS\\VerifierTest-test.classlist -Xverify:none -XX:+UnlockDiagnosticVMOptions -Xms256m -Xmx256m ]
[ELAPSED: 865 ms]
[STDOUT]
Allocated shared space: 37879808 bytes at 0x0000000800000000
Loading classes to share ...
Preload Warning: Cannot find java/awt/GraphicsEnvironment$1
Preload Warning: Cannot find java/lang/Compiler$1
Preload Warning: Cannot find java/net/InetAddress$Cache
Preload Warning: Cannot find java/net/InetAddress$Cache$Type
Preload Warning: Cannot find java/net/InetAddress$CacheEntry
Preload Warning: Cannot find java/security/ProtectionDomain$3
Preload Warning: Cannot find javax/swing/JComponent$2
Preload Warning: Cannot find javax/swing/RepaintManager$1$1
Preload Warning: Cannot find javax/swing/TimerQueue$1
Preload Warning: Cannot find javax/swing/plaf/metal/MetalLookAndFeel$MetalLazyValue
Preload Warning: Cannot find javax/swing/plaf/metal/MetalLookAndFeel$MetalLazyValue$1
Preload Warning: Cannot find javax/swing/text/AbstractDocument$InsertStringResult
Preload Warning: Cannot find sun/awt/EventQueueDelegate
Preload Warning: Cannot find sun/awt/WindowClosingListener
Preload Warning: Cannot find sun/awt/WindowClosingSupport
Preload Warning: Cannot find sun/awt/windows/WToolkit$3$1
Preload Warning: Cannot find sun/java2d/Disposer$2
Preload Warning: Cannot find sun/java2d/d3d/D3DScreenUpdateManager$1
Preload Warning: Cannot find sun/java2d/d3d/D3DScreenUpdateManager$1$1
Preload Warning: Cannot find sun/java2d/pipe/RenderingEngine$1
Preload Warning: Cannot find sun/misc/ExtensionDependency
Preload Warning: Cannot find sun/swing/SwingLazyValue
Preload Warning: Cannot find sun/swing/SwingLazyValue$1
Preload Warning: Cannot find sun/swing/SwingUtilities2$2
Loading classes to share: done.
Shared spaces: preloaded 2356 classes
Rewriting and linking classes ...
Rewriting and linking classes: done
Number of classes 2373
    instance classes   =  2359
    obj array classes  =     6
    type array classes =     8
Updating ConstMethods ... done. 
Removing unshareable information ... done. 
Shared symbol table stats -------- base: 0x0000000800000000
Number of entries       :     57108
Total bytes used        :    509604
Average bytes per entry :     9.000
Average bucket size     :     4.000
Variance of bucket size :     4.054
Std. dev. of bucket size:     2.014
Maximum bucket size     :        14
ro space:   7932736 [ 40.9% of total] out of  16777216 bytes [47.3% used] at 0x0000000800000000
rw space:  10771712 [ 55.5% of total] out of  16777216 bytes [64.2% used] at 0x0000000801000000
md space:    680680 [  3.5% of total] out of   4194304 bytes [16.2% used] at 0x0000000802000000
mc space:     34053 [  0.2% of total] out of    131072 bytes [26.0% used] at 0x0000000802400000
st space:         0 [  0.0% of total] out of         0 bytes [100.0% used] at 0x0000000000000000
total   :  19419181 [100.0% of total] out of  37879808 bytes [51.3% used]
Dumping shared data to file: 
   ./appcds.jsa
Shared file region 0: 0x790b40 bytes, addr 0x0000000800000000 file offset 0x 10000
Shared file region 1: 0xa45d00 bytes, addr 0x0000000801000000 file offset 0x7b0000
Shared file region 2: 0x a62e8 bytes, addr 0x0000000802000000 file offset 0x1200000
Shared file region 3: 0x  8505 bytes, addr 0x0000000802400000 file offset 0x12b0000
Shared file region 4: 0x     0 bytes, addr 0x0000000000000000 file offset 0x12c0000
Shared file region 5: 0x     0 bytes, addr 0x0000000000000000 file offset 0x12c0000
Detailed metadata info (rw includes md and mc):
                        ro_cnt   ro_bytes     % |   rw_cnt   rw_bytes     % |  all_cnt  all_bytes     %
--------------------+---------------------------+---------------------------+--------------------------
Unknown             :        1         48   0.0 |        1         48   0.0 |        2         96   0.0
Class               :        0          0   0.0 |     2373    1888888  16.4 |     2373    1888888   9.7
Symbol              :    57108    2103376  26.5 |        0          0   0.0 |    57108    2103376  10.8
TypeArrayU1         :    13194     479288   6.0 |     2373     419112   3.6 |    15567     898400   4.6
TypeArrayU2         :     4938     280192   3.5 |        0          0   0.0 |     4938     280192   1.4
TypeArrayU4         :     2484     154000   1.9 |        0          0   0.0 |     2484     154000   0.8
TypeArrayU8         :     3843     325888   4.1 |        0          0   0.0 |     3843     325888   1.7
TypeArrayOther      :        0          0   0.0 |        0          0   0.0 |        0          0   0.0
Method              :        0          0   0.0 |    31919    3078144  26.8 |    31919    3078144  15.9
ConstMethod         :    31919    4585576  57.8 |        0          0   0.0 |    31919    4585576  23.6
MethodData          :        0          0   0.0 |        0          0   0.0 |        0          0   0.0
ConstantPool        :        0          0   0.0 |     2373    3340072  29.1 |     2373    3340072  17.2
ConstantPoolCache   :        0          0   0.0 |     2359    2045448  17.8 |     2359    2045448  10.5
Annotation          :       32       1024   0.0 |        0          0   0.0 |       32       1024   0.0
MethodCounters      :        0          0   0.0 |        0          0   0.0 |        0          0   0.0
Deallocated         :       26       3344   0.0 |        0          0   0.0 |       26       3344   0.0
SymbolHashentry     :        0          0   0.0 |    57108     452472   3.9 |    57108     452472   2.3
SymbolBucket        :        0          0   0.0 |    14278      57116   0.5 |    14278      57116   0.3
Other               :        0          0   0.0 |        0     205145   1.8 |        0     205145   1.1
--------------------+---------------------------+---------------------------+--------------------------
Total               :   113545    7932736 100.0 |   112784   11486445 100.0 |   226329   19419181 100.0

[STDERR]

Command line: [C:\\tmp\\sharedArchive-Win-8098815\\jdk\\bin\\java.exe -cp C:\\tools\\jtreg\\latest\\lib\\javatest.jar;C:\\tools\\jtreg\\latest\\lib\\jtreg.jar;C:\\tmp\\sharedArchive-Win-8098815\\resultsWithFlags\\JTwork\\classes\\closed\\runtime\\AppCDS;C:\\tmp\\sharedArchive-Win-8098815\\test\\hotspot\\test\\closed\\runtime\\AppCDS;C:\\tmp\\sharedArchive-Win-8098815\\resultsWithFlags\\JTwork\\classes\\testlibrary -server -Xmixed -XX:MaxRAMFraction=8 -XX:+CreateCoredumpOnCrash -XX:+UseG1GC -XX:MaxRAMFraction=8 -XX:SharedArchiveFile=./appcds.jsa -XX:+UnlockCommercialFeatures -XX:+UseAppCDS -Xshare:on -showversion -cp C:\\tmp\\sharedArchive-Win-8098815\\resultsWithFlags\\JTwork\\classes\\closed\\runtime\\AppCDS\\hi.jar;C:\\tmp\\sharedArchive-Win-8098815\\resultsWithFlags\\JTwork\\classes\\closed\\runtime\\AppCDS\\greet.jar -Xverify:remote Hi ]
[ELAPSED: 122 ms]
[STDOUT]
Error occurred during initialization of VM
Unable to use shared archive.

[STDERR]
An error has occurred while processing the shared archive file.
The shared archive file was created with less restrictive verification setting than the current setting.

Test case [7]: dumping app with -Xverify:none, run with -Xverify:all
Command line: [C:\\tmp\\sharedArchive-Win-8098815\\jdk\\bin\\java.exe -cp C:\\tools\\jtreg\\latest\\lib\\javatest.jar;C:\\tools\\jtreg\\latest\\lib\\jtreg.jar;C:\\tmp\\sharedArchive-Win-8098815\\resultsWithFlags\\JTwork\\classes\\closed\\runtime\\AppCDS;C:\\tmp\\sharedArchive-Win-8098815\\test\\hotspot\\test\\closed\\runtime\\AppCDS;C:\\tmp\\sharedArchive-Win-8098815\\resultsWithFlags\\JTwork\\classes\\testlibrary -server -Xmixed -XX:MaxRAMFraction=8 -XX:+CreateCoredumpOnCrash -XX:+UseG1GC -XX:MaxRAMFraction=8 -showversion -XX:+UnlockCommercialFeatures -XX:SharedArchiveFile=./appcds.jsa -XX:+UseAppCDS -Xshare:dump -XX:+PrintSharedSpaces -cp C:\\tmp\\sharedArchive-Win-8098815\\resultsWithFlags\\JTwork\\classes\\closed\\runtime\\AppCDS\\hi.jar;C:\\tmp\\sharedArchive-Win-8098815\\resultsWithFlags\\JTwork\\classes\\closed\\runtime\\AppCDS\\greet.jar -XX:ExtraSharedClassListFile=C:\\tmp\\sharedArchive-Win-8098815\\resultsWithFlags\\JTwork\\classes\\closed\\runtime\\AppCDS\\VerifierTest-test.classlist -Xverify:none -XX:+UnlockDiagnosticVMOptions -Xms256m -Xmx256m ]
[ELAPSED: 857 ms]
[STDOUT]
Allocated shared space: 37879808 bytes at 0x0000000800000000
Loading classes to share ...
Preload Warning: Cannot find java/awt/GraphicsEnvironment$1
Preload Warning: Cannot find java/lang/Compiler$1
Preload Warning: Cannot find java/net/InetAddress$Cache
Preload Warning: Cannot find java/net/InetAddress$Cache$Type
Preload Warning: Cannot find java/net/InetAddress$CacheEntry
Preload Warning: Cannot find java/security/ProtectionDomain$3
Preload Warning: Cannot find javax/swing/JComponent$2
Preload Warning: Cannot find javax/swing/RepaintManager$1$1
Preload Warning: Cannot find javax/swing/TimerQueue$1
Preload Warning: Cannot find javax/swing/plaf/metal/MetalLookAndFeel$MetalLazyValue
Preload Warning: Cannot find javax/swing/plaf/metal/MetalLookAndFeel$MetalLazyValue$1
Preload Warning: Cannot find javax/swing/text/AbstractDocument$InsertStringResult
Preload Warning: Cannot find sun/awt/EventQueueDelegate
Preload Warning: Cannot find sun/awt/WindowClosingListener
Preload Warning: Cannot find sun/awt/WindowClosingSupport
Preload Warning: Cannot find sun/awt/windows/WToolkit$3$1
Preload Warning: Cannot find sun/java2d/Disposer$2
Preload Warning: Cannot find sun/java2d/d3d/D3DScreenUpdateManager$1
Preload Warning: Cannot find sun/java2d/d3d/D3DScreenUpdateManager$1$1
Preload Warning: Cannot find sun/java2d/pipe/RenderingEngine$1
Preload Warning: Cannot find sun/misc/ExtensionDependency
Preload Warning: Cannot find sun/swing/SwingLazyValue
Preload Warning: Cannot find sun/swing/SwingLazyValue$1
Preload Warning: Cannot find sun/swing/SwingUtilities2$2
Loading classes to share: done.
Shared spaces: preloaded 2356 classes
Rewriting and linking classes ...
Rewriting and linking classes: done
Number of classes 2373
    instance classes   =  2359
    obj array classes  =     6
    type array classes =     8
Updating ConstMethods ... done. 
Removing unshareable information ... done. 
Shared symbol table stats -------- base: 0x0000000800000000
Number of entries       :     57108
Total bytes used        :    509604
Average bytes per entry :     9.000
Average bucket size     :     4.000
Variance of bucket size :     4.054
Std. dev. of bucket size:     2.014
Maximum bucket size     :        14
ro space:   7932736 [ 40.9% of total] out of  16777216 bytes [47.3% used] at 0x0000000800000000
rw space:  10771712 [ 55.5% of total] out of  16777216 bytes [64.2% used] at 0x0000000801000000
md space:    680680 [  3.5% of total] out of   4194304 bytes [16.2% used] at 0x0000000802000000
mc space:     34053 [  0.2% of total] out of    131072 bytes [26.0% used] at 0x0000000802400000
st space:         0 [  0.0% of total] out of         0 bytes [100.0% used] at 0x0000000000000000
total   :  19419181 [100.0% of total] out of  37879808 bytes [51.3% used]
Dumping shared data to file: 
   ./appcds.jsa
Shared file region 0: 0x790b40 bytes, addr 0x0000000800000000 file offset 0x 10000
Shared file region 1: 0xa45d00 bytes, addr 0x0000000801000000 file offset 0x7b0000
Shared file region 2: 0x a62e8 bytes, addr 0x0000000802000000 file offset 0x1200000
Shared file region 3: 0x  8505 bytes, addr 0x0000000802400000 file offset 0x12b0000
Shared file region 4: 0x     0 bytes, addr 0x0000000000000000 file offset 0x12c0000
Shared file region 5: 0x     0 bytes, addr 0x0000000000000000 file offset 0x12c0000
Detailed metadata info (rw includes md and mc):
                        ro_cnt   ro_bytes     % |   rw_cnt   rw_bytes     % |  all_cnt  all_bytes     %
--------------------+---------------------------+---------------------------+--------------------------
Unknown             :        1         48   0.0 |        1         48   0.0 |        2         96   0.0
Class               :        0          0   0.0 |     2373    1888888  16.4 |     2373    1888888   9.7
Symbol              :    57108    2103376  26.5 |        0          0   0.0 |    57108    2103376  10.8
TypeArrayU1         :    13194     479288   6.0 |     2373     419112   3.6 |    15567     898400   4.6
TypeArrayU2         :     4938     280192   3.5 |        0          0   0.0 |     4938     280192   1.4
TypeArrayU4         :     2484     154000   1.9 |        0          0   0.0 |     2484     154000   0.8
TypeArrayU8         :     3843     325888   4.1 |        0          0   0.0 |     3843     325888   1.7
TypeArrayOther      :        0          0   0.0 |        0          0   0.0 |        0          0   0.0
Method              :        0          0   0.0 |    31919    3078144  26.8 |    31919    3078144  15.9
ConstMethod         :    31919    4585576  57.8 |        0          0   0.0 |    31919    4585576  23.6
MethodData          :        0          0   0.0 |        0          0   0.0 |        0          0   0.0
ConstantPool        :        0          0   0.0 |     2373    3340072  29.1 |     2373    3340072  17.2
ConstantPoolCache   :        0          0   0.0 |     2359    2045448  17.8 |     2359    2045448  10.5
Annotation          :       32       1024   0.0 |        0          0   0.0 |       32       1024   0.0
MethodCounters      :        0          0   0.0 |        0          0   0.0 |        0          0   0.0
Deallocated         :       26       3344   0.0 |        0          0   0.0 |       26       3344   0.0
SymbolHashentry     :        0          0   0.0 |    57108     452472   3.9 |    57108     452472   2.3
SymbolBucket        :        0          0   0.0 |    14278      57116   0.5 |    14278      57116   0.3
Other               :        0          0   0.0 |        0     205145   1.8 |        0     205145   1.1
--------------------+---------------------------+---------------------------+--------------------------
Total               :   113545    7932736 100.0 |   112784   11486445 100.0 |   226329   19419181 100.0

[STDERR]

Command line: [C:\\tmp\\sharedArchive-Win-8098815\\jdk\\bin\\java.exe -cp C:\\tools\\jtreg\\latest\\lib\\javatest.jar;C:\\tools\\jtreg\\latest\\lib\\jtreg.jar;C:\\tmp\\sharedArchive-Win-8098815\\resultsWithFlags\\JTwork\\classes\\closed\\runtime\\AppCDS;C:\\tmp\\sharedArchive-Win-8098815\\test\\hotspot\\test\\closed\\runtime\\AppCDS;C:\\tmp\\sharedArchive-Win-8098815\\resultsWithFlags\\JTwork\\classes\\testlibrary -server -Xmixed -XX:MaxRAMFraction=8 -XX:+CreateCoredumpOnCrash -XX:+UseG1GC -XX:MaxRAMFraction=8 -XX:SharedArchiveFile=./appcds.jsa -XX:+UnlockCommercialFeatures -XX:+UseAppCDS -Xshare:on -showversion -cp C:\\tmp\\sharedArchive-Win-8098815\\resultsWithFlags\\JTwork\\classes\\closed\\runtime\\AppCDS\\hi.jar;C:\\tmp\\sharedArchive-Win-8098815\\resultsWithFlags\\JTwork\\classes\\closed\\runtime\\AppCDS\\greet.jar -Xverify:all Hi ]
[ELAPSED: 105 ms]
[STDOUT]
Error occurred during initialization of VM
Unable to use shared archive.

[STDERR]
An error has occurred while processing the shared archive file.
The shared archive file was created with less restrictive verification setting than the current setting.

Test case [8]: dumping app with -Xverify:none, run with -Xverify:none
Command line: [C:\\tmp\\sharedArchive-Win-8098815\\jdk\\bin\\java.exe -cp C:\\tools\\jtreg\\latest\\lib\\javatest.jar;C:\\tools\\jtreg\\latest\\lib\\jtreg.jar;C:\\tmp\\sharedArchive-Win-8098815\\resultsWithFlags\\JTwork\\classes\\closed\\runtime\\AppCDS;C:\\tmp\\sharedArchive-Win-8098815\\test\\hotspot\\test\\closed\\runtime\\AppCDS;C:\\tmp\\sharedArchive-Win-8098815\\resultsWithFlags\\JTwork\\classes\\testlibrary -server -Xmixed -XX:MaxRAMFraction=8 -XX:+CreateCoredumpOnCrash -XX:+UseG1GC -XX:MaxRAMFraction=8 -showversion -XX:+UnlockCommercialFeatures -XX:SharedArchiveFile=./appcds.jsa -XX:+UseAppCDS -Xshare:dump -XX:+PrintSharedSpaces -cp C:\\tmp\\sharedArchive-Win-8098815\\resultsWithFlags\\JTwork\\classes\\closed\\runtime\\AppCDS\\hi.jar;C:\\tmp\\sharedArchive-Win-8098815\\resultsWithFlags\\JTwork\\classes\\closed\\runtime\\AppCDS\\greet.jar -XX:ExtraSharedClassListFile=C:\\tmp\\sharedArchive-Win-8098815\\resultsWithFlags\\JTwork\\classes\\closed\\runtime\\AppCDS\\VerifierTest-test.classlist -Xverify:none -XX:+UnlockDiagnosticVMOptions -Xms256m -Xmx256m ]
[ELAPSED: 873 ms]
[STDOUT]
Allocated shared space: 37879808 bytes at 0x0000000800000000
Loading classes to share ...
Preload Warning: Cannot find java/awt/GraphicsEnvironment$1
Preload Warning: Cannot find java/lang/Compiler$1
Preload Warning: Cannot find java/net/InetAddress$Cache
Preload Warning: Cannot find java/net/InetAddress$Cache$Type
Preload Warning: Cannot find java/net/InetAddress$CacheEntry
Preload Warning: Cannot find java/security/ProtectionDomain$3
Preload Warning: Cannot find javax/swing/JComponent$2
Preload Warning: Cannot find javax/swing/RepaintManager$1$1
Preload Warning: Cannot find javax/swing/TimerQueue$1
Preload Warning: Cannot find javax/swing/plaf/metal/MetalLookAndFeel$MetalLazyValue
Preload Warning: Cannot find javax/swing/plaf/metal/MetalLookAndFeel$MetalLazyValue$1
Preload Warning: Cannot find javax/swing/text/AbstractDocument$InsertStringResult
Preload Warning: Cannot find sun/awt/EventQueueDelegate
Preload Warning: Cannot find sun/awt/WindowClosingListener
Preload Warning: Cannot find sun/awt/WindowClosingSupport
Preload Warning: Cannot find sun/awt/windows/WToolkit$3$1
Preload Warning: Cannot find sun/java2d/Disposer$2
Preload Warning: Cannot find sun/java2d/d3d/D3DScreenUpdateManager$1
Preload Warning: Cannot find sun/java2d/d3d/D3DScreenUpdateManager$1$1
Preload Warning: Cannot find sun/java2d/pipe/RenderingEngine$1
Preload Warning: Cannot find sun/misc/ExtensionDependency
Preload Warning: Cannot find sun/swing/SwingLazyValue
Preload Warning: Cannot find sun/swing/SwingLazyValue$1
Preload Warning: Cannot find sun/swing/SwingUtilities2$2
Loading classes to share: done.
Shared spaces: preloaded 2356 classes
Rewriting and linking classes ...
Rewriting and linking classes: done
Number of classes 2373
    instance classes   =  2359
    obj array classes  =     6
    type array classes =     8
Updating ConstMethods ... done. 
Removing unshareable information ... done. 
Shared symbol table stats -------- base: 0x0000000800000000
Number of entries       :     57108
Total bytes used        :    509604
Average bytes per entry :     9.000
Average bucket size     :     4.000
Variance of bucket size :     4.054
Std. dev. of bucket size:     2.014
Maximum bucket size     :        14
ro space:   7932736 [ 40.9% of total] out of  16777216 bytes [47.3% used] at 0x0000000800000000
rw space:  10771712 [ 55.5% of total] out of  16777216 bytes [64.2% used] at 0x0000000801000000
md space:    680680 [  3.5% of total] out of   4194304 bytes [16.2% used] at 0x0000000802000000
mc space:     34053 [  0.2% of total] out of    131072 bytes [26.0% used] at 0x0000000802400000
st space:         0 [  0.0% of total] out of         0 bytes [100.0% used] at 0x0000000000000000
total   :  19419181 [100.0% of total] out of  37879808 bytes [51.3% used]
Dumping shared data to file: 
   ./appcds.jsa
Shared file region 0: 0x790b40 bytes, addr 0x0000000800000000 file offset 0x 10000
Shared file region 1: 0xa45d00 bytes, addr 0x0000000801000000 file offset 0x7b0000
Shared file region 2: 0x a62e8 bytes, addr 0x0000000802000000 file offset 0x1200000
Shared file region 3: 0x  8505 bytes, addr 0x0000000802400000 file offset 0x12b0000
Shared file region 4: 0x     0 bytes, addr 0x0000000000000000 file offset 0x12c0000
Shared file region 5: 0x     0 bytes, addr 0x0000000000000000 file offset 0x12c0000
Detailed metadata info (rw includes md and mc):
                        ro_cnt   ro_bytes     % |   rw_cnt   rw_bytes     % |  all_cnt  all_bytes     %
--------------------+---------------------------+---------------------------+--------------------------
Unknown             :        1         48   0.0 |        1         48   0.0 |        2         96   0.0
Class               :        0          0   0.0 |     2373    1888888  16.4 |     2373    1888888   9.7
Symbol              :    57108    2103376  26.5 |        0          0   0.0 |    57108    2103376  10.8
TypeArrayU1         :    13194     479288   6.0 |     2373     419112   3.6 |    15567     898400   4.6
TypeArrayU2         :     4938     280192   3.5 |        0          0   0.0 |     4938     280192   1.4
TypeArrayU4         :     2484     154000   1.9 |        0          0   0.0 |     2484     154000   0.8
TypeArrayU8         :     3843     325888   4.1 |        0          0   0.0 |     3843     325888   1.7
TypeArrayOther      :        0          0   0.0 |        0          0   0.0 |        0          0   0.0
Method              :        0          0   0.0 |    31919    3078144  26.8 |    31919    3078144  15.9
ConstMethod         :    31919    4585576  57.8 |        0          0   0.0 |    31919    4585576  23.6
MethodData          :        0          0   0.0 |        0          0   0.0 |        0          0   0.0
ConstantPool        :        0          0   0.0 |     2373    3340072  29.1 |     2373    3340072  17.2
ConstantPoolCache   :        0          0   0.0 |     2359    2045448  17.8 |     2359    2045448  10.5
Annotation          :       32       1024   0.0 |        0          0   0.0 |       32       1024   0.0
MethodCounters      :        0          0   0.0 |        0          0   0.0 |        0          0   0.0
Deallocated         :       26       3344   0.0 |        0          0   0.0 |       26       3344   0.0
SymbolHashentry     :        0          0   0.0 |    57108     452472   3.9 |    57108     452472   2.3
SymbolBucket        :        0          0   0.0 |    14278      57116   0.5 |    14278      57116   0.3
Other               :        0          0   0.0 |        0     205145   1.8 |        0     205145   1.1
--------------------+---------------------------+---------------------------+--------------------------
Total               :   113545    7932736 100.0 |   112784   11486445 100.0 |   226329   19419181 100.0

[STDERR]

Command line: [C:\\tmp\\sharedArchive-Win-8098815\\jdk\\bin\\java.exe -cp C:\\tools\\jtreg\\latest\\lib\\javatest.jar;C:\\tools\\jtreg\\latest\\lib\\jtreg.jar;C:\\tmp\\sharedArchive-Win-8098815\\resultsWithFlags\\JTwork\\classes\\closed\\runtime\\AppCDS;C:\\tmp\\sharedArchive-Win-8098815\\test\\hotspot\\test\\closed\\runtime\\AppCDS;C:\\tmp\\sharedArchive-Win-8098815\\resultsWithFlags\\JTwork\\classes\\testlibrary -server -Xmixed -XX:MaxRAMFraction=8 -XX:+CreateCoredumpOnCrash -XX:+UseG1GC -XX:MaxRAMFraction=8 -XX:SharedArchiveFile=./appcds.jsa -XX:+UnlockCommercialFeatures -XX:+UseAppCDS -Xshare:on -showversion -cp C:\\tmp\\sharedArchive-Win-8098815\\resultsWithFlags\\JTwork\\classes\\closed\\runtime\\AppCDS\\hi.jar;C:\\tmp\\sharedArchive-Win-8098815\\resultsWithFlags\\JTwork\\classes\\closed\\runtime\\AppCDS\\greet.jar -Xverify:none Hi ]
[ELAPSED: 337 ms]
[STDOUT]
Hi, how are you?

[STDERR]
java version "1.9.0-internal-fastdebug"
Java(TM) SE Runtime Environment (build 1.9.0-internal-fastdebug-20150617172159.trbenson.hs-rt-b00)
Java HotSpot(TM) 64-Bit Server VM (build 1.9.0-internal-20150617172159.trbenson.hs-rt-b00, mixed mode, sharing)


----------System.err:(17/598)----------
 stdout: [Error occurred during initialization of VM
Unable to use shared archive.
];
 stderr: [An error has occurred while processing the shared archive file.
The shared archive file was created with less restrictive verification setting than the current setting.
]
 exitValue = 1

 stdout: [Error occurred during initialization of VM
Unable to use shared archive.
];
 stderr: [An error has occurred while processing the shared archive file.
The shared archive file was created with less restrictive verification setting than the current setting.
]
 exitValue = 1

STATUS:Passed.
----------rerun:(21/2429)*----------
PATH='C:\\ProgramData\\Oracle\\Java\\javapath;C:\\windows\\system32;C:\\windows;C:\\windows\\System32\\Wbem;C:\\windows\\System32\\WindowsPowerShell\\v1.0\\;C:\\Program Files\\TortoiseHg\\;C:\\Program Files (x86)\\Windows Kits\\8.0\\Windows Performance Toolkit\\;C:\\Program Files\\Microsoft SQL Server\\110\\Tools\\Binn\\;C:\\Program Files\\Microsoft Windows Performance Toolkit\\;C:\\Program Files (x86)\\Skype\\Phone\\' \\
SystemDrive=C: \\
SystemRoot='C:\\windows' \\
TEMP='C:\\Users\\mseledts\\AppData\\Local\\Temp' \\
TMP='C:\\Users\\mseledts\\AppData\\Local\\Temp' \\
windir='C:\\windows' \\
CLASSPATH='C:\\tools\\jtreg\\latest\\lib\\javatest.jar;C:\\tools\\jtreg\\latest\\lib\\jtreg.jar;C:\\tmp\\sharedArchive-Win-8098815\\resultsWithFlags\\JTwork\\classes\\closed\\runtime\\AppCDS;C:\\tmp\\sharedArchive-Win-8098815\\test\\hotspot\\test\\closed\\runtime\\AppCDS;C:\\tmp\\sharedArchive-Win-8098815\\resultsWithFlags\\JTwork\\classes\\testlibrary' \\
    'C:\\tmp\\sharedArchive-Win-8098815\\jdk\\bin\\java' \\
        -Dtest.src='C:\\tmp\\sharedArchive-Win-8098815\\test\\hotspot\\test\\closed\\runtime\\AppCDS' \\
        -Dtest.src.path='C:\\tmp\\sharedArchive-Win-8098815\\test\\hotspot\\test\\closed\\runtime\\AppCDS;C:\\tmp\\sharedArchive-Win-8098815\\test\\hotspot\\test\\testlibrary' \\
        -Dtest.classes='C:\\tmp\\sharedArchive-Win-8098815\\resultsWithFlags\\JTwork\\classes\\closed\\runtime\\AppCDS' \\
        -Dtest.class.path='C:\\tmp\\sharedArchive-Win-8098815\\resultsWithFlags\\JTwork\\classes\\closed\\runtime\\AppCDS;C:\\tmp\\sharedArchive-Win-8098815\\resultsWithFlags\\JTwork\\classes\\testlibrary' \\
        -Dtest.vm.opts='-server -Xmixed -XX:MaxRAMFraction=8 -XX:+CreateCoredumpOnCrash -XX:+UseG1GC -XX:MaxRAMFraction=8' \\
        -Dtest.tool.vm.opts='-J-server -J-Xmixed -J-XX:MaxRAMFraction=8 -J-XX:+CreateCoredumpOnCrash -J-XX:+UseG1GC -J-XX:MaxRAMFraction=8' \\
        -Dtest.compiler.opts= \\
        -Dtest.java.opts= \\
        -Dtest.jdk='C:\\tmp\\sharedArchive-Win-8098815\\jdk' \\
        -Dcompile.jdk='C:\\tmp\\sharedArchive-Win-8098815\\jdk' \\
        -Dtest.timeout.factor=1.0 \\
        -server -Xmixed -XX:MaxRAMFraction=8 -XX:+CreateCoredumpOnCrash -XX:+UseG1GC -XX:MaxRAMFraction=8 \\
        com.sun.javatest.regtest.agent.MainWrapper 'C:\\tmp\\sharedArchive-Win-8098815\\resultsWithFlags\\JTwork\\classes\\closed\\runtime\\AppCDS\\VerifierTest.jta'
result: Passed. Execution successful


test result: Passed. Execution successful
