#Test Results (version 2)
#Wed Jun 17 15:26:56 PDT 2015
#checksum:328d64152f509577
#-----testdescription-----
$file=C\:\\tmp\\sharedArchive-Win-8098815\\test\\hotspot\\test\\closed\\runtime\\AppCDS\\SharedArchiveConsistency.java
$root=C\:\\tmp\\sharedArchive-Win-8098815\\test\\hotspot\\test
keywords=othervm
library=/testlibrary /../../test/lib
modules=java.base/sun.misc java.compiler java.management jdk.jartool/sun.tools.jar jdk.jvmstat/sun.jvmstat.monitor
requires=(vm.opt.UseCompressedOops \=\= null) | (vm.opt.UseCompressedOops \=\= true)
run=USER_SPECIFIED build jdk.test.lib.* sun.hotspot.WhiteBox\r\nUSER_SPECIFIED build SharedArchiveConsistency JarBuilder\r\nUSER_SPECIFIED compile test-classes/Hello.java\r\nUSER_SPECIFIED main ClassFileInstaller sun.hotspot.WhiteBox\r\nUSER_SPECIFIED main/othervm -Xbootclasspath/a\:. -XX\:+UnlockDiagnosticVMOptions -XX\:+WhiteBoxAPI SharedArchiveConsistency\r\n
source=SharedArchiveConsistency.java
title=SharedArchiveConsistency AppCDS does not support uncompressed oops

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

#-----testresult-----
description=file\:/C\:/tmp/sharedArchive-Win-8098815/test/hotspot/test/closed/runtime/AppCDS/SharedArchiveConsistency.java
elapsed=24540 0\:00\:24.540
end=Wed Jun 17 15\:26\:56 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 build compile compile build compile compile build main build main
start=Wed Jun 17 15\:26\:32 PDT 2015
test=closed/runtime/AppCDS/SharedArchiveConsistency.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:build
----------messages:(3/162)----------
command: build jdk.test.lib.* sun.hotspot.WhiteBox
reason: User specified action: run build jdk.test.lib.* sun.hotspot.WhiteBox 
elapsed time (seconds): 9.853
result: Passed. Build successful

#section:compile
----------messages:(3/2001)*----------
command: compile -XDignore.symbol.file=true C:\\tmp\\sharedArchive-Win-8098815\\test\\hotspot\\test\\testlibrary\\jdk\\test\\lib\\Asserts.java C:\\tmp\\sharedArchive-Win-8098815\\test\\hotspot\\test\\testlibrary\\jdk\\test\\lib\\BuildHelper.java C:\\tmp\\sharedArchive-Win-8098815\\test\\hotspot\\test\\testlibrary\\jdk\\test\\lib\\ByteCodeLoader.java C:\\tmp\\sharedArchive-Win-8098815\\test\\hotspot\\test\\testlibrary\\jdk\\test\\lib\\DynamicVMOption.java C:\\tmp\\sharedArchive-Win-8098815\\test\\hotspot\\test\\testlibrary\\jdk\\test\\lib\\ExitCode.java C:\\tmp\\sharedArchive-Win-8098815\\test\\hotspot\\test\\testlibrary\\jdk\\test\\lib\\InfiniteLoop.java C:\\tmp\\sharedArchive-Win-8098815\\test\\hotspot\\test\\testlibrary\\jdk\\test\\lib\\InMemoryJavaCompiler.java C:\\tmp\\sharedArchive-Win-8098815\\test\\hotspot\\test\\testlibrary\\jdk\\test\\lib\\InputArguments.java C:\\tmp\\sharedArchive-Win-8098815\\test\\hotspot\\test\\testlibrary\\jdk\\test\\lib\\JDKToolFinder.java C:\\tmp\\sharedArchive-Win-8098815\\test\\hotspot\\test\\testlibrary\\jdk\\test\\lib\\JDKToolLauncher.java C:\\tmp\\sharedArchive-Win-8098815\\test\\hotspot\\test\\testlibrary\\jdk\\test\\lib\\OutputBuffer.java C:\\tmp\\sharedArchive-Win-8098815\\test\\hotspot\\test\\testlibrary\\jdk\\test\\lib\\PerfCounter.java C:\\tmp\\sharedArchive-Win-8098815\\test\\hotspot\\test\\testlibrary\\jdk\\test\\lib\\PerfCounters.java C:\\tmp\\sharedArchive-Win-8098815\\test\\hotspot\\test\\testlibrary\\jdk\\test\\lib\\Platform.java C:\\tmp\\sharedArchive-Win-8098815\\test\\hotspot\\test\\testlibrary\\jdk\\test\\lib\\ProcessTools.java C:\\tmp\\sharedArchive-Win-8098815\\test\\hotspot\\test\\testlibrary\\jdk\\test\\lib\\StreamPumper.java C:\\tmp\\sharedArchive-Win-8098815\\test\\hotspot\\test\\testlibrary\\jdk\\test\\lib\\TimeLimitedRunner.java C:\\tmp\\sharedArchive-Win-8098815\\test\\hotspot\\test\\testlibrary\\jdk\\test\\lib\\Utils.java
reason: .class file out of date or does not exist
elapsed time (seconds): 5.579
----------rerun:(25/2985)*----------
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;C:\\tmp\\sharedArchive-Win-8098815\\test\\test\\lib' \\
        -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;C:\\tmp\\sharedArchive-Win-8098815\\resultsWithFlags\\test\\lib' \\
        -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\\testlibrary' -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\\resultsWithFlags\\test\\lib' -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\\test\\lib' '@C:\\tmp\\sharedArchive-Win-8098815\\resultsWithFlags\\JTwork\\classes\\closed\\runtime\\AppCDS\\SharedArchiveConsistency.compile.0.jta'
