#Test Results (version 2)
#Wed Jun 17 15:24:47 PDT 2015
#checksum:2a5f3e1902023db1
#-----testdescription-----
$file=C\:\\tmp\\sharedArchive-Win-8098815\\test\\hotspot\\test\\closed\\runtime\\AppCDS\\JvmtiAddPath.java
$root=C\:\\tmp\\sharedArchive-Win-8098815\\test\\hotspot\\test
keywords=bug8060592
library=/../../test/lib /testlibrary
modules=java.base/sun.misc java.management jdk.jartool/sun.tools.jar
requires=(vm.opt.UseCompressedOops \=\= null) | (vm.opt.UseCompressedOops \=\= true)
run=USER_SPECIFIED build JvmtiAddPath\r\nUSER_SPECIFIED main ClassFileInstaller sun.hotspot.WhiteBox\r\nUSER_SPECIFIED compile test-classes/Hello.java\r\nUSER_SPECIFIED compile test-classes/JvmtiApp.java\r\nUSER_SPECIFIED build TestCommon JarBuilder\r\nUSER_SPECIFIED main JvmtiAddPath\r\n
source=JvmtiAddPath.java
title=JvmtiEnv\:\:AddToBootstrapClassLoaderSearch and JvmtiEnv\:\:AddToSystemClassLoaderSearch should disable AppCDS AppCDS does not support uncompressed oops

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

#-----testresult-----
description=file\:/C\:/tmp/sharedArchive-Win-8098815/test/hotspot/test/closed/runtime/AppCDS/JvmtiAddPath.java
elapsed=23036 0\:00\:23.036
end=Wed Jun 17 15\:24\:47 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 build compile main compile compile build build main
start=Wed Jun 17 15\:24\:24 PDT 2015
test=closed/runtime/AppCDS/JvmtiAddPath.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/116)----------
command: build JvmtiAddPath
reason: User specified action: run build JvmtiAddPath 
elapsed time (seconds): 5.108
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\\JvmtiAddPath.java
reason: .class file out of date or does not exist
elapsed time (seconds): 5.092
----------rerun:(25/2988)*----------
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\\test\\lib;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\\test\\lib;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\\test\\lib;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\\test\\lib;C:\\tmp\\sharedArchive-Win-8098815\\test\\hotspot\\test\\testlibrary' -XDignore.symbol.file=true 'C:\\tmp\\sharedArchive-Win-8098815\\test\\hotspot\\test\\closed\\runtime\\AppCDS\\JvmtiAddPath.java'
----------System.out:(0/0)----------
----------System.err:(0/0)----------
result: Passed. Compilation successful

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

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

#section:main
----------messages:(3/168)----------
command: main ClassFileInstaller sun.hotspot.WhiteBox
reason: User specified action: run main ClassFileInstaller sun.hotspot.WhiteBox 
elapsed time (seconds): 1.265
----------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\\test\\lib;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\\test\\lib;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\\test\\lib;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\\ClassFileInstaller.jta' sun.hotspot.WhiteBox
result: Passed. Execution 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.449
----------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\\test\\lib;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\\test\\lib;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\\test\\lib;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\\test\\lib;C:\\tmp\\sharedArchive-Win-8098815\\test\\hotspot\\test\\testlibrary' '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:compile
----------messages:(3/231)*----------
command: compile C:\\tmp\\sharedArchive-Win-8098815\\test\\hotspot\\test\\closed\\runtime\\AppCDS\\test-classes\\JvmtiApp.java
reason: User specified action: run compile test-classes/JvmtiApp.java 
elapsed time (seconds): 3.702
----------rerun:(25/2971)*----------
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\\test\\lib;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\\test\\lib;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\\test\\lib;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\\test\\lib;C:\\tmp\\sharedArchive-Win-8098815\\test\\hotspot\\test\\testlibrary' 'C:\\tmp\\sharedArchive-Win-8098815\\test\\hotspot\\test\\closed\\runtime\\AppCDS\\test-classes\\JvmtiApp.java'
----------System.out:(0/0)----------
----------System.err:(0/0)----------
result: Passed. Compilation successful

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

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