----------System.out:(0/0)----------
----------System.err:(2/208)*----------
Note: C:\\tmp\\sharedArchive-Win-8098815\\test\\hotspot\\test\\testlibrary\\jdk\\test\\lib\\InMemoryJavaCompiler.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
result: Passed. Compilation successful

#section:compile
----------messages:(3/207)*----------
command: compile -XDignore.symbol.file=true C:\\tmp\\sharedArchive-Win-8098815\\test\\test\\lib\\sun\\hotspot\\WhiteBox.java
reason: .class file out of date or does not exist
elapsed time (seconds): 4.27
----------rerun:(25/2938)*----------
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;C:\\tmp\\sharedArchive-Win-8098815\\test\\test\\lib' \\
        -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;C:\\tmp\\sharedArchive-Win-8098815\\resultsWithFlags\\test\\lib' \\
        -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\\test\\lib' -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\\resultsWithFlags\\test\\lib' -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\\test\\lib' -XDignore.symbol.file=true 'C:\\tmp\\sharedArchive-Win-8098815\\test\\test\\lib\\sun\\hotspot\\WhiteBox.java'
----------System.out:(0/0)----------
----------System.err:(0/0)----------
result: Passed. Compilation successful

#section:build
----------messages:(3/162)----------
command: build SharedArchiveConsistency JarBuilder
reason: User specified action: run build SharedArchiveConsistency JarBuilder 
elapsed time (seconds): 4.392
result: Passed. Build successful

#section:compile
----------messages:(3/239)*----------
command: compile -XDignore.symbol.file=true C:\\tmp\\sharedArchive-Win-8098815\\test\\hotspot\\test\\closed\\runtime\\AppCDS\\SharedArchiveConsistency.java
reason: .class file out of date or does not exist
elapsed time (seconds): 4.392
----------rerun:(25/3000)*----------
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;C:\\tmp\\sharedArchive-Win-8098815\\test\\test\\lib' \\
        -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;C:\\tmp\\sharedArchive-Win-8098815\\resultsWithFlags\\test\\lib' \\
        -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;C:\\tmp\\sharedArchive-Win-8098815\\resultsWithFlags\\test\\lib' -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\\test\\lib' -XDignore.symbol.file=true 'C:\\tmp\\sharedArchive-Win-8098815\\test\\hotspot\\test\\closed\\runtime\\AppCDS\\SharedArchiveConsistency.java'
----------System.out:(0/0)----------
----------System.err:(0/0)----------
result: Passed. Compilation successful

#section:compile
----------messages:(3/225)*----------
command: compile C:\\tmp\\sharedArchive-Win-8098815\\test\\hotspot\\test\\closed\\runtime\\AppCDS\\test-classes\\Hello.java
reason: User specified action: run compile test-classes/Hello.java 
elapsed time (seconds): 3.823
----------rerun:(25/2968)*----------
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;C:\\tmp\\sharedArchive-Win-8098815\\test\\test\\lib' \\
        -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;C:\\tmp\\sharedArchive-Win-8098815\\resultsWithFlags\\test\\lib' \\
        -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;C:\\tmp\\sharedArchive-Win-8098815\\resultsWithFlags\\test\\lib' -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\\test\\lib' 'C:\\tmp\\sharedArchive-Win-8098815\\test\\hotspot\\test\\closed\\runtime\\AppCDS\\test-classes\\Hello.java'
----------System.out:(0/0)----------
----------System.err:(0/0)----------
result: Passed. Compilation successful

#section:build
----------messages:(3/104)----------
command: build ClassFileInstaller
reason: Named class compiled on demand
elapsed time (seconds): 0.0
result: Passed. All files up to date

#section:main
----------messages:(3/168)----------
command: main ClassFileInstaller sun.hotspot.WhiteBox
reason: User specified action: run main ClassFileInstaller sun.hotspot.WhiteBox 
elapsed time (seconds): 0.749
----------System.out:(0/0)----------
----------System.err:(1/16)----------
STATUS:Passed.
----------rerun:(21/2636)*----------
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\\resultsWithFlags\\test\\lib' \\
    '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;C:\\tmp\\sharedArchive-Win-8098815\\test\\test\\lib' \\
        -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;C:\\tmp\\sharedArchive-Win-8098815\\resultsWithFlags\\test\\lib' \\
        -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\\ClassFileInstaller.jta' sun.hotspot.WhiteBox
result: Passed. Execution successful

#section:build
----------messages:(3/110)----------
command: build SharedArchiveConsistency
reason: Named class compiled on demand
elapsed time (seconds): 0.0
result: Passed. All files up to date

#section:main
----------messages:(3/281)----------
command: main -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI SharedArchiveConsistency
reason: User specified action: run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI SharedArchiveConsistency 
elapsed time (seconds): 5.71
----------System.out:(212/16047)*----------
Current relative path is: C:\\tmp\\sharedArchive-Win-8098815\\resultsWithFlags\\JTwork\\scratch
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;C:\\tmp\\sharedArchive-Win-8098815\\resultsWithFlags\\test\\lib -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\\hello.jar -XX:ExtraSharedClassListFile=C:\\tmp\\sharedArchive-Win-8098815\\resultsWithFlags\\JTwork\\classes\\closed\\runtime\\AppCDS\\SharedArchiveConsistency-test.classlist ]
[ELAPSED: 1072 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 2353 classes
Rewriting and linking classes ...
Rewriting and linking classes: done
Number of classes 2370
    instance classes   =  2356
    obj array classes  =     6
    type array classes =     8
Updating ConstMethods ... done. 
Removing unshareable information ... done. 
Shared symbol table stats -------- base: 0x0000000800000000
Number of entries       :     57099
Total bytes used        :    509580
Average bytes per entry :     9.000
Average bucket size     :     4.000
Variance of bucket size :     4.014
Std. dev. of bucket size:     2.004
Maximum bucket size     :        14
ro space:   7931448 [ 40.9% of total] out of  16777216 bytes [47.3% used] at 0x0000000800000000
rw space:  10768088 [ 55.5% of total] out of  16777216 bytes [64.2% used] at 0x0000000801000000
md space:    680512 [  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   :  19414101 [100.0% of total] out of  37879808 bytes [51.3% used]
Dumping shared data to file: 
   ./appcds.jsa
Shared file region 0: 0x790638 bytes, addr 0x0000000800000000 file offset 0x 10000
Shared file region 1: 0xa44ed8 bytes, addr 0x0000000801000000 file offset 0x7b0000
Shared file region 2: 0x a6240 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 |     2370    1887336  16.4 |     2370    1887336   9.7
Symbol              :    57099    2103160  26.5 |        0          0   0.0 |    57099    2103160  10.8
TypeArrayU1         :    13191     479112   6.0 |     2370     418984   3.6 |    15561     898096   4.6
TypeArrayU2         :     4931     280024   3.5 |        0          0   0.0 |     4931     280024   1.4
TypeArrayU4         :     2481     153928   1.9 |        0          0   0.0 |     2481     153928   0.8
TypeArrayU8         :     3840     325624   4.1 |        0          0   0.0 |     3840     325624   1.7
TypeArrayOther      :        0          0   0.0 |        0          0   0.0 |        0          0   0.0
Method              :        0          0   0.0 |    31913    3077568  26.8 |    31913    3077568  15.9
ConstMethod         :    31913    4585184  57.8 |        0          0   0.0 |    31913    4585184  23.6
MethodData          :        0          0   0.0 |        0          0   0.0 |        0          0   0.0
ConstantPool        :        0          0   0.0 |     2370    3339104  29.1 |     2370    3339104  17.2
ConstantPoolCache   :        0          0   0.0 |     2356    2045048  17.8 |     2356    2045048  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 |    57099     452456   3.9 |    57099     452456   2.3
SymbolBucket        :        0          0   0.0 |    14276      57108   0.5 |    14276      57108   0.3
Other               :        0          0   0.0 |        0     205001   1.8 |        0     205001   1.1
--------------------+---------------------------+---------------------------+--------------------------
Total               :   113514    7931448 100.0 |   112755   11482653 100.0 |   226269   19414101 100.0

[STDERR]

1. Normal, should pass but may fail

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;C:\\tmp\\sharedArchive-Win-8098815\\resultsWithFlags\\test\\lib -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\\hello.jar Hello ]
[ELAPSED: 396 ms]
[STDOUT]
Hello World

[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)



2. Corrupt header, should fail

offset_path_misc_info = 592
path_misc_info_size   = 76
file_header_size      = 700
file_header_size (aligned to page) = 4096
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;C:\\tmp\\sharedArchive-Win-8098815\\resultsWithFlags\\test\\lib -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\\hello.jar Hello ]
[ELAPSED: 178 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 has the wrong version.


3. Corrupt Content, should fail

Space name  Used bytes  
ReadOnly    7931448     
ReadWrite   10768088    
MiscData    680512      
MiscCode    34053       
Total:      19414101    
Corrupt RO section, offset = 4096
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;C:\\tmp\\sharedArchive-Win-8098815\\resultsWithFlags\\test\\lib -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\\hello.jar Hello ]
[ELAPSED: 374 ms]
[STDOUT]
Hello World