#section:main
----------messages:(3/114)----------
command: main JvmtiAddPath
reason: User specified action: run main JvmtiAddPath 
elapsed time (seconds): 5.778
----------System.out:(918/71215)*----------
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\\test\\lib;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\\jvmti_app.jar -XX:ExtraSharedClassListFile=C:\\tmp\\sharedArchive-Win-8098815\\resultsWithFlags\\JTwork\\classes\\closed\\runtime\\AppCDS\\JvmtiAddPath-test.classlist -Xbootclasspath/a:C:\\tmp\\sharedArchive-Win-8098815\\resultsWithFlags\\JTwork\\classes\\closed\\runtime\\AppCDS\\WhiteBox.jar ]
[ELAPSED: 1015 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 2355 classes
Rewriting and linking classes ...
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       :     57122
Total bytes used        :    509956
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     :        14
ro space:   7933520 [ 40.9% of total] out of  16777216 bytes [47.3% used] at 0x0000000800000000
rw space:  10771568 [ 55.5% of total] out of  16777216 bytes [64.2% used] at 0x0000000801000000
md space:    680984 [  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   :  19420125 [100.0% of total] out of  37879808 bytes [51.3% used]
Dumping shared data to file: 
   ./appcds.jsa
Shared file region 0: 0x790e50 bytes, addr 0x0000000800000000 file offset 0x 10000
Shared file region 1: 0xa45c70 bytes, addr 0x0000000801000000 file offset 0x7b0000
Shared file region 2: 0x a6418 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 |     2372    1888360  16.4 |     2372    1888360   9.7
Symbol              :    57122    2103856  26.5 |        0          0   0.0 |    57122    2103856  10.8
TypeArrayU1         :    13196     479368   6.0 |     2372     419128   3.6 |    15568     898496   4.6
TypeArrayU2         :     4934     280104   3.5 |        0          0   0.0 |     4934     280104   1.4
TypeArrayU4         :     2483     153976   1.9 |        0          0   0.0 |     2483     153976   0.8
TypeArrayU8         :     3842     325888   4.1 |        0          0   0.0 |     3842     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    4585912  57.8 |        0          0   0.0 |    31919    4585912  23.6
MethodData          :        0          0   0.0 |        0          0   0.0 |        0          0   0.0
ConstantPool        :        0          0   0.0 |     2372    3340264  29.1 |     2372    3340264  17.2
ConstantPoolCache   :        0          0   0.0 |     2358    2045624  17.8 |     2358    2045624  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 |    57122     452808   3.9 |    57122     452808   2.3
SymbolBucket        :        0          0   0.0 |    14282      57132   0.5 |    14282      57132   0.3
Other               :        0          0   0.0 |        0     205097   1.8 |        0     205097   1.1
--------------------+---------------------------+---------------------------+--------------------------
Total               :   113555    7933520 100.0 |   112798   11486605 100.0 |   226353   19420125 100.0

[STDERR]

Test case 1: not adding any paths - Hello.class should not be found
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\\test\\lib;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\\jvmti_app.jar -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -Xbootclasspath/a:C:\\tmp\\sharedArchive-Win-8098815\\resultsWithFlags\\JTwork\\classes\\closed\\runtime\\AppCDS\\WhiteBox.jar -XX:+TraceClassLoading JvmtiApp noadd ]
[ELAPSED: 329 ms]
[STDOUT]
[Loaded java.lang.Object from shared objects file]
[Loaded java.io.Serializable from shared objects file]
[Loaded java.lang.Comparable from shared objects file]
[Loaded java.lang.CharSequence from shared objects file]
[Loaded java.lang.String from shared objects file]
[Loaded java.lang.reflect.AnnotatedElement from shared objects file]
[Loaded java.lang.reflect.GenericDeclaration from shared objects file]
[Loaded java.lang.reflect.Type from shared objects file]
[Loaded java.lang.Class from shared objects file]
[Loaded java.lang.Cloneable from shared objects file]
[Loaded java.lang.ClassLoader from shared objects file]
[Loaded java.lang.System from shared objects file]
[Loaded java.lang.Throwable from shared objects file]
[Loaded java.lang.Error from shared objects file]
[Loaded java.lang.ThreadDeath from shared objects file]
[Loaded java.lang.Exception from shared objects file]
[Loaded java.lang.RuntimeException from shared objects file]
[Loaded java.lang.SecurityManager from shared objects file]
[Loaded java.security.ProtectionDomain from shared objects file]
[Loaded java.security.AccessControlContext from shared objects file]
[Loaded java.security.SecureClassLoader from shared objects file]
[Loaded java.lang.ReflectiveOperationException from shared objects file]
[Loaded java.lang.ClassNotFoundException from shared objects file]
[Loaded java.lang.LinkageError from shared objects file]
[Loaded java.lang.NoClassDefFoundError from shared objects file]
[Loaded java.lang.ClassCastException from shared objects file]
[Loaded java.lang.ArrayStoreException from shared objects file]
[Loaded java.lang.VirtualMachineError from shared objects file]
[Loaded java.lang.OutOfMemoryError from shared objects file]
[Loaded java.lang.StackOverflowError from shared objects file]
[Loaded java.lang.IllegalMonitorStateException from shared objects file]
[Loaded java.lang.ref.Reference from shared objects file]
[Loaded java.lang.ref.SoftReference from shared objects file]
[Loaded java.lang.ref.WeakReference from shared objects file]
[Loaded java.lang.ref.FinalReference from shared objects file]
[Loaded java.lang.ref.PhantomReference from shared objects file]
[Loaded sun.misc.Cleaner from shared objects file]
[Loaded java.lang.ref.Finalizer from shared objects file]
[Loaded java.lang.Runnable from shared objects file]
[Loaded java.lang.Thread from shared objects file]
[Loaded java.lang.Thread$UncaughtExceptionHandler from shared objects file]
[Loaded java.lang.ThreadGroup from shared objects file]
[Loaded java.util.Dictionary from shared objects file]
[Loaded java.util.Map from shared objects file]
[Loaded java.util.Hashtable from shared objects file]
[Loaded java.util.Properties from shared objects file]
[Loaded java.lang.reflect.AccessibleObject from shared objects file]
[Loaded java.lang.reflect.Member from shared objects file]
[Loaded java.lang.reflect.Field from shared objects file]
[Loaded java.lang.reflect.Parameter from shared objects file]
[Loaded java.lang.reflect.Executable from shared objects file]
[Loaded java.lang.reflect.Method from shared objects file]
[Loaded java.lang.reflect.Constructor from shared objects file]
[Loaded sun.reflect.MagicAccessorImpl from shared objects file]
[Loaded sun.reflect.MethodAccessor from shared objects file]
[Loaded sun.reflect.MethodAccessorImpl from shared objects file]
[Loaded sun.reflect.ConstructorAccessor from shared objects file]
[Loaded sun.reflect.ConstructorAccessorImpl from shared objects file]
[Loaded sun.reflect.DelegatingClassLoader from shared objects file]
[Loaded sun.reflect.ConstantPool from shared objects file]
[Loaded sun.reflect.FieldAccessor from shared objects file]
[Loaded sun.reflect.FieldAccessorImpl from shared objects file]
[Loaded sun.reflect.UnsafeFieldAccessorImpl from shared objects file]
[Loaded sun.reflect.UnsafeStaticFieldAccessorImpl from shared objects file]
[Loaded java.lang.annotation.Annotation from shared objects file]
[Loaded sun.reflect.CallerSensitive from shared objects file]
[Loaded java.lang.invoke.MethodHandle from shared objects file]
[Loaded java.lang.invoke.DirectMethodHandle from shared objects file]
[Loaded java.lang.invoke.MemberName from shared objects file]
[Loaded java.lang.invoke.MethodHandleNatives from shared objects file]
[Loaded java.lang.invoke.LambdaForm from shared objects file]
[Loaded java.lang.invoke.MethodType from shared objects file]
[Loaded java.lang.BootstrapMethodError from shared objects file]
[Loaded java.lang.invoke.CallSite from shared objects file]
[Loaded java.lang.invoke.MethodHandleNatives$CallSiteContext from shared objects file]
[Loaded java.lang.invoke.ConstantCallSite from shared objects file]
[Loaded java.lang.invoke.MutableCallSite from shared objects file]
[Loaded java.lang.invoke.VolatileCallSite from shared objects file]
[Loaded java.lang.Appendable from shared objects file]
[Loaded java.lang.AbstractStringBuilder from shared objects file]
[Loaded java.lang.StringBuffer from shared objects file]
[Loaded java.lang.StringBuilder from shared objects file]
[Loaded sun.misc.Unsafe from shared objects file]
[Loaded java.lang.AutoCloseable from shared objects file]
[Loaded java.io.Closeable from shared objects file]
[Loaded java.io.InputStream from shared objects file]
[Loaded java.io.ByteArrayInputStream from shared objects file]
[Loaded java.io.File from shared objects file]
[Loaded java.net.URLClassLoader from shared objects file]
[Loaded java.net.URL from shared objects file]
[Loaded java.util.jar.Manifest from shared objects file]
[Loaded sun.misc.Launcher from shared objects file]
[Loaded java.security.CodeSource from shared objects file]
[Loaded java.lang.StackTraceElement from shared objects file]
[Loaded java.nio.Buffer from shared objects file]
[Loaded java.lang.Boolean from shared objects file]
[Loaded java.lang.Character from shared objects file]
[Loaded java.lang.Number from shared objects file]
[Loaded java.lang.Float from shared objects file]
[Loaded java.lang.Double from shared objects file]
[Loaded java.lang.Byte from shared objects file]
[Loaded java.lang.Short from shared objects file]
[Loaded java.lang.Integer from shared objects file]
[Loaded java.lang.Long from shared objects file]
[Loaded java.lang.NullPointerException from shared objects file]
[Loaded java.lang.ArithmeticException from shared objects file]
[Loaded java.io.ObjectStreamField from shared objects file]
[Loaded java.util.Comparator from shared objects file]
[Loaded java.lang.String$CaseInsensitiveComparator from shared objects file]
[Loaded java.security.Guard from shared objects file]
[Loaded java.security.Permission from shared objects file]
[Loaded java.security.BasicPermission from shared objects file]
[Loaded java.lang.RuntimePermission from shared objects file]
[Loaded java.security.AccessController from shared objects file]
[Loaded java.lang.reflect.ReflectPermission from shared objects file]
[Loaded java.security.PrivilegedAction from shared objects file]
[Loaded sun.reflect.ReflectionFactory$GetReflectionFactoryAction from shared objects file]
[Loaded java.security.cert.Certificate from shared objects file]
[Loaded java.lang.Iterable from shared objects file]
[Loaded java.util.Collection from shared objects file]
[Loaded java.util.AbstractCollection from shared objects file]
[Loaded java.util.List from shared objects file]
[Loaded java.util.AbstractList from shared objects file]
[Loaded java.util.RandomAccess from shared objects file]
[Loaded java.util.Vector from shared objects file]
[Loaded java.util.Stack from shared objects file]
[Loaded sun.reflect.ReflectionFactory from shared objects file]
[Loaded java.lang.ref.Reference$Lock from shared objects file]
[Loaded sun.misc.ManagedLocalsThread from shared objects file]
[Loaded java.lang.ref.Reference$ReferenceHandler from shared objects file]
[Loaded sun.reflect.Reflection from shared objects file]
[Loaded java.util.AbstractMap from shared objects file]
[Loaded java.util.HashMap from shared objects file]
[Loaded java.util.Map$Entry from shared objects file]
[Loaded java.util.HashMap$Node from shared objects file]
[Loaded sun.misc.VM from shared objects file]
[Loaded java.util.Hashtable$Entry from shared objects file]
[Loaded java.lang.Math from shared objects file]
[Opened C:\\tmp\\sharedArchive-Win-8098815\\jdk\\lib\\modules\\bootmodules.jimage]
[Loaded java.lang.Class$5 from java/lang/Class$5.class]
[Loaded java.lang.Class$ReflectionData from shared objects file]
[Loaded java.lang.ref.ReferenceQueue from shared objects file]
[Loaded java.lang.ref.ReferenceQueue$Null from shared objects file]
[Loaded java.lang.ref.ReferenceQueue$Lock from shared objects file]
[Loaded java.lang.Class$Atomic from shared objects file]
[Loaded sun.reflect.generics.repository.AbstractRepository from shared objects file]
[Loaded sun.reflect.generics.repository.GenericDeclRepository from shared objects file]
[Loaded sun.reflect.generics.repository.ClassRepository from shared objects file]
[Loaded java.lang.Class$AnnotationData from shared objects file]
[Loaded sun.reflect.annotation.AnnotationType from shared objects file]
[Loaded java.util.WeakHashMap from shared objects file]
[Loaded java.lang.ClassValue$ClassValueMap from shared objects file]
[Loaded java.lang.reflect.Modifier from shared objects file]
[Loaded sun.reflect.LangReflectAccess from shared objects file]
[Loaded java.lang.reflect.ReflectAccess from shared objects file]
[Loaded java.lang.ThreadLocal$ThreadLocalMap from shared objects file]
[Loaded sun.nio.ch.Interruptible from shared objects file]
[Loaded java.lang.InterruptedException from shared objects file]
[Loaded java.util.ArrayList from shared objects file]
[Loaded java.util.Collections from shared objects file]
[Loaded java.util.Set from shared objects file]
[Loaded java.util.AbstractSet from shared objects file]
[Loaded java.util.Collections$EmptySet from shared objects file]
[Loaded java.util.Collections$EmptyList from shared objects file]
[Loaded java.util.Collections$EmptyMap from shared objects file]
[Loaded java.util.Collections$UnmodifiableCollection from shared objects file]
[Loaded java.util.Collections$UnmodifiableList from shared objects file]
[Loaded java.util.Collections$UnmodifiableRandomAccessList from shared objects file]
[Loaded sun.misc.JavaLangRefAccess from sun/misc/JavaLangRefAccess.class]
[Loaded java.lang.ref.Reference$1 from java/lang/ref/Reference$1.class]
[Loaded sun.misc.SharedSecrets from shared objects file]
[Loaded java.lang.ref.Finalizer$FinalizerThread from shared objects file]
[Loaded java.util.Hashtable$EntrySet from shared objects file]
[Loaded java.util.Collections$SynchronizedCollection from shared objects file]
[Loaded java.util.Collections$SynchronizedSet from shared objects file]
[Loaded java.util.Objects from shared objects file]
[Loaded java.util.Enumeration from shared objects file]
[Loaded java.util.Iterator from shared objects file]
[Loaded java.util.Hashtable$Enumerator from shared objects file]
[Loaded java.lang.Runtime from shared objects file]
[Loaded sun.misc.Version from shared objects file]
[Loaded java.io.FileInputStream from shared objects file]
[Loaded java.io.FileDescriptor from shared objects file]
[Loaded sun.misc.JavaIOFileDescriptorAccess from shared objects file]
[Loaded java.io.FileDescriptor$1 from shared objects file]
[Loaded java.util.concurrent.atomic.AtomicBoolean from shared objects file]
[Loaded java.io.Flushable from shared objects file]
[Loaded java.io.OutputStream from shared objects file]
[Loaded java.io.FileOutputStream from shared objects file]
[Loaded java.io.FilterInputStream from shared objects file]
[Loaded java.io.BufferedInputStream from shared objects file]
[Loaded java.util.concurrent.atomic.AtomicReferenceFieldUpdater from shared objects file]
[Loaded java.util.concurrent.atomic.AtomicReferenceFieldUpdater$AtomicReferenceFieldUpdaterImpl from shared objects file]
[Loaded java.security.PrivilegedExceptionAction from shared objects file]
[Loaded java.util.concurrent.atomic.AtomicReferenceFieldUpdater$AtomicReferenceFieldUpdaterImpl$1 from shared objects file]
[Loaded sun.reflect.misc.ReflectUtil from shared objects file]
[Loaded java.io.FilterOutputStream from shared objects file]
[Loaded java.io.PrintStream from shared objects file]
[Loaded java.io.BufferedOutputStream from shared objects file]
[Loaded java.io.Writer from shared objects file]
[Loaded java.io.OutputStreamWriter from shared objects file]
[Loaded sun.nio.cs.StreamEncoder from shared objects file]
[Loaded java.nio.charset.Charset from shared objects file]
[Loaded java.nio.charset.spi.CharsetProvider from shared objects file]
[Loaded sun.nio.cs.StandardCharsets from shared objects file]
[Loaded sun.util.PreHashedMap from shared objects file]
[Loaded sun.nio.cs.StandardCharsets$Aliases from shared objects file]
[Loaded sun.nio.cs.StandardCharsets$Classes from shared objects file]
[Loaded sun.nio.cs.StandardCharsets$Cache from shared objects file]
[Loaded java.lang.ThreadLocal from shared objects file]
[Loaded java.util.concurrent.atomic.AtomicInteger from shared objects file]
[Loaded sun.security.action.GetPropertyAction from shared objects file]
[Loaded java.util.Arrays from shared objects file]
[Loaded sun.nio.cs.HistoricallyNamedCharset from shared objects file]
[Loaded sun.nio.cs.MS1252 from shared objects file]
[Loaded sun.nio.cs.SingleByte from shared objects file]
[Loaded java.lang.Class$1 from shared objects file]
[Loaded sun.reflect.ReflectionFactory$1 from shared objects file]
[Loaded sun.reflect.NativeConstructorAccessorImpl from shared objects file]
[Loaded sun.reflect.DelegatingConstructorAccessorImpl from shared objects file]
[Loaded java.nio.charset.CharsetEncoder from shared objects file]
[Loaded sun.nio.cs.ArrayEncoder from shared objects file]
[Loaded sun.nio.cs.SingleByte$Encoder from shared objects file]
[Loaded java.nio.charset.CodingErrorAction from shared objects file]
[Loaded java.nio.ByteBuffer from shared objects file]
[Loaded java.nio.HeapByteBuffer from shared objects file]
[Loaded java.nio.Bits from shared objects file]
[Loaded java.nio.ByteOrder from shared objects file]
[Loaded java.util.concurrent.atomic.AtomicLong from shared objects file]
[Loaded sun.misc.JavaNioAccess from shared objects file]
[Loaded java.nio.Bits$1 from shared objects file]
[Loaded java.io.BufferedWriter from shared objects file]
[Loaded java.io.DefaultFileSystem from shared objects file]
[Loaded java.io.FileSystem from shared objects file]
[Loaded java.io.WinNTFileSystem from shared objects file]
[Loaded java.io.ExpiringCache from shared objects file]
[Loaded java.util.LinkedHashMap from shared objects file]
[Loaded java.io.ExpiringCache$1 from shared objects file]
[Loaded java.lang.Enum from shared objects file]
[Loaded java.io.File$PathStatus from shared objects file]
[Loaded java.nio.file.Watchable from shared objects file]
[Loaded java.nio.file.Path from shared objects file]
[Loaded java.lang.ClassLoader$3 from shared objects file]
[Loaded java.io.ExpiringCache$Entry from shared objects file]
[Loaded java.util.LinkedHashMap$Entry from shared objects file]
[Loaded java.lang.ClassLoader$NativeLibrary from shared objects file]
[Loaded java.lang.Terminator from shared objects file]
[Loaded sun.misc.SignalHandler from shared objects file]
[Loaded java.lang.Terminator$1 from shared objects file]
[Loaded sun.misc.Signal from shared objects file]
[Loaded sun.misc.NativeSignalHandler from shared objects file]
[Loaded java.lang.Integer$IntegerCache from shared objects file]
[Loaded sun.misc.OSEnvironment from shared objects file]
[Loaded sun.io.Win32ErrorMode from shared objects file]
[Loaded sun.misc.JavaLangAccess from shared objects file]
[Loaded java.lang.System$2 from shared objects file]
[Loaded java.lang.IllegalArgumentException from shared objects file]
[Loaded sun.misc.Launcher$BootClassPathHolder from shared objects file]
[Loaded sun.misc.Launcher$BootClassPathHolder$1 from shared objects file]
[Loaded java.util.HashSet from shared objects file]
[Loaded java.util.Locale from shared objects file]
[Loaded sun.util.locale.LocaleObjectCache from shared objects file]
[Loaded java.util.Locale$Cache from shared objects file]
[Loaded java.util.concurrent.ConcurrentMap from shared objects file]
[Loaded java.util.concurrent.ConcurrentHashMap from shared objects file]
[Loaded java.util.concurrent.locks.Lock from shared objects file]
[Loaded java.util.concurrent.locks.ReentrantLock from shared objects file]
[Loaded java.util.concurrent.ConcurrentHashMap$Segment from shared objects file]
[Loaded java.io.ObjectStreamClass from shared objects file]
[Loaded java.lang.IncompatibleClassChangeError from shared objects file]
[Loaded java.lang.NoSuchMethodError from shared objects file]
[Loaded java.util.concurrent.ConcurrentHashMap$Node from shared objects file]
[Loaded java.util.concurrent.ConcurrentHashMap$CounterCell from shared objects file]
[Loaded java.util.concurrent.ConcurrentHashMap$CollectionView from shared objects file]
[Loaded java.util.concurrent.ConcurrentHashMap$KeySetView from shared objects file]
[Loaded java.util.concurrent.ConcurrentHashMap$ValuesView from shared objects file]
[Loaded java.util.concurrent.ConcurrentHashMap$EntrySetView from shared objects file]
[Loaded sun.util.locale.BaseLocale from shared objects file]
[Loaded sun.util.locale.BaseLocale$Cache from shared objects file]
[Loaded sun.util.locale.BaseLocale$Key from shared objects file]
[Loaded sun.util.locale.LocaleObjectCache$CacheEntry from shared objects file]
[Loaded java.util.Locale$LocaleKey from shared objects file]
[Loaded sun.util.locale.LocaleUtils from shared objects file]
[Loaded java.lang.CharacterData from shared objects file]
[Loaded java.lang.CharacterDataLatin1 from shared objects file]
[Loaded sun.misc.MetaIndex from shared objects file]
[Loaded sun.net.www.ParseUtil from shared objects file]
[Loaded java.util.BitSet from shared objects file]
[Loaded java.net.URLStreamHandlerFactory from shared objects file]
[Loaded java.net.URL$DefaultFactory from java/net/URL$DefaultFactory.class]
[Loaded java.net.Parts from shared objects file]
[Loaded java.net.URLStreamHandler from shared objects file]
[Loaded sun.net.www.protocol.file.Handler from shared objects file]
[Loaded sun.misc.URLClassPath from shared objects file]
[Loaded sun.misc.Launcher$Factory from shared objects file]
[Loaded sun.misc.Launcher$ExtClassLoader from shared objects file]
[Loaded sun.security.util.Debug from shared objects file]
[Loaded java.lang.ClassLoader$ParallelLoaders from shared objects file]
[Loaded java.util.WeakHashMap$Entry from shared objects file]
[Loaded java.util.Collections$SetFromMap from shared objects file]
[Loaded java.util.WeakHashMap$KeySet from shared objects file]
[Loaded sun.misc.JavaNetAccess from shared objects file]
[Loaded java.net.URLClassLoader$7 from shared objects file]
[Loaded sun.misc.Launcher$ExtClassLoader$1 from shared objects file]
[Loaded java.util.HashMap$TreeNode from shared objects file]
[Loaded sun.misc.JavaSecurityAccess from shared objects file]
[Loaded java.security.ProtectionDomain$JavaSecurityAccessImpl from java/security/ProtectionDomain$JavaSecurityAccessImpl.class]
[Loaded sun.misc.JavaSecurityProtectionDomainAccess from shared objects file]
[Loaded java.security.ProtectionDomain$1 from shared objects file]
[Loaded java.security.ProtectionDomain$Key from shared objects file]
[Loaded java.security.Principal from shared objects file]
[Loaded sun.net.www.protocol.jar.Handler from shared objects file]
[Loaded sun.misc.Launcher$AppClassLoader from shared objects file]
[Loaded sun.misc.Launcher$AppClassLoader$1 from shared objects file]
[Loaded java.lang.SystemClassLoaderAction from shared objects file]
[Loaded java.lang.invoke.MethodHandleImpl from shared objects file]
[Loaded java.lang.invoke.MethodHandleImpl$1 from java/lang/invoke/MethodHandleImpl$1.class]
[Loaded java.util.function.Function from java/util/function/Function.class]
[Loaded java.lang.invoke.MethodHandleImpl$2 from java/lang/invoke/MethodHandleImpl$2.class]
[Loaded java.lang.invoke.MethodHandleImpl$3 from java/lang/invoke/MethodHandleImpl$3.class]
[Loaded java.lang.ClassValue from java/lang/ClassValue.class]
[Loaded java.lang.invoke.MethodHandleImpl$4 from java/lang/invoke/MethodHandleImpl$4.class]
[Loaded java.lang.ClassValue$Entry from java/lang/ClassValue$Entry.class]
[Loaded java.lang.ClassValue$Identity from java/lang/ClassValue$Identity.class]
[Loaded java.lang.ClassValue$Version from java/lang/ClassValue$Version.class]
[Loaded java.lang.invoke.MemberName$Factory from shared objects file]
[Loaded java.lang.invoke.MethodHandleStatics from shared objects file]
[Loaded java.lang.invoke.MethodHandleStatics$1 from shared objects file]
[Loaded sun.misc.PostVMInitHook from shared objects file]
[Loaded java.lang.Readable from shared objects file]
[Loaded java.nio.CharBuffer from shared objects file]
[Loaded java.nio.HeapCharBuffer from shared objects file]
[Loaded java.nio.charset.CoderResult from shared objects file]
[Loaded java.nio.charset.CoderResult$Cache from shared objects file]
[Loaded java.nio.charset.CoderResult$1 from shared objects file]
[Loaded java.nio.charset.CoderResult$2 from shared objects file]
[Loaded sun.launcher.LauncherHelper from shared objects file]
[Loaded java.lang.StringCoding from shared objects file]
[Loaded java.lang.ThreadLocal$ThreadLocalMap$Entry from shared objects file]
[Loaded java.lang.StringCoding$StringDecoder from shared objects file]
[Loaded java.nio.charset.CharsetDecoder from shared objects file]
[Loaded sun.nio.cs.ArrayDecoder from shared objects file]
[Loaded sun.nio.cs.SingleByte$Decoder from shared objects file]
[Loaded java.util.jar.Attributes from shared objects file]
[Loaded java.util.jar.Manifest$FastInputStream from shared objects file]
[Loaded sun.nio.cs.StandardCharsets$2 from sun/nio/cs/StandardCharsets$2.class]
[Loaded sun.nio.cs.Unicode from shared objects file]
[Loaded sun.nio.cs.UTF_8 from shared objects file]
[Loaded sun.nio.cs.UTF_8$Decoder from shared objects file]
[Loaded java.util.jar.Attributes$Name from shared objects file]
[Loaded sun.misc.ASCIICaseInsensitiveComparator from shared objects file]
[Loaded java.security.PermissionCollection from shared objects file]
[Loaded java.security.Permissions from shared objects file]
[Loaded java.net.URLConnection from shared objects file]
[Loaded sun.net.www.URLConnection from shared objects file]
[Loaded sun.net.www.protocol.file.FileURLConnection from shared objects file]
[Loaded sun.net.www.MessageHeader from shared objects file]
[Loaded java.io.FilePermission from shared objects file]
[Loaded java.io.FilePermission$1 from shared objects file]
[Loaded java.security.Permissions$1 from java/security/Permissions$1.class]
[Loaded java.util.concurrent.ConcurrentHashMap$ReservationNode from java/util/concurrent/ConcurrentHashMap$ReservationNode.class]
[Loaded java.io.FilePermissionCollection from shared objects file]
[Loaded java.util.function.BiFunction from shared objects file]
[Loaded java.io.FilePermissionCollection$1 from java/io/FilePermissionCollection$1.class]
[Loaded java.security.AllPermission from shared objects file]
[Loaded java.security.UnresolvedPermission from shared objects file]
[Loaded java.security.BasicPermissionCollection from shared objects file]
[Loaded JvmtiApp from shared objects file by sun/misc/Launcher$AppClassLoader]
[Loaded java.lang.Class$MethodArray from java/lang/Class$MethodArray.class]
[Loaded java.lang.Void from shared objects file]
[Opened C:\\tmp\\sharedArchive-Win-8098815\\resultsWithFlags\\JTwork\\classes\\closed\\runtime\\AppCDS\\WhiteBox.jar]
[Loaded java.net.URLClassLoader$1 from shared objects file]
[Loaded sun.net.util.URLUtil from shared objects file]
[Loaded sun.misc.URLClassPath$3 from shared objects file]
[Loaded sun.net.www.protocol.jrt.JavaRuntimeURLConnection$ResourceFinder from sun/net/www/protocol/jrt/JavaRuntimeURLConnection$ResourceFinder.class]
[Loaded sun.misc.URLClassPath$Loader from shared objects file]
[Loaded sun.misc.URLClassPath$JImageLoader from sun/misc/URLClassPath$JImageLoader.class]
[Loaded jdk.internal.jimage.BasicImageReader from jdk/internal/jimage/BasicImageReader.class]
[Loaded jdk.internal.jimage.ImageReader from jdk/internal/jimage/ImageReader.class]
[Loaded jdk.internal.jimage.UTF8String from jdk/internal/jimage/UTF8String.class]
[Loaded sun.nio.cs.UTF_8$Encoder from shared objects file]
[Loaded jdk.internal.jimage.PReader from jdk/internal/jimage/PReader.class]
[Loaded jdk.internal.jimage.concurrent.ConcurrentPReader from jdk/internal/jimage/concurrent/ConcurrentPReader.class]
[Loaded java.io.IOException from shared objects file]
[Loaded java.nio.channels.Channel from shared objects file]
[Loaded java.nio.channels.InterruptibleChannel from shared objects file]
[Loaded java.nio.channels.spi.AbstractInterruptibleChannel from shared objects file]
[Loaded java.nio.channels.R

...
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
...

ingNode from shared objects file]
[Loaded java.lang.invoke.BoundMethodHandle from java/lang/invoke/BoundMethodHandle.class]
[Loaded java.lang.invoke.SimpleMethodHandle from java/lang/invoke/SimpleMethodHandle.class]
[Loaded java.lang.invoke.BoundMethodHandle$SpeciesData from java/lang/invoke/BoundMethodHandle$SpeciesData.class]
[Loaded java.lang.invoke.BoundMethodHandle$Factory from java/lang/invoke/BoundMethodHandle$Factory.class]
[Loaded java.lang.invoke.BoundMethodHandle$Species_L from java/lang/invoke/BoundMethodHandle$Species_L.class]
[Loaded sun.reflect.UnsafeFieldAccessorFactory from shared objects file]
[Loaded sun.reflect.UnsafeQualifiedStaticFieldAccessorImpl from shared objects file]
[Loaded sun.reflect.UnsafeQualifiedStaticObjectFieldAccessorImpl from shared objects file]
[Loaded java.util.HashMap$EntrySet from shared objects file]
[Loaded java.util.HashMap$HashIterator from shared objects file]
[Loaded java.util.HashMap$EntryIterator from shared objects file]
[Loaded java.util.HashMap$Values from shared objects file]
[Loaded java.util.HashMap$ValueIterator from shared objects file]
[Loaded sun.invoke.util.BytecodeDescriptor from sun/invoke/util/BytecodeDescriptor.class]
[Loaded java.lang.invoke.DirectMethodHandle$Lazy from java/lang/invoke/DirectMethodHandle$Lazy.class]
[Loaded java.lang.InstantiationException from shared objects file]
[Loaded java.util.Arrays$ArrayList from shared objects file]
[Loaded java.util.Collections$UnmodifiableCollection$1 from shared objects file]
[Loaded java.util.AbstractList$Itr from shared objects file]
[Loaded java.lang.invoke.InvokerBytecodeGenerator from java/lang/invoke/InvokerBytecodeGenerator.class]
[Loaded jdk.internal.org.objectweb.asm.ClassVisitor from jdk/internal/org/objectweb/asm/ClassVisitor.class]
[Loaded jdk.internal.org.objectweb.asm.ClassWriter from jdk/internal/org/objectweb/asm/ClassWriter.class]
[Loaded jdk.internal.org.objectweb.asm.ByteVector from jdk/internal/org/objectweb/asm/ByteVector.class]
[Loaded jdk.internal.org.objectweb.asm.Item from jdk/internal/org/objectweb/asm/Item.class]
[Loaded jdk.internal.org.objectweb.asm.MethodVisitor from jdk/internal/org/objectweb/asm/MethodVisitor.class]
[Loaded jdk.internal.org.objectweb.asm.MethodWriter from jdk/internal/org/objectweb/asm/MethodWriter.class]
[Loaded jdk.internal.org.objectweb.asm.Type from jdk/internal/org/objectweb/asm/Type.class]
[Loaded jdk.internal.org.objectweb.asm.Label from jdk/internal/org/objectweb/asm/Label.class]
[Loaded jdk.internal.org.objectweb.asm.Frame from jdk/internal/org/objectweb/asm/Frame.class]
[Loaded jdk.internal.org.objectweb.asm.AnnotationVisitor from jdk/internal/org/objectweb/asm/AnnotationVisitor.class]
[Loaded jdk.internal.org.objectweb.asm.AnnotationWriter from jdk/internal/org/objectweb/asm/AnnotationWriter.class]
[Loaded java.lang.invoke.MethodHandleImpl$Intrinsic from java/lang/invoke/MethodHandleImpl$Intrinsic.class]
[Loaded java.lang.invoke.InvokerBytecodeGenerator$2 from java/lang/invoke/InvokerBytecodeGenerator$2.class]
[Loaded sun.invoke.util.VerifyType from sun/invoke/util/VerifyType.class]
[Loaded sun.invoke.empty.Empty from sun/invoke/empty/Empty.class]
[Loaded java.lang.invoke.LambdaForm$DMH/918221580 from java.lang.invoke.LambdaForm]
[Loaded java.lang.invoke.LambdaForm$DMH/2055281021 from java.lang.invoke.LambdaForm]
[Loaded java.lang.invoke.LambdaForm$DMH/1554547125 from java.lang.invoke.LambdaForm]
[Loaded java.lang.invoke.LambdaForm$DMH/617901222 from java.lang.invoke.LambdaForm]
[Loaded java.lang.invoke.LambdaForm$DMH/1159190947 from java.lang.invoke.LambdaForm]
[Loaded java.lang.NoSuchFieldException from shared objects file]
[Loaded java.lang.invoke.InvokerBytecodeGenerator$CpPatch from java/lang/invoke/InvokerBytecodeGenerator$CpPatch.class]
[Loaded java.lang.invoke.LambdaForm$MH/798154996 from java.lang.invoke.LambdaForm]
[Loaded java.lang.invoke.DirectMethodHandle$Accessor from java/lang/invoke/DirectMethodHandle$Accessor.class]
[Loaded java.lang.invoke.LambdaForm$MH/1392838282 from java.lang.invoke.LambdaForm]
[Loaded java.lang.invoke.LambdaForm$MH/523429237 from java.lang.invoke.LambdaForm]
[Loaded java.lang.invoke.LambdaForm$MH/664740647 from java.lang.invoke.LambdaForm]
[Loaded java.lang.invoke.LambdaForm$MH/804564176 from java.lang.invoke.LambdaForm]
[Loaded java.lang.invoke.LambdaForm$MH/1421795058 from java.lang.invoke.LambdaForm]
[Loaded java.lang.invoke.LambdaForm$MH/1555009629 from java.lang.invoke.LambdaForm]
[Loaded java.lang.invoke.LambdaForm$MH/41359092 from java.lang.invoke.LambdaForm]
[Loaded java.lang.invoke.LambdaForm$MH/149928006 from java.lang.invoke.LambdaForm]
[Loaded java.lang.invoke.LambdaForm$MH/713338599 from java.lang.invoke.LambdaForm]
[Loaded java.lang.invoke.LambdaForm$MH/168423058 from java.lang.invoke.LambdaForm]
[Loaded java.lang.invoke.LambdaForm$MH/821270929 from java.lang.invoke.LambdaForm]
[Loaded java.util.ArrayList$Itr from shared objects file]
[Loaded java.util.SubList from java/util/SubList.class]
[Loaded java.util.RandomAccessSubList from java/util/RandomAccessSubList.class]
[Loaded java.util.ListIterator from shared objects file]
[Loaded java.util.SubList$1 from java/util/SubList$1.class]
[Loaded java.util.AbstractList$ListItr from shared objects file]
[Loaded java.lang.invoke.LambdaForm$DMH/468121027 from java.lang.invoke.LambdaForm]
[Loaded java.lang.invoke.LambdaForm$DMH/951007336 from java.lang.invoke.LambdaForm]
[Loaded java.lang.invoke.LambdaForm$DMH/2001049719 from java.lang.invoke.LambdaForm]
[Loaded java.lang.invoke.DelegatingMethodHandle from java/lang/invoke/DelegatingMethodHandle.class]
[Loaded java.lang.invoke.MethodHandleImpl$AsVarargsCollector from java/lang/invoke/MethodHandleImpl$AsVarargsCollector.class]
[Loaded java.lang.invoke.WrongMethodTypeException from java/lang/invoke/WrongMethodTypeException.class]
[Loaded java.lang.invoke.LambdaForm$DMH/1746572565 from java.lang.invoke.LambdaForm]
[Loaded java.lang.invoke.LambdaForm$DMH/989110044 from java.lang.invoke.LambdaForm]
[Loaded java.lang.invoke.LambdaForm$MH/424058530 from java.lang.invoke.LambdaForm]
[Loaded java.lang.invoke.LambdaForm$BMH/321001045 from java.lang.invoke.LambdaForm]
[Loaded java.lang.invoke.MethodHandleImpl$Lazy from java/lang/invoke/MethodHandleImpl$Lazy.class]
[Loaded java.lang.invoke.LambdaForm$DMH/834600351 from java.lang.invoke.LambdaForm]
[Loaded java.lang.invoke.MethodHandleImpl$IntrinsicMethodHandle from java/lang/invoke/MethodHandleImpl$IntrinsicMethodHandle.class]
[Loaded java.lang.invoke.LambdaForm$DMH/531885035 from java.lang.invoke.LambdaForm]
[Loaded java.lang.invoke.LambdaForm$MH/1418481495 from java.lang.invoke.LambdaForm]
[Loaded java.lang.invoke.LambdaForm$DMH/303563356 from java.lang.invoke.LambdaForm]
[Loaded java.lang.invoke.LambdaForm$MH/135721597 from java.lang.invoke.LambdaForm]
[Loaded java.lang.invoke.LambdaForm$DMH/142257191 from java.lang.invoke.LambdaForm]
[Loaded java.lang.invoke.LambdaForm$MH/1044036744 from java.lang.invoke.LambdaForm]
[Loaded java.lang.invoke.LambdaForm$DMH/1826771953 from java.lang.invoke.LambdaForm]
[Loaded java.lang.invoke.LambdaForm$DMH/1406718218 from java.lang.invoke.LambdaForm]
[Loaded java.lang.invoke.LambdaForm$MH/245257410 from java.lang.invoke.LambdaForm]
[Loaded java.lang.invoke.LambdaForm$DMH/1705736037 from java.lang.invoke.LambdaForm]
[Loaded java.lang.invoke.LambdaForm$DMH/455659002 from java.lang.invoke.LambdaForm]
[Loaded java.lang.invoke.LambdaForm$MH/250421012 from java.lang.invoke.LambdaForm]
[Loaded java.lang.invoke.LambdaForm$DMH/1915318863 from java.lang.invoke.LambdaForm]
[Loaded java.lang.invoke.LambdaForm$MH/1283928880 from java.lang.invoke.LambdaForm]
[Loaded java.lang.invoke.LambdaForm$DMH/295530567 from java.lang.invoke.LambdaForm]
[Loaded java.lang.invoke.LambdaForm$DMH/2003749087 from java.lang.invoke.LambdaForm]
[Loaded java.lang.invoke.LambdaForm$MH/1324119927 from java.lang.invoke.LambdaForm]
[Loaded java.lang.invoke.LambdaForm$DMH/990368553 from java.lang.invoke.LambdaForm]
[Loaded java.lang.invoke.LambdaForm$DMH/1096979270 from java.lang.invoke.LambdaForm]
[Loaded java.lang.invoke.LambdaForm$MH/1078694789 from java.lang.invoke.LambdaForm]
[Loaded java.lang.invoke.LambdaForm$DMH/1831932724 from java.lang.invoke.LambdaForm]
[Loaded java.lang.invoke.LambdaForm$DMH/1747585824 from java.lang.invoke.LambdaForm]
[Loaded java.lang.invoke.LambdaForm$MH/1023892928 from java.lang.invoke.LambdaForm]
[Loaded java.lang.invoke.LambdaForm$DMH/558638686 from java.lang.invoke.LambdaForm]
[Loaded java.lang.invoke.LambdaForm$DMH/1149319664 from java.lang.invoke.LambdaForm]
[Loaded java.lang.invoke.LambdaForm$MH/2093631819 from java.lang.invoke.LambdaForm]
[Loaded java.lang.invoke.LambdaForm$DMH/999966131 from java.lang.invoke.LambdaForm]
[Loaded java.lang.invoke.LambdaForm$DMH/1989780873 from java.lang.invoke.LambdaForm]
[Loaded java.lang.invoke.LambdaForm$DMH/81628611 from java.lang.invoke.LambdaForm]
[Loaded java.lang.invoke.LambdaForm$DMH/931919113 from java.lang.invoke.LambdaForm]
[Loaded java.lang.invoke.LambdaForm$BMH/1607521710 from java.lang.invoke.LambdaForm]
[Loaded java.lang.invoke.LambdaFormEditor from java/lang/invoke/LambdaFormEditor.class]
[Loaded java.lang.invoke.LambdaFormEditor$Transform$Kind from java/lang/invoke/LambdaFormEditor$Transform$Kind.class]
[Loaded java.lang.invoke.LambdaFormEditor$Transform from java/lang/invoke/LambdaFormEditor$Transform.class]
[Loaded java.lang.invoke.LambdaFormBuffer from java/lang/invoke/LambdaFormBuffer.class]
[Loaded java.lang.invoke.LambdaForm$MH/1329552164 from java.lang.invoke.LambdaForm]
[Loaded java.lang.invoke.LambdaForm$BMH/363771819 from java.lang.invoke.LambdaForm]
[Loaded java.lang.invoke.LambdaForm$BMH/2065951873 from java.lang.invoke.LambdaForm]
[Loaded java.lang.invoke.LambdaForm$DMH/1791741888 from java.lang.invoke.LambdaForm]
[Loaded java.lang.invoke.LambdaForm$DMH/1595428806 from java.lang.invoke.LambdaForm]
[Loaded java.lang.invoke.LambdaForm$MH/1072408673 from java.lang.invoke.LambdaForm]
[Loaded java.lang.invoke.LambdaForm$BMH/1531448569 from java.lang.invoke.LambdaForm]
[Loaded java.lang.invoke.LambdaForm$MH/1867083167 from java.lang.invoke.LambdaForm]
[Loaded java.lang.invoke.LambdaForm$BMH/1915910607 from java.lang.invoke.LambdaForm]
[Loaded jdk.internal.org.objectweb.asm.FieldVisitor from jdk/internal/org/objectweb/asm/FieldVisitor.class]
[Loaded jdk.internal.org.objectweb.asm.FieldWriter from jdk/internal/org/objectweb/asm/FieldWriter.class]
[Loaded java.lang.invoke.BoundMethodHandle$Species_LL from __JVM_DefineClass__]
[Loaded java.lang.invoke.LambdaForm$BMH/1313922862 from java.lang.invoke.LambdaForm]
[Loaded java.lang.invoke.LambdaForm$BMH/495053715 from java.lang.invoke.LambdaForm]
[Loaded java.lang.invoke.BoundMethodHandle$Species_L3 from __JVM_DefineClass__]
[Loaded java.lang.invoke.LambdaForm$BMH/883049899 from java.lang.invoke.LambdaForm]
[Loaded java.lang.invoke.BoundMethodHandle$Species_L4 from __JVM_DefineClass__]
[Loaded java.lang.invoke.LambdaForm$BMH/1854731462 from java.lang.invoke.LambdaForm]
[Loaded java.lang.invoke.AbstractValidatingLambdaMetafactory from java/lang/invoke/AbstractValidatingLambdaMetafactory.class]
[Loaded java.lang.invoke.InnerClassLambdaMetafactory from java/lang/invoke/InnerClassLambdaMetafactory.class]
[Loaded java.util.PropertyPermission from java/util/PropertyPermission.class]
[Loaded java.security.AccessController$1 from java/security/AccessController$1.class]
[Loaded sun.security.util.SecurityConstants from sun/security/util/SecurityConstants.class]
[Loaded java.net.NetPermission from java/net/NetPermission.class]
[Loaded java.security.SecurityPermission from java/security/SecurityPermission.class]
[Loaded java.net.SocketPermission from java/net/SocketPermission.class]
[Loaded sun.security.action.GetBooleanAction from shared objects file]
[Loaded java.security.AllPermissionCollection from shared objects file]
[Loaded java.lang.invoke.MethodHandleInfo from java/lang/invoke/MethodHandleInfo.class]
[Loaded java.lang.invoke.InfoFromMemberName from java/lang/invoke/InfoFromMemberName.class]
[Loaded java.lang.invoke.TypeConvertingMethodAdapter from java/lang/invoke/TypeConvertingMethodAdapter.class]
[Loaded java.lang.invoke.InnerClassLambdaMetafactory$ForwardingMethodGenerator from java/lang/invoke/InnerClassLambdaMetafactory$ForwardingMethodGenerator.class]
[Loaded sun.hotspot.WhiteBox$$Lambda$1/500977346 from sun.hotspot.WhiteBox]
[Loaded java.lang.invoke.LambdaForm$MH/20132171 from java.lang.invoke.LambdaForm]
[Loaded sun.hotspot.WhiteBox$$Lambda$2/2094548358 from sun.hotspot.WhiteBox]
[Loaded sun.hotspot.WhiteBox$$Lambda$3/51228289 from sun.hotspot.WhiteBox]
[Loaded sun.hotspot.WhiteBox$$Lambda$4/455896770 from sun.hotspot.WhiteBox]
[Loaded sun.hotspot.WhiteBox$$Lambda$5/1323165413 from sun.hotspot.WhiteBox]
[Loaded sun.hotspot.WhiteBox$$Lambda$6/1880587981 from sun.hotspot.WhiteBox]
[Loaded sun.hotspot.WhiteBox$$Lambda$7/511754216 from sun.hotspot.WhiteBox]
[Loaded sun.hotspot.WhiteBox$$Lambda$8/1721931908 from sun.hotspot.WhiteBox]
[Loaded sun.hotspot.WhiteBox$$Lambda$9/214126413 from sun.hotspot.WhiteBox]
[Loaded java.lang.invoke.LambdaForm$DMH/1706234378 from java.lang.invoke.LambdaForm]
[Loaded sun.hotspot.WhiteBox$$Lambda$10/2046562095 from sun.hotspot.WhiteBox]
[Loaded sun.hotspot.WhiteBox$$Lambda$11/1342443276 from sun.hotspot.WhiteBox]
[Loaded sun.hotspot.WhiteBox$$Lambda$12/769287236 from sun.hotspot.WhiteBox]
[Loaded sun.hotspot.WhiteBox$$Lambda$13/1587487668 from sun.hotspot.WhiteBox]
[Loaded sun.hotspot.WhiteBox$$Lambda$14/1199823423 from sun.hotspot.WhiteBox]
[Opened C:\\tmp\\sharedArchive-Win-8098815\\resultsWithFlags\\JTwork\\classes\\closed\\runtime\\AppCDS\\jvmti_addboot.jar]
[Loaded Hello from C:\\tmp\\sharedArchive-Win-8098815\\resultsWithFlags\\JTwork\\classes\\closed\\runtime\\AppCDS\\jvmti_addboot.jar]
[Loaded java.net.URLClassLoader$1 from shared objects file]
[Loaded sun.net.util.URLUtil from shared objects file]
[Loaded sun.misc.URLClassPath$3 from shared objects file]
[Loaded sun.net.www.protocol.jrt.JavaRuntimeURLConnection$ResourceFinder from sun/net/www/protocol/jrt/JavaRuntimeURLConnection$ResourceFinder.class]
[Loaded sun.misc.URLClassPath$Loader from shared objects file]
[Loaded sun.misc.URLClassPath$JImageLoader from sun/misc/URLClassPath$JImageLoader.class]
[Loaded jdk.internal.jimage.BasicImageReader from jdk/internal/jimage/BasicImageReader.class]
[Loaded jdk.internal.jimage.ImageReader from jdk/internal/jimage/ImageReader.class]
[Loaded jdk.internal.jimage.UTF8String from jdk/internal/jimage/UTF8String.class]
[Loaded sun.nio.cs.UTF_8$Encoder from shared objects file]
[Loaded jdk.internal.jimage.PReader from jdk/internal/jimage/PReader.class]
[Loaded jdk.internal.jimage.concurrent.ConcurrentPReader from jdk/internal/jimage/concurrent/ConcurrentPReader.class]
[Loaded java.io.IOException from shared objects file]
[Loaded java.nio.channels.Channel from shared objects file]
[Loaded java.nio.channels.InterruptibleChannel from shared objects file]
[Loaded java.nio.channels.spi.AbstractInterruptibleChannel from shared objects file]
[Loaded java.nio.channels.ReadableByteChannel from shared objects file]
[Loaded java.nio.channels.WritableByteChannel from shared objects file]
[Loaded java.nio.channels.ByteChannel from shared objects file]
[Loaded java.nio.channels.SeekableByteChannel from shared objects file]
[Loaded java.nio.channels.GatheringByteChannel from shared objects file]
[Loaded java.nio.channels.ScatteringByteChannel from shared objects file]
[Loaded java.nio.channels.FileChannel from shared objects file]
[Loaded sun.nio.ch.FileChannelImpl from shared objects file]
[Loaded java.nio.file.attribute.FileAttribute from shared objects file]
[Loaded sun.nio.ch.IOUtil from shared objects file]
[Loaded sun.nio.ch.IOUtil$1 from shared objects file]
[Loaded sun.nio.ch.NativeThreadSet from shared objects file]
[Loaded sun.nio.ch.NativeDispatcher from shared objects file]
[Loaded sun.nio.ch.FileDispatcher from shared objects file]
[Loaded sun.nio.ch.FileDispatcherImpl from shared objects file]
[Loaded sun.nio.ch.FileDispatcherImpl$1 from sun/nio/ch/FileDispatcherImpl$1.class]
[Loaded jdk.internal.jimage.ImageHeader from jdk/internal/jimage/ImageHeader.class]
[Loaded java.nio.channels.FileChannel$MapMode from java/nio/channels/FileChannel$MapMode.class]
[Loaded java.nio.channels.spi.AbstractInterruptibleChannel$1 from shared objects file]
[Loaded sun.nio.ch.NativeThread from shared objects file]
[Loaded sun.nio.ch.FileChannelImpl$Unmapper from sun/nio/ch/FileChannelImpl$Unmapper.class]
[Loaded sun.nio.ch.Util from shared objects file]
[Loaded sun.nio.ch.Util$1 from shared objects file]
[Loaded sun.nio.ch.Util$4 from sun/nio/ch/Util$4.class]
[Loaded sun.nio.ch.DirectBuffer from shared objects file]
[Loaded java.nio.MappedByteBuffer from shared objects file]
[Loaded java.nio.DirectByteBuffer from shared objects file]
[Loaded java.nio.DirectByteBufferR from java/nio/DirectByteBufferR.class]
[Loaded sun.nio.ch.IOStatus from shared objects file]
[Loaded java.nio.IntBuffer from shared objects file]
[Loaded java.nio.DirectIntBufferU from java/nio/DirectIntBufferU.class]
[Loaded java.nio.DirectIntBufferRU from java/nio/DirectIntBufferRU.class]
[Loaded jdk.internal.jimage.ImageStrings from jdk/internal/jimage/ImageStrings.class]
[Loaded jdk.internal.jimage.ImageStream from jdk/internal/jimage/ImageStream.class]
[Loaded jdk.internal.jimage.PackageModuleMap from jdk/internal/jimage/PackageModuleMap.class]
[Loaded jdk.internal.jimage.ImageLocation from jdk/internal/jimage/ImageLocation.class]
[Loaded jdk.internal.jimage.concurrent.ConcurrentPReader$TemporaryBuffer from jdk/internal/jimage/concurrent/ConcurrentPReader$TemporaryBuffer.class]
[Loaded jdk.internal.jimage.concurrent.ConcurrentPReader$TemporaryBuffer$1 from jdk/internal/jimage/concurrent/ConcurrentPReader$TemporaryBuffer$1.class]
[Loaded sun.misc.InnocuousThread from sun/misc/InnocuousThread.class]
[Loaded java.nio.ByteBufferAsIntBufferB from shared objects file]
[Loaded java.util.Collections$SynchronizedMap from shared objects file]
[Loaded sun.net.www.protocol.jrt.JavaRuntimeURLConnection from sun/net/www/protocol/jrt/JavaRuntimeURLConnection.class]
[Loaded java.util.concurrent.CopyOnWriteArrayList from shared objects file]
[Loaded java.util.concurrent.locks.AbstractOwnableSynchronizer from shared objects file]
[Loaded java.util.concurrent.locks.AbstractQueuedSynchronizer from shared objects file]
[Loaded java.util.concurrent.locks.ReentrantLock$Sync from shared objects file]
[Loaded java.util.concurrent.locks.ReentrantLock$NonfairSync from shared objects file]
[Loaded java.util.concurrent.locks.AbstractQueuedSynchronizer$Node from shared objects file]
[Loaded sun.misc.URLClassPath$JarLoader from shared objects file]
[Loaded java.util.zip.ZipConstants from shared objects file]
[Loaded java.util.zip.ZipFile from shared objects file]
[Loaded sun.misc.JavaUtilZipFileAccess from shared objects file]
[Loaded java.util.zip.ZipFile$1 from shared objects file]
[Loaded sun.misc.URLClassPath$JarLoader$1 from shared objects file]
[Loaded sun.misc.FileURLMapper from shared objects file]
[Loaded java.util.jar.JarFile from shared objects file]
[Loaded sun.misc.JavaUtilJarAccess from shared objects file]
[Loaded java.util.jar.JavaUtilJarAccessImpl from shared objects file]
[Loaded java.nio.charset.StandardCharsets from shared objects file]
[Loaded sun.nio.cs.US_ASCII from shared objects file]
[Loaded sun.nio.cs.ISO_8859_1 from shared objects file]
[Loaded sun.nio.cs.UTF_16BE from shared objects file]
[Loaded sun.nio.cs.UTF_16LE from shared objects file]
[Loaded sun.nio.cs.UTF_16 from shared objects file]
[Loaded java.util.Queue from shared objects file]
[Loaded java.util.Deque from shared objects file]
[Loaded java.util.ArrayDeque from shared objects file]
[Loaded java.util.zip.ZipCoder from shared objects file]
[Loaded sun.misc.PerfCounter from shared objects file]
[Loaded sun.misc.Perf$GetPerfAction from shared objects file]
[Loaded sun.misc.Perf from shared objects file]
[Loaded sun.misc.PerfCounter$CoreCounters from shared objects file]
[Loaded java.nio.LongBuffer from shared objects file]
[Loaded java.nio.DirectLongBufferU from shared objects file]
[Loaded sun.misc.JarIndex from shared objects file]
[Loaded java.util.zip.ZipEntry from shared objects file]
[Loaded java.util.jar.JarEntry from shared objects file]
[Loaded java.util.jar.JarFile$JarFileEntry from shared objects file]
[Loaded java.util.zip.ZipFile$ZipFileInputStream from shared objects file]
[Loaded java.util.zip.Inflater from shared objects file]
[Loaded java.util.zip.ZStreamRef from shared objects file]
[Loaded java.util.zip.InflaterInputStream from shared objects file]
[Loaded java.util.zip.ZipFile$ZipFileInflaterInputStream from shared objects file]
[Loaded sun.misc.IOUtils from shared objects file]
[Loaded sun.misc.Resource from shared objects file]
[Loaded sun.misc.URLClassPath$JarLoader$2 from shared objects file]
[Loaded sun.nio.ByteBuffered from shared objects file]
[Loaded ExtraClass from file:/C:/tmp/sharedArchive-Win-8098815/resultsWithFlags/JTwork/classes/closed/runtime/AppCDS/jvmti_app.jar]
Test passed: bootonly
[Loaded java.lang.Shutdown from shared objects file]
[Loaded java.lang.Shutdown$Lock from shared objects file]

[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 HotSpot(TM) 64-Bit Server VM warning: UseAppCDS is disabled because bootstrap classpath has been appended

Test case 3: add to app classpath only - should find Hello.class in app loader
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\\test\\lib;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\\jvmti_app.jar -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -Xbootclasspath/a:C:\\tmp\\sharedArchive-Win-8098815\\resultsWithFlags\\JTwork\\classes\\closed\\runtime\\AppCDS\\WhiteBox.jar JvmtiApp apponly C:\\tmp\\sharedArchive-Win-8098815\\resultsWithFlags\\JTwork\\classes\\closed\\runtime\\AppCDS\\jvmti_addapp.jar ]
[ELAPSED: 509 ms]
[STDOUT]
Test passed: apponly

[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 4: add to boot and app paths - should find Hello.class in boot loader
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\\test\\lib;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\\jvmti_app.jar -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -Xbootclasspath/a:C:\\tmp\\sharedArchive-Win-8098815\\resultsWithFlags\\JTwork\\classes\\closed\\runtime\\AppCDS\\WhiteBox.jar JvmtiApp appandboot C:\\tmp\\sharedArchive-Win-8098815\\resultsWithFlags\\JTwork\\classes\\closed\\runtime\\AppCDS\\jvmti_addboot.jar C:\\tmp\\sharedArchive-Win-8098815\\resultsWithFlags\\JTwork\\classes\\closed\\runtime\\AppCDS\\jvmti_addapp.jar ]
[ELAPSED: 529 ms]
[STDOUT]
Test passed: appandboot

[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 HotSpot(TM) 64-Bit Server VM warning: UseAppCDS is disabled because bootstrap classpath has been appended

Test case 5: add to app using -cp, but add to boot using JVMTI - should find Hello.class in boot loader
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\\test\\lib;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\\jvmti_app.jar;C:\\tmp\\sharedArchive-Win-8098815\\resultsWithFlags\\JTwork\\classes\\closed\\runtime\\AppCDS\\jvmti_addapp.jar -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -Xbootclasspath/a:C:\\tmp\\sharedArchive-Win-8098815\\resultsWithFlags\\JTwork\\classes\\closed\\runtime\\AppCDS\\WhiteBox.jar JvmtiApp bootonly C:\\tmp\\sharedArchive-Win-8098815\\resultsWithFlags\\JTwork\\classes\\closed\\runtime\\AppCDS\\jvmti_addapp.jar ]
[ELAPSED: 494 ms]
[STDOUT]
Test passed: bootonly

[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 HotSpot(TM) 64-Bit Server VM warning: UseAppCDS is disabled because bootstrap classpath has been appended

Test case 6: add to app using AppCDS, but add to boot using JVMTI - should find Hello.class in boot loader
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\\test\\lib;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\\jvmti_app.jar;C:\\tmp\\sharedArchive-Win-8098815\\resultsWithFlags\\JTwork\\classes\\closed\\runtime\\AppCDS\\jvmti_addapp.jar -XX:ExtraSharedClassListFile=C:\\tmp\\sharedArchive-Win-8098815\\resultsWithFlags\\JTwork\\classes\\closed\\runtime\\AppCDS\\JvmtiAddPath-test.classlist -Xbootclasspath/a:C:\\tmp\\sharedArchive-Win-8098815\\resultsWithFlags\\JTwork\\classes\\closed\\runtime\\AppCDS\\WhiteBox.jar ]
[ELAPSED: 846 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       :     57124
Total bytes used        :    509972
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     :        14
ro space:   7934160 [ 40.9% of total] out of  16777216 bytes [47.3% used] at 0x0000000800000000
rw space:  10772736 [ 55.5% of total] out of  16777216 bytes [64.2% used] at 0x0000000801000000
md space:    681048 [  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   :  19421997 [100.0% of total] out of  37879808 bytes [51.3% used]
Dumping shared data to file: 
   ./appcds.jsa
Shared file region 0: 0x7910d0 bytes, addr 0x0000000800000000 file offset 0x 10000
Shared file region 1: 0xa46100 bytes, addr 0x0000000801000000 file offset 0x7b0000
Shared file region 2: 0x a6458 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    1888872  16.4 |     2373    1888872   9.7
Symbol              :    57124    2103904  26.5 |        0          0   0.0 |    57124    2103904  10.8
TypeArrayU1         :    13199     479544   6.0 |     2373     419168   3.6 |    15572     898712   4.6
TypeArrayU2         :     4936     280152   3.5 |        0          0   0.0 |     4936     280152   1.4
TypeArrayU4         :     2484     154000   1.9 |        0          0   0.0 |     2484     154000   0.8
TypeArrayU8         :     3843     326112   4.1 |        0          0   0.0 |     3843     326112   1.7
TypeArrayOther      :        0          0   0.0 |        0          0   0.0 |        0          0   0.0
Method              :        0          0   0.0 |    31921    3078336  26.8 |    31921    3078336  15.8
ConstMethod         :    31921    4586032  57.8 |        0          0   0.0 |    31921    4586032  23.6
MethodData          :        0          0   0.0 |        0          0   0.0 |        0          0   0.0
ConstantPool        :        0          0   0.0 |     2373    3340576  29.1 |     2373    3340576  17.2
ConstantPoolCache   :        0          0   0.0 |     2359    2045736  17.8 |     2359    2045736  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 |    57124     452824   3.9 |    57124     452824   2.3
SymbolBucket        :        0          0   0.0 |    14282      57132   0.5 |    14282      57132   0.3
Other               :        0          0   0.0 |        0     205145   1.8 |        0     205145   1.1
--------------------+---------------------------+---------------------------+--------------------------
Total               :   113566    7934160 100.0 |   112806   11487837 100.0 |   226372   19421997 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\\test\\lib;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\\jvmti_app.jar;C:\\tmp\\sharedArchive-Win-8098815\\resultsWithFlags\\JTwork\\classes\\closed\\runtime\\AppCDS\\jvmti_addapp.jar -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -Xbootclasspath/a:C:\\tmp\\sharedArchive-Win-8098815\\resultsWithFlags\\JTwork\\classes\\closed\\runtime\\AppCDS\\WhiteBox.jar JvmtiApp bootonly C:\\tmp\\sharedArchive-Win-8098815\\resultsWithFlags\\JTwork\\classes\\closed\\runtime\\AppCDS\\jvmti_addapp.jar ]
[ELAPSED: 520 ms]
[STDOUT]
Test passed: bootonly

[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 HotSpot(TM) 64-Bit Server VM warning: UseAppCDS is disabled because bootstrap classpath has been appended

Test case 7: add to app using AppCDS, no JVMTI calls - should find Hello.class in app loader
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\\test\\lib;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\\jvmti_app.jar;C:\\tmp\\sharedArchive-Win-8098815\\resultsWithFlags\\JTwork\\classes\\closed\\runtime\\AppCDS\\jvmti_addapp.jar -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -Xbootclasspath/a:C:\\tmp\\sharedArchive-Win-8098815\\resultsWithFlags\\JTwork\\classes\\closed\\runtime\\AppCDS\\WhiteBox.jar JvmtiApp noadd-appcds ]
[ELAPSED: 485 ms]
[STDOUT]
Test passed: noadd-appcds

[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:(1/16)----------
STATUS:Passed.
----------rerun:(21/2609)*----------
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\\test\\lib;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\\test\\lib;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\\test\\lib;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\\JvmtiAddPath.jta'
result: Passed. Execution successful


test result: Passed. Execution successful