[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)


Note: this test may fail in very rare occasions due to CRC32 checksum collision

4. Corrupt Header and Content, should fail

Space name  Used bytes  
ReadOnly    0           
ReadWrite   0           
MiscData    0           
MiscCode    0           
Total:      0           
Corrupt RO section, offset = 4096
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;C:\\tmp\\sharedArchive-Win-8098815\\resultsWithFlags\\test\\lib -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\\hello.jar Hello ]
[ELAPSED: 162 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 has the wrong version.


5. Delete bytes at begining of data section, should fail

For random generator using seed: 8349004535860787418
To re-run test with same seed value please add "-Djdk.test.lib.random.seed=8349004535860787418" to command line.
Delete 106 bytes at data start section
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;C:\\tmp\\sharedArchive-Win-8098815\\resultsWithFlags\\test\\lib -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\\hello.jar Hello ]
[ELAPSED: 120 ms]
[STDOUT]
Error occurred during initialization of VM
Unable to use shared archive.

[STDERR]
An error has occurred while processing the shared archive file.
Checksum verification failed.

Note: this test may fail in very rare occasions due to CRC32 checksum collision

6. Insert bytes at begining of data section, should fail

Insert 108 bytes at data start section
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;C:\\tmp\\sharedArchive-Win-8098815\\resultsWithFlags\\test\\lib -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\\hello.jar Hello ]
[ELAPSED: 114 ms]
[STDOUT]
Error occurred during initialization of VM
Unable to use shared archive.

[STDERR]
An error has occurred while processing the shared archive file.
Checksum verification failed.

Note: this test may fail in very rare occasions due to CRC32 checksum collision

7. modify Content in random areas, should fail

Space Name  Offset      Used bytes  Reg Start   Random Offset
ReadOnly    80          7931448     4096        6573701     
ReadWrite   128         10768088    7938048     9924616     
MiscData    176         680512      18706432    18929754    
MiscCode    224         34053       19390464    19411773    
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;C:\\tmp\\sharedArchive-Win-8098815\\resultsWithFlags\\test\\lib -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\\hello.jar Hello ]
[ELAPSED: 136 ms]
[STDOUT]
Error occurred during initialization of VM
Unable to use shared archive.

[STDERR]
An error has occurred while processing the shared archive file.
Checksum verification failed.

Note: this test may fail in very rare occasions due to CRC32 checksum collision
----------System.err:(1/16)----------
STATUS:Passed.
----------rerun:(21/2689)*----------
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\\resultsWithFlags\\test\\lib' \\
    '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;C:\\tmp\\sharedArchive-Win-8098815\\test\\test\\lib' \\
        -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;C:\\tmp\\sharedArchive-Win-8098815\\resultsWithFlags\\test\\lib' \\
        -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 -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI \\
        com.sun.javatest.regtest.agent.MainWrapper 'C:\\tmp\\sharedArchive-Win-8098815\\resultsWithFlags\\JTwork\\classes\\closed\\runtime\\AppCDS\\SharedArchiveConsistency.jta'
result: Passed. Execution successful


test result: Passed. Execution successful
