#Test Results (version 2) #Tue Aug 07 15:30:16 PDT 2018 #-----testdescription----- $file=/jdk/abe/open/test/hotspot/jtreg/runtime/appcds/cacheObject/DifferentHeapSizes.java $root=/jdk/abe/open/test/hotspot/jtreg keywords=othervm driver library=/test/lib /test/hotspot/jtreg/runtime/appcds modules=jdk.jartool/sun.tools.jar requires=(vm.cds.archived.java.heap) & ((vm.gc\=\="null")) run=USER_SPECIFIED compile ../test-classes/Hello.java\nUSER_SPECIFIED build sun.hotspot.WhiteBox\nUSER_SPECIFIED driver ClassFileInstaller sun.hotspot.WhiteBox\nUSER_SPECIFIED main/othervm -XX\:+UnlockDiagnosticVMOptions -XX\:+WhiteBoxAPI -Xbootclasspath/a\:. DifferentHeapSizes\n source=DifferentHeapSizes.java title=Test automatic relocation of archive heap regions dur to heap size changes. #-----environment----- #-----testresult----- compileJDK=/home/iklam/jdk/bld/abe/images/jdk description=file\:/jdk/abe/open/test/hotspot/jtreg/runtime/appcds/cacheObject/DifferentHeapSizes.java elapsed=22313 0\:00\:22.313 end=Tue Aug 07 15\:30\:16 PDT 2018 environment=regtest execStatus=Passed. Execution successful harnessLoaderMode=Classpath Loader harnessVariety=Full Bundle hostname=ioilinux javatestOS=Linux 4.4.0-45-generic (amd64) javatestVersion=6.0 jtregVersion=jtreg 4.2 fcs b13 modules=jdk.jartool/sun.tools.jar script=com.sun.javatest.regtest.exec.RegressionScript sections=script_messages compile build build driver build compile main start=Tue Aug 07 15\:29\:54 PDT 2018 test=runtime/appcds/cacheObject/DifferentHeapSizes.java testJDK=/home/iklam/jdk/bld/abe-fastdebug/images/jdk totalTime=22325 user.name=iklam work=/jdk/tmp/jtreg/work/runtime/appcds/cacheObject #section:script_messages ----------messages:(14/876)---------- compile JDK: /home/iklam/jdk/bld/abe/images/jdk java version "12-internal" 2019-03-19 Java(TM) SE Runtime Environment 19.3 (build 12-internal+0-adhoc.iklam.open) Java HotSpot(TM) 64-Bit Server VM 19.3 (build 12-internal+0-adhoc.iklam.open, mixed mode) test JDK: /home/iklam/jdk/bld/abe-fastdebug/images/jdk java version "12-internal" 2019-03-19 Java(TM) SE Runtime Environment 19.3 (fastdebug build 12-internal+0-adhoc.iklam.open) Java HotSpot(TM) 64-Bit Server VM 19.3 (fastdebug build 12-internal+0-adhoc.iklam.open, mixed mode) Library /test/lib; kind: packages source directory: /jdk/abe/open/test/lib class directory: /jdk/tmp/jtreg/work/classes/test/lib Library /test/hotspot/jtreg/runtime/appcds; kind: packages source directory: /jdk/abe/open/test/hotspot/jtreg/runtime/appcds class directory: /jdk/tmp/jtreg/work/classes/test/hotspot/jtreg/runtime/appcds #section:compile ----------messages:(6/341)---------- command: compile /jdk/abe/open/test/hotspot/jtreg/runtime/appcds/cacheObject/../test-classes/Hello.java reason: User specified action: run compile ../test-classes/Hello.java Additional options from @modules: --add-modules jdk.jartool --add-exports jdk.jartool/sun.tools.jar=ALL-UNNAMED Mode: agentvm Agent id: 0 elapsed time (seconds): 1.4 ----------configuration:(16/954)---------- Boot Layer (javac runtime environment) class path: /net/scanas416.us.oracle.com/export/java_re2/misc/promoted/jtreg/4.2/fcs/b13/binaries/jtreg/lib/javatest.jar /net/scanas416.us.oracle.com/export/java_re2/misc/promoted/jtreg/4.2/fcs/b13/binaries/jtreg/lib/jtreg.jar patch: java.base /jdk/tmp/jtreg/work/patches/java.base javac compilation environment add modules: jdk.jartool add exports: jdk.jartool/sun.tools.jar ALL-UNNAMED source path: /jdk/abe/open/test/hotspot/jtreg/runtime/appcds/cacheObject /jdk/abe/open/test/lib /jdk/abe/open/test/hotspot/jtreg/runtime/appcds class path: /jdk/abe/open/test/hotspot/jtreg/runtime/appcds/cacheObject /jdk/tmp/jtreg/work/classes/runtime/appcds/cacheObject/DifferentHeapSizes.d /jdk/tmp/jtreg/work/classes/test/lib /jdk/tmp/jtreg/work/classes/test/hotspot/jtreg/runtime/appcds ----------rerun:(27/2297)*---------- cd /jdk/tmp/jtreg/work/scratch && \\ DISPLAY=:2 \\ HOME=/home/iklam \\ JTREG_COMPILEJDK=/home/iklam/jdk/bld/abe/images/jdk \\ LANG=en_US.UTF-8 \\ PATH=/bin:/usr/bin \\ /home/iklam/jdk/bld/abe/images/jdk/bin/javac \\ -J-Djava.library.path=/home/iklam/jdk/bld/abe/images/jdk/../../images/test/hotspot/jtreg/native \\ -J-Dtest.class.path.prefix=/jdk/tmp/jtreg/work/classes/runtime/appcds/cacheObject/DifferentHeapSizes.d:/jdk/abe/open/test/hotspot/jtreg/runtime/appcds/cacheObject:/jdk/tmp/jtreg/work/classes/test/lib:/jdk/tmp/jtreg/work/classes/test/hotspot/jtreg/runtime/appcds \\ -J-Dtest.src=/jdk/abe/open/test/hotspot/jtreg/runtime/appcds/cacheObject \\ -J-Dtest.src.path=/jdk/abe/open/test/hotspot/jtreg/runtime/appcds/cacheObject:/jdk/abe/open/test/lib:/jdk/abe/open/test/hotspot/jtreg/runtime/appcds \\ -J-Dtest.classes=/jdk/tmp/jtreg/work/classes/runtime/appcds/cacheObject/DifferentHeapSizes.d \\ -J-Dtest.class.path=/jdk/tmp/jtreg/work/classes/runtime/appcds/cacheObject/DifferentHeapSizes.d:/jdk/tmp/jtreg/work/classes/test/lib:/jdk/tmp/jtreg/work/classes/test/hotspot/jtreg/runtime/appcds \\ -J-Dtest.vm.opts= \\ -J-Dtest.tool.vm.opts= \\ -J-Dtest.compiler.opts= \\ -J-Dtest.java.opts= \\ -J-Dtest.jdk=/home/iklam/jdk/bld/abe-fastdebug/images/jdk \\ -J-Dcompile.jdk=/home/iklam/jdk/bld/abe/images/jdk \\ -J-Dtest.timeout.factor=4.0 \\ -J-Dtest.modules=jdk.jartool/sun.tools.jar \\ -J-Dtest.nativepath=/home/iklam/jdk/bld/abe/images/jdk/../../images/test/hotspot/jtreg/native \\ --add-modules jdk.jartool \\ --add-exports jdk.jartool/sun.tools.jar=ALL-UNNAMED \\ -d /jdk/tmp/jtreg/work/classes/runtime/appcds/cacheObject/DifferentHeapSizes.d \\ -sourcepath /jdk/abe/open/test/hotspot/jtreg/runtime/appcds/cacheObject:/jdk/abe/open/test/lib:/jdk/abe/open/test/hotspot/jtreg/runtime/appcds \\ -classpath /jdk/abe/open/test/hotspot/jtreg/runtime/appcds/cacheObject:/jdk/tmp/jtreg/work/classes/runtime/appcds/cacheObject/DifferentHeapSizes.d:/jdk/tmp/jtreg/work/classes/test/lib:/jdk/tmp/jtreg/work/classes/test/hotspot/jtreg/runtime/appcds /jdk/abe/open/test/hotspot/jtreg/runtime/appcds/cacheObject/../test-classes/Hello.java result: Passed. Compilation successful #section:build ----------messages:(3/127)---------- command: build sun.hotspot.WhiteBox reason: User specified action: run build sun.hotspot.WhiteBox elapsed time (seconds): 0.0 result: Passed. All files up to date #section:build ----------messages:(3/101)---------- command: build ClassFileInstaller reason: Named class compiled on demand elapsed time (seconds): 0.0 result: Passed. All files up to date #section:driver ----------messages:(6/274)---------- command: driver ClassFileInstaller sun.hotspot.WhiteBox reason: User specified action: run driver ClassFileInstaller sun.hotspot.WhiteBox Mode: agentvm Agent id: 1 Additional exports to unnamed modules from @modules: jdk.jartool/sun.tools.jar elapsed time (seconds): 1.147 ----------configuration:(14/789)---------- Boot Layer class path: /net/scanas416.us.oracle.com/export/java_re2/misc/promoted/jtreg/4.2/fcs/b13/binaries/jtreg/lib/javatest.jar /net/scanas416.us.oracle.com/export/java_re2/misc/promoted/jtreg/4.2/fcs/b13/binaries/jtreg/lib/jtreg.jar patch: java.base /jdk/tmp/jtreg/work/patches/java.base Test Layer add exports: jdk.jartool/sun.tools.jar ALL-UNNAMED class path: /jdk/tmp/jtreg/work/classes/runtime/appcds/cacheObject/DifferentHeapSizes.d /jdk/abe/open/test/hotspot/jtreg/runtime/appcds/cacheObject /jdk/tmp/jtreg/work/classes/test/lib /jdk/abe/open/test/lib /jdk/tmp/jtreg/work/classes/test/hotspot/jtreg/runtime/appcds /jdk/abe/open/test/hotspot/jtreg/runtime/appcds ----------rerun:(23/2077)*---------- cd /jdk/tmp/jtreg/work/scratch && \\ DISPLAY=:2 \\ HOME=/home/iklam \\ JTREG_COMPILEJDK=/home/iklam/jdk/bld/abe/images/jdk \\ LANG=en_US.UTF-8 \\ PATH=/bin:/usr/bin \\ /home/iklam/jdk/bld/abe-fastdebug/images/jdk/bin/java \\ -Dtest.class.path.prefix=/jdk/tmp/jtreg/work/classes/runtime/appcds/cacheObject/DifferentHeapSizes.d:/jdk/abe/open/test/hotspot/jtreg/runtime/appcds/cacheObject:/jdk/tmp/jtreg/work/classes/test/lib:/jdk/tmp/jtreg/work/classes/test/hotspot/jtreg/runtime/appcds \\ -Dtest.src=/jdk/abe/open/test/hotspot/jtreg/runtime/appcds/cacheObject \\ -Dtest.src.path=/jdk/abe/open/test/hotspot/jtreg/runtime/appcds/cacheObject:/jdk/abe/open/test/lib:/jdk/abe/open/test/hotspot/jtreg/runtime/appcds \\ -Dtest.classes=/jdk/tmp/jtreg/work/classes/runtime/appcds/cacheObject/DifferentHeapSizes.d \\ -Dtest.class.path=/jdk/tmp/jtreg/work/classes/runtime/appcds/cacheObject/DifferentHeapSizes.d:/jdk/tmp/jtreg/work/classes/test/lib:/jdk/tmp/jtreg/work/classes/test/hotspot/jtreg/runtime/appcds \\ -Dtest.vm.opts= \\ -Dtest.tool.vm.opts= \\ -Dtest.compiler.opts= \\ -Dtest.java.opts= \\ -Dtest.jdk=/home/iklam/jdk/bld/abe-fastdebug/images/jdk \\ -Dcompile.jdk=/home/iklam/jdk/bld/abe/images/jdk \\ -Dtest.timeout.factor=4.0 \\ -Dtest.modules=jdk.jartool/sun.tools.jar \\ -Dtest.nativepath=/home/iklam/jdk/bld/abe/images/jdk/../../images/test/hotspot/jtreg/native \\ -classpath /jdk/tmp/jtreg/work/classes/runtime/appcds/cacheObject/DifferentHeapSizes.d:/jdk/abe/open/test/hotspot/jtreg/runtime/appcds/cacheObject:/jdk/tmp/jtreg/work/classes/test/lib:/jdk/abe/open/test/lib:/jdk/tmp/jtreg/work/classes/test/hotspot/jtreg/runtime/appcds:/jdk/abe/open/test/hotspot/jtreg/runtime/appcds:/net/scanas416.us.oracle.com/export/java_re2/misc/promoted/jtreg/4.2/fcs/b13/binaries/jtreg/lib/javatest.jar:/net/scanas416.us.oracle.com/export/java_re2/misc/promoted/jtreg/4.2/fcs/b13/binaries/jtreg/lib/jtreg.jar \\ ClassFileInstaller sun.hotspot.WhiteBox ----------System.err:(3/35)---------- JavaTest Message: Test complete. result: Passed. Execution successful #section:build ----------messages:(5/149)---------- command: build DifferentHeapSizes reason: Named class compiled on demand Test directory: compile: DifferentHeapSizes elapsed time (seconds): 0.304 result: Passed. Build successful #section:compile ----------messages:(6/319)---------- command: compile /jdk/abe/open/test/hotspot/jtreg/runtime/appcds/cacheObject/DifferentHeapSizes.java reason: .class file out of date or does not exist Additional options from @modules: --add-modules jdk.jartool --add-exports jdk.jartool/sun.tools.jar=ALL-UNNAMED Mode: agentvm Agent id: 0 elapsed time (seconds): 0.303 ----------configuration:(16/954)---------- Boot Layer (javac runtime environment) class path: /net/scanas416.us.oracle.com/export/java_re2/misc/promoted/jtreg/4.2/fcs/b13/binaries/jtreg/lib/javatest.jar /net/scanas416.us.oracle.com/export/java_re2/misc/promoted/jtreg/4.2/fcs/b13/binaries/jtreg/lib/jtreg.jar patch: java.base /jdk/tmp/jtreg/work/patches/java.base javac compilation environment add modules: jdk.jartool add exports: jdk.jartool/sun.tools.jar ALL-UNNAMED source path: /jdk/abe/open/test/hotspot/jtreg/runtime/appcds/cacheObject /jdk/abe/open/test/lib /jdk/abe/open/test/hotspot/jtreg/runtime/appcds class path: /jdk/abe/open/test/hotspot/jtreg/runtime/appcds/cacheObject /jdk/tmp/jtreg/work/classes/runtime/appcds/cacheObject/DifferentHeapSizes.d /jdk/tmp/jtreg/work/classes/test/lib /jdk/tmp/jtreg/work/classes/test/hotspot/jtreg/runtime/appcds ----------rerun:(27/2294)*---------- cd /jdk/tmp/jtreg/work/scratch && \\ DISPLAY=:2 \\ HOME=/home/iklam \\ JTREG_COMPILEJDK=/home/iklam/jdk/bld/abe/images/jdk \\ LANG=en_US.UTF-8 \\ PATH=/bin:/usr/bin \\ /home/iklam/jdk/bld/abe/images/jdk/bin/javac \\ -J-Djava.library.path=/home/iklam/jdk/bld/abe/images/jdk/../../images/test/hotspot/jtreg/native \\ -J-Dtest.class.path.prefix=/jdk/tmp/jtreg/work/classes/runtime/appcds/cacheObject/DifferentHeapSizes.d:/jdk/abe/open/test/hotspot/jtreg/runtime/appcds/cacheObject:/jdk/tmp/jtreg/work/classes/test/lib:/jdk/tmp/jtreg/work/classes/test/hotspot/jtreg/runtime/appcds \\ -J-Dtest.src=/jdk/abe/open/test/hotspot/jtreg/runtime/appcds/cacheObject \\ -J-Dtest.src.path=/jdk/abe/open/test/hotspot/jtreg/runtime/appcds/cacheObject:/jdk/abe/open/test/lib:/jdk/abe/open/test/hotspot/jtreg/runtime/appcds \\ -J-Dtest.classes=/jdk/tmp/jtreg/work/classes/runtime/appcds/cacheObject/DifferentHeapSizes.d \\ -J-Dtest.class.path=/jdk/tmp/jtreg/work/classes/runtime/appcds/cacheObject/DifferentHeapSizes.d:/jdk/tmp/jtreg/work/classes/test/lib:/jdk/tmp/jtreg/work/classes/test/hotspot/jtreg/runtime/appcds \\ -J-Dtest.vm.opts= \\ -J-Dtest.tool.vm.opts= \\ -J-Dtest.compiler.opts= \\ -J-Dtest.java.opts= \\ -J-Dtest.jdk=/home/iklam/jdk/bld/abe-fastdebug/images/jdk \\ -J-Dcompile.jdk=/home/iklam/jdk/bld/abe/images/jdk \\ -J-Dtest.timeout.factor=4.0 \\ -J-Dtest.modules=jdk.jartool/sun.tools.jar \\ -J-Dtest.nativepath=/home/iklam/jdk/bld/abe/images/jdk/../../images/test/hotspot/jtreg/native \\ --add-modules jdk.jartool \\ --add-exports jdk.jartool/sun.tools.jar=ALL-UNNAMED \\ -d /jdk/tmp/jtreg/work/classes/runtime/appcds/cacheObject/DifferentHeapSizes.d \\ -sourcepath /jdk/abe/open/test/hotspot/jtreg/runtime/appcds/cacheObject:/jdk/abe/open/test/lib:/jdk/abe/open/test/hotspot/jtreg/runtime/appcds \\ -classpath /jdk/abe/open/test/hotspot/jtreg/runtime/appcds/cacheObject:/jdk/tmp/jtreg/work/classes/runtime/appcds/cacheObject/DifferentHeapSizes.d:/jdk/tmp/jtreg/work/classes/test/lib:/jdk/tmp/jtreg/work/classes/test/hotspot/jtreg/runtime/appcds /jdk/abe/open/test/hotspot/jtreg/runtime/appcds/cacheObject/DifferentHeapSizes.java result: Passed. Compilation successful #section:main ----------messages:(5/415)---------- command: main -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -Xbootclasspath/a:. DifferentHeapSizes reason: User specified action: run main/othervm -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -Xbootclasspath/a:. DifferentHeapSizes Mode: othervm [/othervm specified] Additional options from @modules: --add-modules jdk.jartool --add-exports jdk.jartool/sun.tools.jar=ALL-UNNAMED elapsed time (seconds): 18.664 ----------configuration:(4/107)---------- Boot Layer add modules: jdk.jartool add exports: jdk.jartool/sun.tools.jar ALL-UNNAMED ----------System.out:(968/97501)---------- Command line: [/home/iklam/jdk/bld/abe-fastdebug/images/jdk/bin/java -cp /jdk/tmp/jtreg/work/classes/runtime/appcds/cacheObject/DifferentHeapSizes.d:/jdk/abe/open/test/hotspot/jtreg/runtime/appcds/cacheObject:/jdk/tmp/jtreg/work/classes/test/lib:/jdk/abe/open/test/lib:/jdk/tmp/jtreg/work/classes/test/hotspot/jtreg/runtime/appcds:/jdk/abe/open/test/hotspot/jtreg/runtime/appcds:/net/scanas416.us.oracle.com/export/java_re2/misc/promoted/jtreg/4.2/fcs/b13/binaries/jtreg/lib/javatest.jar:/net/scanas416.us.oracle.com/export/java_re2/misc/promoted/jtreg/4.2/fcs/b13/binaries/jtreg/lib/jtreg.jar -cp /jdk/tmp/jtreg/work/classes/runtime/appcds/cacheObject/DifferentHeapSizes.d/hello.jar -Xshare:dump -Xlog:cds,cds+hashtables -XX:ExtraSharedClassListFile=/jdk/tmp/jtreg/work/classes/runtime/appcds/cacheObject/DifferentHeapSizes.d/DifferentHeapSizes-test.classlist -XX:SharedArchiveFile=/jdk/tmp/jtreg/work/scratch/appcds-15h29m59s180.jsa -Xmx128m ] [ELAPSED: 1377 ms] [STDERR] [STDOUT] [0.031s][info][cds] narrow_klass_base = 0x0000000800000000, narrow_klass_shift = 3 [0.031s][info][cds] Allocated temporary class space: 1073741824 bytes at 0x00000008c0000000 Allocated shared space: 3221225472 bytes at 0x0000000800000000 [0.033s][info][cds] Expanding shared spaces by 1048576 bytes [total 1048576 bytes ending at 0x800100000] Loading classes to share ... Loading classes to share: done. [0.563s][info][cds] Shared spaces: preloaded 1165 classes Rewriting and linking classes ... Rewriting and linking classes: done Number of classes 1248 instance classes = 1170 obj array classes = 70 type array classes = 8 Updating ConstMethods ... done. Removing unshareable information ... done. Scanning all metaspace objects ... Allocating RW objects ... [0.722s][info][cds] Expanding shared spaces by 1048576 bytes [total 2097152 bytes ending at 0x800200000] [0.736s][info][cds] Expanding shared spaces by 1048576 bytes [total 3145728 bytes ending at 0x800300000] [0.749s][info][cds] Expanding shared spaces by 1048576 bytes [total 4194304 bytes ending at 0x800400000] [0.763s][info][cds] Expanding shared spaces by 1048576 bytes [total 5242880 bytes ending at 0x800500000] Allocating RO objects ... [0.791s][info][cds] Expanding shared spaces by 1048576 bytes [total 6291456 bytes ending at 0x800600000] [0.804s][info][cds] Expanding shared spaces by 1048576 bytes [total 7340032 bytes ending at 0x800700000] [0.816s][info][cds] Expanding shared spaces by 1048576 bytes [total 8388608 bytes ending at 0x800800000] [0.829s][info][cds] Expanding shared spaces by 1048576 bytes [total 9437184 bytes ending at 0x800900000] [0.842s][info][cds] Expanding shared spaces by 1048576 bytes [total 10485760 bytes ending at 0x800a00000] [0.856s][info][cds] Expanding shared spaces by 1048576 bytes [total 11534336 bytes ending at 0x800b00000] Relocating embedded pointers ... Relocating external roots ... Verifying external roots ... Dumping symbol table ... [1.055s][info][cds,hashtables] Shared symbol table stats -------- base: 0x0000000800000000 [1.055s][info][cds,hashtables] Number of entries : 36158 [1.055s][info][cds,hashtables] Total bytes used : 322608 [1.055s][info][cds,hashtables] Average bytes per entry : 8.922 [1.055s][info][cds,hashtables] Average bucket size : 4.000 [1.055s][info][cds,hashtables] Variance of bucket size : 4.089 [1.055s][info][cds,hashtables] Std. dev. of bucket size: 2.022 [1.055s][info][cds,hashtables] Empty buckets : 159 [1.055s][info][cds,hashtables] Value_Only buckets : 708 [1.055s][info][cds,hashtables] Other buckets : 8172 Dumping objects to closed archive heap region ... [1.079s][info][cds,hashtables] Shared string table stats -------- base: 0x0000000800000000 [1.079s][info][cds,hashtables] Number of entries : 6667 [1.079s][info][cds,hashtables] Total bytes used : 59568 [1.079s][info][cds,hashtables] Average bytes per entry : 8.935 [1.079s][info][cds,hashtables] Average bucket size : 3.999 [1.079s][info][cds,hashtables] Variance of bucket size : 3.906 [1.079s][info][cds,hashtables] Std. dev. of bucket size: 1.976 [1.079s][info][cds,hashtables] Empty buckets : 35 [1.079s][info][cds,hashtables] Value_Only buckets : 114 [1.079s][info][cds,hashtables] Other buckets : 1518 Dumping objects to open archive heap region ... Relocating SystemDictionary::_well_known_klasses[] ... Removing java_mirror ... done. [1.260s][info][cds ] Expanding shared spaces by 1048576 bytes [total 12582912 bytes ending at 0x800c00000] [1.260s][info][cds ] Expanding shared spaces by 1048576 bytes [total 13631488 bytes ending at 0x800d00000] [1.261s][info][cds ] Expanding shared spaces by 1048576 bytes [total 14680064 bytes ending at 0x800e00000] [1.262s][info][cds ] Expanding shared spaces by 1048576 bytes [total 15728640 bytes ending at 0x800f00000] [1.262s][info][cds ] Expanding shared spaces by 1048576 bytes [total 16777216 bytes ending at 0x801000000] [1.263s][info][cds ] Expanding shared spaces by 1048576 bytes [total 17825792 bytes ending at 0x801100000] [1.263s][info][cds ] Expanding shared spaces by 1048576 bytes [total 18874368 bytes ending at 0x801200000] [1.286s][info][cds ] Archive heap region 5 0x00000000ffc00000 - 0x00000000ffc6b000 = 438272 bytes [1.287s][info][cds ] Archive heap region 6 0x0000000000000000 - 0x0000000000000000 = 0 bytes [1.287s][info][cds ] Archive heap region 7 0x00000000ffb00000 - 0x00000000ffb45000 = 282624 bytes [1.287s][info][cds ] Archive heap region 8 0x0000000000000000 - 0x0000000000000000 = 0 bytes [1.288s][info][cds ] Dumping shared data to file: [1.288s][info][cds ] /jdk/tmp/jtreg/work/scratch/appcds-15h29m59s180.jsa [1.288s][info][cds ] Shared file region 0: 0x000054a0 bytes, addr 0x0000000800000000 file offset 0x00001000 [1.288s][info][cds ] Shared file region 1: 0x00411750 bytes, addr 0x0000000800006000 file offset 0x00007000 [1.295s][info][cds ] Shared file region 2: 0x006f0df0 bytes, addr 0x0000000800418000 file offset 0x00419000 [1.308s][info][cds ] Shared file region 3: 0x00000ac0 bytes, addr 0x0000000800b09000 file offset 0x00b0a000 [1.308s][info][cds ] Shared file region 4: 0x006215a8 bytes, addr 0x0000000800b0a000 file offset 0x00b0b000 [1.318s][info][cds ] Archive heap region 5 0x00000000ffc00000 - 0x00000000ffc6b000 = 438272 bytes [1.318s][info][cds ] Shared file region 5: 0x0006b000 bytes, addr 0x00000000ffc00000 file offset 0x0112d000 [1.319s][info][cds ] Archive heap region 6 0x0000000000000000 - 0x0000000000000000 = 0 bytes [1.319s][info][cds ] Shared file region 6: 0x00000000 bytes, addr 0x0000000000000000 file offset 0x01198000 [1.319s][info][cds ] Archive heap region 7 0x00000000ffb00000 - 0x00000000ffb45000 = 282624 bytes [1.319s][info][cds ] Shared file region 7: 0x00045000 bytes, addr 0x00000000ffb00000 file offset 0x01198000 [1.320s][info][cds ] Archive heap region 8 0x0000000000000000 - 0x0000000000000000 = 0 bytes [1.320s][info][cds ] Shared file region 8: 0x00000000 bytes, addr 0x0000000000000000 file offset 0x011dd000 mc space: 21664 [ 0.1% of total] out of 24576 bytes [ 88.2% used] at 0x0000000800000000 rw space: 4265808 [ 22.8% of total] out of 4268032 bytes [ 99.9% used] at 0x0000000800006000 ro space: 7278064 [ 38.9% of total] out of 7278592 bytes [100.0% used] at 0x0000000800418000 md space: 2752 [ 0.0% of total] out of 4096 bytes [ 67.2% used] at 0x0000000800b09000 od space: 6428072 [ 34.3% of total] out of 6430720 bytes [100.0% used] at 0x0000000800b0a000 st0 space: 438272 [ 2.3% of total] out of 438272 bytes [100.0% used] at 0x00000000ffc00000 oa0 space: 282624 [ 1.5% of total] out of 282624 bytes [100.0% used] at 0x00000000ffb00000 total : 18717256 [100.0% of total] out of 18726912 bytes [ 99.9% used] [1.320s][info][cds ] Detailed metadata info (excluding od/st regions; rw stats include md/mc regions): [1.320s][info][cds ] ro_cnt ro_bytes % | rw_cnt rw_bytes % | all_cnt all_bytes % [1.320s][info][cds ] --------------------+---------------------------+---------------------------+-------------------------- [1.320s][info][cds ] Class : 0 0 0.0 | 1248 813856 19.0 | 1248 813856 7.0 [1.320s][info][cds ] Symbol : 36158 1403552 19.3 | 0 0 0.0 | 36158 1403552 12.1 [1.320s][info][cds ] TypeArrayU1 : 8937 264576 3.6 | 1170 235920 5.5 | 10107 500496 4.3 [1.320s][info][cds ] TypeArrayU2 : 3019 155104 2.1 | 0 0 0.0 | 3019 155104 1.3 [1.320s][info][cds ] TypeArrayU4 : 1336 83936 1.2 | 0 0 0.0 | 1336 83936 0.7 [1.320s][info][cds ] TypeArrayU8 : 1998 181936 2.5 | 1170 139200 3.2 | 3168 321136 2.8 [1.320s][info][cds ] TypeArrayOther : 0 0 0.0 | 0 0 0.0 | 0 0 0.0 [1.320s][info][cds ] Method : 0 0 0.0 | 18382 1918480 44.7 | 18382 1918480 16.6 [1.320s][info][cds ] ConstMethod : 18382 2821184 38.8 | 0 0 0.0 | 18382 2821184 24.4 [1.320s][info][cds ] MethodData : 0 0 0.0 | 0 0 0.0 | 0 0 0.0 [1.320s][info][cds ] ConstantPool : 1170 1873752 25.7 | 0 0 0.0 | 1170 1873752 16.2 [1.320s][info][cds ] ConstantPoolCache : 0 0 0.0 | 1170 1158352 27.0 | 1170 1158352 10.0 [1.320s][info][cds ] Annotations : 51 1632 0.0 | 0 0 0.0 | 51 1632 0.0 [1.320s][info][cds ] MethodCounters : 0 0 0.0 | 0 0 0.0 | 0 0 0.0 [1.320s][info][cds ] SymbolHashentry : 36158 286440 3.9 | 0 0 0.0 | 36158 286440 2.5 [1.320s][info][cds ] SymbolBucket : 9039 36168 0.5 | 0 0 0.0 | 9039 36168 0.3 [1.320s][info][cds ] StringHashentry : 6667 52888 0.7 | 0 0 0.0 | 6667 52888 0.5 [1.320s][info][cds ] StringBucket : 1667 6680 0.1 | 0 0 0.0 | 1667 6680 0.1 [1.320s][info][cds ] Other : 0 110216 1.5 | 0 24416 0.6 | 0 134632 1.2 [1.320s][info][cds ] --------------------+---------------------------+---------------------------+-------------------------- [1.320s][info][cds ] Total : 124582 7278064 100.0 | 23140 4290224 100.0 | 147722 11568288 100.0 Command line: [/home/iklam/jdk/bld/abe-fastdebug/images/jdk/bin/java -cp /jdk/tmp/jtreg/work/classes/runtime/appcds/cacheObject/DifferentHeapSizes.d:/jdk/abe/open/test/hotspot/jtreg/runtime/appcds/cacheObject:/jdk/tmp/jtreg/work/classes/test/lib:/jdk/abe/open/test/lib:/jdk/tmp/jtreg/work/classes/test/hotspot/jtreg/runtime/appcds:/jdk/abe/open/test/hotspot/jtreg/runtime/appcds:/net/scanas416.us.oracle.com/export/java_re2/misc/promoted/jtreg/4.2/fcs/b13/binaries/jtreg/lib/javatest.jar:/net/scanas416.us.oracle.com/export/java_re2/misc/promoted/jtreg/4.2/fcs/b13/binaries/jtreg/lib/jtreg.jar -Xshare:on -showversion -XX:SharedArchiveFile=/jdk/tmp/jtreg/work/scratch/appcds-15h29m59s180.jsa -Dtest.timeout.factor=4.0 -cp /jdk/tmp/jtreg/work/classes/runtime/appcds/cacheObject/DifferentHeapSizes.d/hello.jar -showversion -Xlog:cds -Xmx32m -XX:+UseStringDeduplication Hello ] [ELAPSED: 261 ms] [STDERR] java version "12-internal" 2019-03-19 Java(TM) SE Runtime Environment 19.3 (fastdebug build 12-internal+0-adhoc.iklam.open) Java HotSpot(TM) 64-Bit Server VM 19.3 (fastdebug build 12-internal+0-adhoc.iklam.open, mixed mode, sharing) [STDOUT] [0.075s][info][cds] Archived narrow_klass_base = 0x0000000800000000, narrow_klass_shift = 3 [0.075s][info][cds] Archived narrow_oop_mode = 0, narrow_oop_base = 0x0000000000000000, narrow_oop_shift = 0 Hello World Command line: [/home/iklam/jdk/bld/abe-fastdebug/images/jdk/bin/java -cp /jdk/tmp/jtreg/work/classes/runtime/appcds/cacheObject/DifferentHeapSizes.d:/jdk/abe/open/test/hotspot/jtreg/runtime/appcds/cacheObject:/jdk/tmp/jtreg/work/classes/test/lib:/jdk/abe/open/test/lib:/jdk/tmp/jtreg/work/classes/test/hotspot/jtreg/runtime/appcds:/jdk/abe/open/test/hotspot/jtreg/runtime/appcds:/net/scanas416.us.oracle.com/export/java_re2/misc/promoted/jtreg/4.2/fcs/b13/binaries/jtreg/lib/javatest.jar:/net/scanas416.us.oracle.com/export/java_re2/misc/promoted/jtreg/4.2/fcs/b13/binaries/jtreg/lib/jtreg.jar -Xshare:on -showversion -XX:SharedArchiveFile=/jdk/tmp/jtreg/work/scratch/appcds-15h29m59s180.jsa -Dtest.timeout.factor=4.0 -cp /jdk/tmp/jtreg/work/classes/runtime/appcds/cacheObject/DifferentHeapSizes.d/hello.jar -showversion -Xlog:cds -Xmx64m -XX:+UseStringDeduplication Hello ] [ELAPSED: 334 ms] [STDERR] java version "12-internal" 2019-03-19 Java(TM) SE Runtime Environment 19.3 (fastdebug build 12-internal+0-adhoc.iklam.open) Java HotSpot(TM) 64-Bit Server VM 19.3 (fastdebug build 12-internal+0-adhoc.iklam.open, mixed mode, sharing) [STDOUT] [0.094s][info][cds] Archived narrow_klass_base = 0x0000000800000000, narrow_klass_shift = 3 [0.094s][info][cds] Archived narrow_oop_mode = 0, narrow_oop_base = 0x0000000000000000, narrow_oop_shift = 0 Hello World Command line: [/home/iklam/jdk/bld/abe-fastdebug/images/jdk/bin/java -cp /jdk/tmp/jtreg/work/classes/runtime/appcds/cacheObject/DifferentHeapSizes.d:/jdk/abe/open/test/hotspot/jtreg/runtime/appcds/cacheObject:/jdk/tmp/jtreg/work/classes/test/lib:/jdk/abe/open/test/lib:/jdk/tmp/jtreg/work/classes/test/hotspot/jtreg/runtime/appcds:/jdk/abe/open/test/hotspot/jtreg/runtime/appcds:/net/scanas416.us.oracle.com/export/java_re2/misc/promoted/jtreg/4.2/fcs/b13/binaries/jtreg/lib/javatest.jar:/net/scanas416.us.oracle.com/export/java_re2/misc/promoted/jtreg/4.2/fcs/b13/binaries/jtreg/lib/jtreg.jar -Xshare:on -showversion -XX:SharedArchiveFile=/jdk/tmp/jtreg/work/scratch/appcds-15h29m59s180.jsa -Dtest.timeout.factor=4.0 -cp /jdk/tmp/jtreg/work/classes/runtime/appcds/cacheObject/DifferentHeapSizes.d/hello.jar -showversion -Xlog:cds -Xmx512m -XX:+UseStringDeduplication Hello ] [ELAPSED: 300 ms] [STDERR] java version "12-internal" 2019-03-19 Java(TM) SE Runtime Environment 19.3 (fastdebug build 12-internal+0-adhoc.iklam.open) Java HotSpot(TM) 64-Bit Server VM 19.3 (fastdebug build 12-internal+0-adhoc.iklam.open, mixed mode, sharing) [STDOUT] [0.084s][info][cds] Archived narrow_klass_base = 0x0000000800000000, narrow_klass_shift = 3 [0.084s][info][cds] Archived narrow_oop_mode = 0, narrow_oop_base = 0x0000000000000000, narrow_oop_shift = 0 Hello World Command line: [/home/iklam/jdk/bld/abe-fastdebug/images/jdk/bin/java -cp /jdk/tmp/jtreg/work/classes/runtime/appcds/cacheObject/DifferentHeapSizes.d:/jdk/abe/open/test/hotspot/jtreg/runtime/appcds/cacheObject:/jdk/tmp/jtreg/work/classes/test/lib:/jdk/abe/open/test/lib:/jdk/tmp/jtreg/work/classes/test/hotspot/jtreg/runtime/appcds:/jdk/abe/open/test/hotspot/jtreg/runtime/appcds:/net/scanas416.us.oracle.com/export/java_re2/misc/promoted/jtreg/4.2/fcs/b13/binaries/jtreg/lib/javatest.jar:/net/scanas416.us.oracle.com/export/java_re2/misc/promoted/jtreg/4.2/fcs/b13/binaries/jtreg/lib/jtreg.jar -Xshare:on -showversion -XX:SharedArchiveFile=/jdk/tmp/jtreg/work/scratch/appcds-15h29m59s180.jsa -Dtest.timeout.factor=4.0 -cp /jdk/tmp/jtreg/work/classes/runtime/appcds/cacheObject/DifferentHeapSizes.d/hello.jar -showversion -Xlog:cds -Xmx2048m -XX:+UseStringDeduplication Hello ] [ELAPSED: 332 ms] [STDERR] java version "12-internal" 2019-03-19 Java(TM) SE Runtime Environment 19.3 (fastdebug build 12-internal+0-adhoc.iklam.open) Java HotSpot(TM) 64-Bit Server VM 19.3 (fastdebug build 12-internal+0-adhoc.iklam.open, mixed mode, sharing) [STDOUT] [0.088s][info][cds] Archived narrow_klass_base = 0x0000000800000000, narrow_klass_shift = 3 [0.088s][info][cds] Archived narrow_oop_mode = 0, narrow_oop_base = 0x0000000000000000, narrow_oop_shift = 0 Hello World Command line: [/home/iklam/jdk/bld/abe-fastdebug/images/jdk/bin/java -cp /jdk/tmp/jtreg/work/classes/runtime/appcds/cacheObject/DifferentHeapSizes.d:/jdk/abe/open/test/hotspot/jtreg/runtime/appcds/cacheObject:/jdk/tmp/jtreg/work/classes/test/lib:/jdk/abe/open/test/lib:/jdk/tmp/jtreg/work/classes/test/hotspot/jtreg/runtime/appcds:/jdk/abe/open/test/hotspot/jtreg/runtime/appcds:/net/scanas416.us.oracle.com/export/java_re2/misc/promoted/jtreg/4.2/fcs/b13/binaries/jtreg/lib/javatest.jar:/net/scanas416.us.oracle.com/export/java_re2/misc/promoted/jtreg/4.2/fcs/b13/binaries/jtreg/lib/jtreg.jar -Xshare:on -showversion -XX:SharedArchiveFile=/jdk/tmp/jtreg/work/scratch/appcds-15h29m59s180.jsa -Dtest.timeout.factor=4.0 -cp /jdk/tmp/jtreg/work/classes/runtime/appcds/cacheObject/DifferentHeapSizes.d/hello.jar -showversion -Xlog:cds -Xmx4097m -XX:+UseStringDeduplication Hello ] [ELAPSED: 342 ms] [STDERR] java version "12-internal" 2019-03-19 Java(TM) SE Runtime Environment 19.3 (fastdebug build 12-internal+0-adhoc.iklam.open) Java HotSpot(TM) 64-Bit Server VM 19.3 (fastdebug build 12-internal+0-adhoc.iklam.open, mixed mode, sharing) [STDOUT] [0.109s][info][cds] Archived narrow_klass_base = 0x0000000800000000, narrow_klass_shift = 3 [0.109s][info][cds] Archived narrow_oop_mode = 0, narrow_oop_base = 0x0000000000000000, narrow_oop_shift = 0 [0.109s][info][cds] CDS heap data need to be relocated because [0.109s][info][cds] the archive was created with an incompatible heap size: 128M. [0.109s][info][cds] Current narrow_oop_mode = 1, narrow_oop_base = 0x0000000000000000, narrow_oop_shift = 3 Hello World Command line: [/home/iklam/jdk/bld/abe-fastdebug/images/jdk/bin/java -cp /jdk/tmp/jtreg/work/classes/runtime/appcds/cacheObject/DifferentHeapSizes.d:/jdk/abe/open/test/hotspot/jtreg/runtime/appcds/cacheObject:/jdk/tmp/jtreg/work/classes/test/lib:/jdk/abe/open/test/lib:/jdk/tmp/jtreg/work/classes/test/hotspot/jtreg/runtime/appcds:/jdk/abe/open/test/hotspot/jtreg/runtime/appcds:/net/scanas416.us.oracle.com/export/java_re2/misc/promoted/jtreg/4.2/fcs/b13/binaries/jtreg/lib/javatest.jar:/net/scanas416.us.oracle.com/export/java_re2/misc/promoted/jtreg/4.2/fcs/b13/binaries/jtreg/lib/jtreg.jar -Xshare:on -showversion -XX:SharedArchiveFile=/jdk/tmp/jtreg/work/scratch/appcds-15h29m59s180.jsa -Dtest.timeout.factor=4.0 -cp /jdk/tmp/jtreg/work/classes/runtime/appcds/cacheObject/DifferentHeapSizes.d/hello.jar -showversion -Xlog:cds -Xmx16374m -XX:+UseStringDeduplication Hello ] [ELAPSED: 529 ms] [STDERR] java version "12-internal" 2019-03-19 Java(TM) SE Runtime Environment 19.3 (fastdebug build 12-internal+0-adhoc.iklam.open) Java HotSpot(TM) 64-Bit Server VM 19.3 (fastdebug build 12-internal+0-adhoc.iklam.open, mixed mode, sharing) [STDOUT] [0.089s][info][cds] Archived narrow_klass_base = 0x0000000800000000, narrow_klass_shift = 3 [0.089s][info][cds] Archived narrow_oop_mode = 0, narrow_oop_base = 0x0000000000000000, narrow_oop_shift = 0 [0.089s][info][cds] CDS heap data need to be relocated because [0.089s][info][cds] the archive was created with an incompatible heap size: 128M. [0.089s][info][cds] Current narrow_oop_mode = 1, narrow_oop_base = 0x0000000000000000, narrow_oop_shift = 3 Hello World Command line: [/home/iklam/jdk/bld/abe-fastdebug/images/jdk/bin/java -cp /jdk/tmp/jtreg/work/classes/runtime/appcds/cacheObject/DifferentHeapSizes.d:/jdk/abe/open/test/hotspot/jtreg/runtime/appcds/cacheObject:/jdk/tmp/jtreg/work/classes/test/lib:/jdk/abe/open/test/lib:/jdk/tmp/jtreg/work/classes/test/hotspot/jtreg/runtime/appcds:/jdk/abe/open/test/hotspot/jtreg/runtime/appcds:/net/scanas416.us.oracle.com/export/java_re2/misc/promoted/jtreg/4.2/fcs/b13/binaries/jtreg/lib/javatest.jar:/net/scanas416.us.oracle.com/export/java_re2/misc/promoted/jtreg/4.2/fcs/b13/binaries/jtreg/lib/jtreg.jar -Xshare:on -showversion -XX:SharedArchiveFile=/jdk/tmp/jtreg/work/scratch/appcds-15h29m59s180.jsa -Dtest.timeout.factor=4.0 -cp /jdk/tmp/jtreg/work/classes/runtime/appcds/cacheObject/DifferentHeapSizes.d/hello.jar -showversion -Xlog:cds -Xmx31000m -XX:+UseStringDeduplication Hello ] [ELAPSED: 516 ms] [STDERR] java version "12-internal" 2019-03-19 Java(TM) SE Runtime Environment 19.3 (fastdebug build 12-internal+0-adhoc.iklam.open) Java HotSpot(TM) 64-Bit Server VM 19.3 (fastdebug build 12-internal+0-adhoc.iklam.open, mixed mode, sharing) [STDOUT] [0.094s][info][cds] Archived narrow_klass_base = 0x0000000800000000, narrow_klass_shift = 3 [0.094s][info][cds] Archived narrow_oop_mode = 0, narrow_oop_base = 0x0000000000000000, narrow_oop_shift = 0 [0.094s][info][cds] CDS heap data need to be relocated because [0.094s][info][cds] the archive was created with an incompatible heap size: 128M. [0.094s][info][cds] Current narrow_oop_mode = 2, narrow_oop_base = 0x0000001000000000, narrow_oop_shift = 3 Hello World Command line: [/home/iklam/jdk/bld/abe-fastdebug/images/jdk/bin/java -cp /jdk/tmp/jtreg/work/classes/runtime/appcds/cacheObject/DifferentHeapSizes.d:/jdk/abe/open/test/hotspot/jtreg/runtime/appcds/cacheObject:/jdk/tmp/jtreg/work/classes/test/lib:/jdk/abe/open/test/lib:/jdk/tmp/jtreg/work/classes/test/hotspot/jtreg/runtime/appcds:/jdk/abe/open/test/hotspot/jtreg/runtime/appcds:/net/scanas416.us.oracle.com/export/java_re2/misc/promoted/jtreg/4.2/fcs/b13/binaries/jtreg/lib/javatest.jar:/net/scanas416.us.oracle.com/export/java_re2/misc/promoted/jtreg/4.2/fcs/b13/binaries/jtreg/lib/jtreg.jar -cp /jdk/tmp/jtreg/work/classes/runtime/appcds/cacheObject/DifferentHeapSizes.d/hello.jar -Xshare:dump -Xlog:cds,cds+hashtables -XX:ExtraSharedClassListFile=/jdk/tmp/jtreg/work/classes/runtime/appcds/cacheObject/DifferentHeapSizes.d/DifferentHeapSizes-test.classlist -XX:SharedArchiveFile=/jdk/tmp/jtreg/work/scratch/appcds-15h30m03s344.jsa -Xmx2048m ] [ELAPSED: 1565 ms] [STDERR] [STDOUT] [0.055s][info][cds] narrow_klass_base = 0x0000000800000000, narrow_klass_shift = 3 [0.055s][info][cds] Allocated temporary class space: 1073741824 bytes at 0x00000008c0000000 Allocated shared space: 3221225472 bytes at 0x0000000800000000 [0.058s][info][cds] Expanding shared spaces by 1048576 bytes [total 1048576 bytes ending at 0x800100000] Loading classes to share ... Loading classes to share: done. [0.778s][info][cds] Shared spaces: preloaded 1165 classes Rewriting and linking classes ... Rewriting and linking classes: done Number of classes 1248 instance classes = 1170 obj array classes = 70 type array classes = 8 Updating ConstMethods ... done. Removing unshareable information ... done. Scanning all metaspace objects ... Allocating RW objects ... [0.922s][info][cds] Expanding shared spaces by 1048576 bytes [total 2097152 bytes ending at 0x800200000] [0.937s][info][cds] Expanding shared spaces by 1048576 bytes [total 3145728 bytes ending at 0x800300000] [0.953s][info][cds] Expanding shared spaces by 1048576 bytes [total 4194304 bytes ending at 0x800400000] [0.971s][info][cds] Expanding shared spaces by 1048576 bytes [total 5242880 bytes ending at 0x800500000] Allocating RO objects ... [0.999s][info][cds] Expanding shared spaces by 1048576 bytes [total 6291456 bytes ending at 0x800600000] [1.012s][info][cds] Expanding shared spaces by 1048576 bytes [total 7340032 bytes ending at 0x800700000] [1.024s][info][cds] Expanding shared spaces by 1048576 bytes [total 8388608 bytes ending at 0x800800000] [1.037s][info][cds] Expanding shared spaces by 1048576 bytes [total 9437184 bytes ending at 0x800900000] [1.052s][info][cds] Expanding shared spaces by 1048576 bytes [total 10485760 bytes ending at 0x800a00000] [1.067s][info][cds] Expanding shared spaces by 1048576 bytes [total 11534336 bytes ending at 0x800b00000] Relocating embedded pointers ... Relocating external roots ... Verifying external roots ... Dumping symbol table ... [1.277s][info][cds,hashtables] Shared symbol table stats -------- base: 0x0000000800000000 [1.277s][info][cds,hashtables] Number of entries : 36158 [1.277s][info][cds,hashtables] Total bytes used : 322608 [1.277s][info][cds,hashtables] Average bytes per entry : 8.922 [1.277s][info][cds,hashtables] Average bucket size : 4.000 [1.277s][info][cds,hashtables] Variance of bucket size : 4.089 [1.277s][info][cds,hashtables] Std. dev. of bucket size: 2.022 [1.277s][info][cds,hashtables] Empty buckets : 159 [1.277s][info][cds,hashtables] Value_Only buckets : 708 [1.277s][info][cds,hashtables] Other buckets : 8172 Dumping objects to closed archive heap region ... [1.302s][info][cds,hashtables] Shared string table stats -------- base: 0x0000000800000000 [1.302s][info][cds,hashtables] Number of entries : 6667 [1.302s][info][cds,hashtables] Total bytes used : 59568 [1.302s][info][cds,hashtables] Average bytes per entry : 8.935 [1.302s][info][cds,hashtables] Average bucket size : 3.999 [1.302s][info][cds,hashtables] Variance of bucket size : 3.906 [1.302s][info][cds,hashtables] Std. dev. of bucket size: 1.976 [1.302s][info][cds,hashtables] Empty buckets : 35 [1.302s][info][cds,hashtables] Value_Only buckets : 114 [1.302s][info][cds,hashtables] Other buckets : 1518 Dumping objects to open archive heap region ... Relocating SystemDictionary::_well_known_klasses[] ... Removing java_mirror ... done. [1.480s][info][cds ] Expanding shared spaces by 1048576 bytes [total 12582912 bytes ending at 0x800c00000] [1.481s][info][cds ] Expanding shared spaces by 1048576 bytes [total 13631488 bytes ending at 0x800d00000] [1.482s][info][cds ] Expanding shared spaces by 1048576 bytes [total 14680064 bytes ending at 0x800e00000] [1.482s][info][cds ] Expanding shared spaces by 1048576 bytes [total 15728640 bytes ending at 0x800f00000] [1.483s][info][cds ] Expanding shared spaces by 1048576 bytes [total 16777216 bytes ending at 0x801000000] [1.484s][info][cds ] Expanding shared spaces by 1048576 bytes [total 17825792 bytes ending at 0x801100000] [1.484s][info][cds ] Expanding shared spaces by 1048576 bytes [total 18874368 bytes ending at 0x801200000] [1.506s][info][cds ] Archive heap region 5 0x00000000fff00000 - 0x00000000fff6b000 = 438272 bytes [1.507s][info][cds ] Archive heap region 6 0x0000000000000000 - 0x0000000000000000 = 0 bytes [1.507s][info][cds ] Archive heap region 7 0x00000000ffe00000 - 0x00000000ffe45000 = 282624 bytes [1.507s][info][cds ] Archive heap region 8 0x0000000000000000 - 0x0000000000000000 = 0 bytes [1.508s][info][cds ] Dumping shared data to file: [1.508s][info][cds ] /jdk/tmp/jtreg/work/scratch/appcds-15h30m03s344.jsa [1.508s][info][cds ] Shared file region 0: 0x000054a0 bytes, addr 0x0000000800000000 file offset 0x00001000 [1.508s][info][cds ] Shared file region 1: 0x00411750 bytes, addr 0x0000000800006000 file offset 0x00007000 [1.515s][info][cds ] Shared file region 2: 0x006f0df0 bytes, addr 0x0000000800418000 file offset 0x00419000 [1.527s][info][cds ] Shared file region 3: 0x00000ac0 bytes, addr 0x0000000800b09000 file offset 0x00b0a000 [1.527s][info][cds ] Shared file region 4: 0x006215a8 bytes, addr 0x0000000800b0a000 file offset 0x00b0b000 [1.537s][info][cds ] Archive heap region 5 0x00000000fff00000 - 0x00000000fff6b000 = 438272 bytes [1.537s][info][cds ] Shared file region 5: 0x0006b000 bytes, addr 0x00000000fff00000 file offset 0x0112d000 [1.538s][info][cds ] Archive heap region 6 0x0000000000000000 - 0x0000000000000000 = 0 bytes [1.538s][info][cds ] Shared file region 6: 0x00000000 bytes, addr 0x0000000000000000 file offset 0x01198000 [1.538s][info][cds ] Archive heap region 7 0x00000000ffe00000 - 0x00000000ffe45000 = 282624 bytes [1.538s][info][cds ] Shared file region 7: 0x00045000 bytes, addr 0x00000000ffe00000 file offset 0x01198000 [1.539s][info][cds ] Archive heap region 8 0x0000000000000000 - 0x0000000000000000 = 0 bytes [1.539s][info][cds ] Shared file region 8: 0x00000000 bytes, addr 0x0000000000000000 file offset 0x011dd000 mc space: 21664 [ 0.1% of total] out of 24576 bytes [ 88.2% used] at 0x0000000800000000 rw space: 4265808 [ 22.8% of total] out of 4268032 bytes [ 99.9% used] at 0x0000000800006000 ro space: 7278064 [ 38.9% of total] out of 7278592 bytes [100.0% used] at 0x0000000800418000 md space: 2752 [ 0.0% of total] out of 4096 bytes [ 67.2% used] at 0x0000000800b09000 od space: 6428072 [ 34.3% of total] out of 6430720 bytes [100.0% used] at 0x0000000800b0a000 st0 space: 438272 [ 2.3% of total] out of 438272 bytes [100.0% used] at 0x00000000fff00000 oa0 space: 282624 [ 1.5% of total] out of 282624 bytes [100.0% used] at 0x00000000ffe00000 total : 18717256 [100.0% of total] out of 18726912 bytes [ 99.9% used] [1.539s][info][cds ] Detailed metadata info (excluding od/st regions; rw stats include md/mc regions): [1.539s][info][cds ] ro_cnt ro_bytes % | rw_cnt rw_bytes % | all_cnt all_bytes % [1.539s][info][cds ] --------------------+---------------------------+---------------------------+-------------------------- [1.539s][info][cds ] Class : 0 0 0.0 | 1248 813856 19.0 | 1248 813856 7.0 [1.539s][info][cds ] Symbol : 36158 1403552 19.3 | 0 0 0.0 | 36158 1403552 12.1 [1.539s][info][cds ] TypeArrayU1 : 8937 264576 3.6 | 1170 235920 5.5 | 10107 500496 4.3 [1.539s][info][cds ] TypeArrayU2 : 3019 155104 2.1 | 0 0 0.0 | 3019 155104 1.3 [1.539s][info][cds ] TypeArrayU4 : 1336 83936 1.2 | 0 0 0.0 | 1336 83936 0.7 [1.539s][info][cds ] TypeArrayU8 : 1998 181936 2.5 | 1170 139200 3.2 | 3168 321136 2.8 [1.539s][info][cds ] TypeArrayOther : 0 0 0.0 | 0 0 0.0 | 0 0 0.0 [1.539s][info][cds ] Method : 0 0 0.0 | 18382 1918480 44.7 | 18382 1918480 16.6 [1.539s][info][cds ] ConstMethod : 18382 2821184 38.8 | 0 0 0.0 | 18382 2821184 24.4 [1.539s][info][cds ] MethodData : 0 0 0.0 | 0 0 0.0 | 0 0 0.0 [1.539s][info][cds ] ConstantPool : 1170 1873752 25.7 | 0 0 0.0 | 1170 1873752 16.2 [1.539s][info][cds ] ConstantPoolCache : 0 0 0.0 | 1170 1158352 27.0 | 1170 1158352 10.0 [1.539s][info][cds ] Annotations : 51 1632 0.0 | 0 0 0.0 | 51 1632 0.0 [1.539s][info][cds ] MethodCounters : 0 0 0.0 | 0 0 0.0 | 0 0 0.0 [1.539s][info][cds ] SymbolHashentry : 36158 286440 3.9 | 0 0 0.0 | 36158 286440 2.5 [1.539s][info][cds ] SymbolBucket : 9039 36168 0.5 | 0 0 0.0 | 9039 36168 0.3 [1.539s][info][cds ] StringHashentry : 6667 52888 0.7 | 0 0 0.0 | 6667 52888 0.5 [1.539s][info][cds ] StringBucket : 1667 6680 0.1 | 0 0 0.0 | 1667 6680 0.1 [1.539s][info][cds ] Other : 0 110216 1.5 | 0 24416 0.6 | 0 134632 1.2 [1.539s][info][cds ] --------------------+---------------------------+---------------------------+-------------------------- [1.539s][info][cds ] Total : 124582 7278064 100.0 | 23140 4290224 100.0 | 147722 11568288 100.0 Command line: [/home/iklam/jdk/bld/abe-fastdebug/images/jdk/bin/java -cp /jdk/tmp/jtreg/work/classes/runtime/appcds/cacheObject/DifferentHeapSizes.d:/jdk/abe/open/test/hotspot/jtreg/runtime/appcds/cacheObject:/jdk/tmp/jtreg/work/classes/test/lib:/jdk/abe/open/test/lib:/jdk/tmp/jtreg/work/classes/test/hotspot/jtreg/runtime/appcds:/jdk/abe/open/test/hotspot/jtreg/runtime/appcds:/net/scanas416.us.oracle.com/export/java_re2/misc/promoted/jtreg/4.2/fcs/b13/binaries/jtreg/lib/javatest.jar:/net/scanas416.us.oracle.com/export/java_re2/misc/promoted/jtreg/4.2/fcs/b13/binaries/jtreg/lib/jtreg.jar -Xshare:on -showversion -XX:SharedArchiveFile=/jdk/tmp/jtreg/work/scratch/appcds-15h30m03s344.jsa -Dtest.timeout.factor=4.0 -cp /jdk/tmp/jtreg/work/classes/runtime/appcds/cacheObject/DifferentHeapSizes.d/hello.jar -showversion -Xlog:cds -Xmx32m -XX:+UseStringDeduplication Hello ] [ELAPSED: 286 ms] [STDERR] java version "12-internal" 2019-03-19 Java(TM) SE Runtime Environment 19.3 (fastdebug build 12-internal+0-adhoc.iklam.open) Java HotSpot(TM) 64-Bit Server VM 19.3 (fastdebug build 12-internal+0-adhoc.iklam.open, mixed mode, sharing) [STDOUT] [0.077s][info][cds] Archived narrow_klass_base = 0x0000000800000000, narrow_klass_shift = 3 [0.077s][info][cds] Archived narrow_oop_mode = 0, narrow_oop_base = 0x0000000000000000, narrow_oop_shift = 0 Hello World Command line: [/home/iklam/jdk/bld/abe-fastdebug/images/jdk/bin/java -cp /jdk/tmp/jtreg/work/classes/runtime/appcds/cacheObject/DifferentHeapSizes.d:/jdk/abe/open/test/hotspot/jtreg/runtime/appcds/cacheObject:/jdk/tmp/jtreg/work/classes/test/lib:/jdk/abe/open/test/lib:/jdk/tmp/jtreg/work/classes/test/hotspot/jtreg/runtime/appcds:/jdk/abe/open/test/hotspot/jtreg/runtime/appcds:/net/scanas416.us.oracle.com/export/java_re2/misc/promoted/jtreg/4.2/fcs/b13/binaries/jtreg/lib/javatest.jar:/net/scanas416.us.oracle.com/export/java_re2/misc/promoted/jtreg/4.2/fcs/b13/binaries/jtreg/lib/jtreg.jar -Xshare:on -showversion -XX:SharedArchiveFile=/jdk/tmp/jtreg/work/scratch/appcds-15h30m03s344.jsa -Dtest.timeout.factor=4.0 -cp /jdk/tmp/jtreg/work/classes/runtime/appcds/cacheObject/DifferentHeapSizes.d/hello.jar -showversion -Xlog:cds -Xmx512m -XX:+UseStringDeduplication Hello ] [ELAPSED: 319 ms] [STDERR] java version "12-internal" 2019-03-19 Java(TM) SE Runtime Environment 19.3 (fastdebug build 12-internal+0-adhoc.iklam.open) Java HotSpot(TM) 64-Bit Server VM 19.3 (fastdebug build 12-internal+0-adhoc.iklam.open, mixed mode, sharing) [STDOUT] [0.097s][info][cds] Archived narrow_klass_base = 0x0000000800000000, narrow_klass_shift = 3 [0.097s][info][cds] Archived narrow_oop_mode = 0, narrow_oop_base = 0x0000000000000000, narrow_oop_shift = 0 Hello World Command line: [/home/iklam/jdk/bld/abe-fastdebug/images/jdk/bin/java -cp /jdk/tmp/jtreg/work/classes/runtime/appcds/cacheObject/DifferentHeapSizes.d:/jdk/abe/open/test/hotspot/jtreg/runtime/appcds/cacheObject:/jdk/tmp/jtreg/work/classes/test/lib:/jdk/abe/open/test/lib:/jdk/tmp/jtreg/work/classes/test/hotspot/jtreg/runtime/appcds:/jdk/abe/open/test/hotspot/jtreg/runtime/appcds:/net/scanas416.us.oracle.com/export/java_re2/misc/promoted/jtreg/4.2/fcs/b13/binaries/jtreg/lib/javatest.jar:/net/scanas416.us.oracle.com/export/java_re2/misc/promoted/jtreg/4.2/fcs/b13/binaries/jtreg/lib/jtreg.jar -Xshare:on -showversion -XX:SharedArchiveFile=/jdk/tmp/jtreg/work/scratch/appcds-15h30m03s344.jsa -Dtest.timeout.factor=4.0 -cp /jdk/tmp/jtreg/work/classes/runtime/appcds/cacheObject/DifferentHeapSizes.d/hello.jar -showversion -Xlog:cds -Xmx2600m -XX:+UseStringDeduplication Hello ] [ELAPSED: 370 ms] [STDERR] java version "12-internal" 2019-03-19 Java(TM) SE Runtime Environment 19.3 (fastdebug build 12-internal+0-adhoc.iklam.open) Java HotSpot(TM) 64-Bit Server VM 19.3 (fastdebug build 12-internal+0-adhoc.iklam.open, mixed mode, sharing) [STDOUT] [0.077s][info][cds] Archived narrow_klass_base = 0x0000000800000000, narrow_klass_shift = 3 [0.077s][info][cds] Archived narrow_oop_mode = 0, narrow_oop_base = 0x0000000000000000, narrow_oop_shift = 0 [0.077s][info][cds] CDS heap data need to be relocated because [0.077s][info][cds] the archive was created with an incompatible heap size: 2048M. [0.077s][info][cds] Current narrow_oop_mode = 1, narrow_oop_base = 0x0000000000000000, narrow_oop_shift = 3 Hello World Command line: [/home/iklam/jdk/bld/abe-fastdebug/images/jdk/bin/java -cp /jdk/tmp/jtreg/work/classes/runtime/appcds/cacheObject/DifferentHeapSizes.d:/jdk/abe/open/test/hotspot/jtreg/runtime/appcds/cacheObject:/jdk/tmp/jtreg/work/classes/test/lib:/jdk/abe/open/test/lib:/jdk/tmp/jtreg/work/classes/test/hotspot/jtreg/runtime/appcds:/jdk/abe/open/test/hotspot/jtreg/runtime/appcds:/net/scanas416.us.oracle.com/export/java_re2/misc/promoted/jtreg/4.2/fcs/b13/binaries/jtreg/lib/javatest.jar:/net/scanas416.us.oracle.com/export/java_re2/misc/promoted/jtreg/4.2/fcs/b13/binaries/jtreg/lib/jtreg.jar -Xshare:on -showversion -XX:SharedArchiveFile=/jdk/tmp/jtreg/work/scratch/appcds-15h30m03s344.jsa -Dtest.timeout.factor=4.0 -cp /jdk/tmp/jtreg/work/classes/runtime/appcds/cacheObject/DifferentHeapSizes.d/hello.jar -showversion -Xlog:cds -Xmx4097m -XX:+UseStringDeduplication Hello ] [ELAPSED: 505 ms] [STDERR] java version "12-internal" 2019-03-19 Java(TM) SE Runtime Environment 19.3 (fastdebug build 12-internal+0-adhoc.iklam.open) Java HotSpot(TM) 64-Bit Server VM 19.3 (fastdebug build 12-internal+0-adhoc.iklam.open, mixed mode, sharing) [STDOUT] [0.095s][info][cds] Archived narrow_klass_base = 0x0000000800000000, narrow_klass_shift = 3 [0.095s][info][cds] Archived narrow_oop_mode = 0, narrow_oop_base = 0x0000000000000000, narrow_oop_shift = 0 [0.095s][info][cds] CDS heap data need to be relocated because [0.095s][info][cds] the archive was created with an incompatible heap size: 2048M. [0.095s][info][cds] Current narrow_oop_mode = 1, narrow_oop_base = 0x0000000000000000, narrow_oop_shift = 3 Hello World Command line: [/home/iklam/jdk/bld/abe-fastdebug/images/jdk/bin/java -cp /jdk/tmp/jtreg/work/classes/runtime/appcds/cacheObject/DifferentHeapSizes.d:/jdk/abe/open/test/hotspot/jtreg/runtime/appcds/cacheObject:/jdk/tmp/jtreg/work/classes/test/lib:/jdk/abe/open/test/lib:/jdk/tmp/jtreg/work/classes/test/hotspot/jtreg/runtime/appcds:/jdk/abe/open/test/hotspot/jtreg/runtime/appcds:/net/scanas416.us.oracle.com/export/java_re2/misc/promoted/jtreg/4.2/fcs/b13/binaries/jtreg/lib/javatest.jar:/net/scanas416.us.oracle.com/export/java_re2/misc/promoted/jtreg/4.2/fcs/b13/binaries/jtreg/lib/jtreg.jar -Xshare:on -showversion -XX:SharedArchiveFile=/jdk/tmp/jtreg/work/scratch/appcds-15h30m03s344.jsa -Dtest.timeout.factor=4.0 -cp /jdk/tmp/jtreg/work/classes/runtime/appcds/cacheObject/DifferentHeapSizes.d/hello.jar -showversion -Xlog:cds -Xmx8500m -XX:+UseStringDeduplication Hello ] [ELAPSED: 460 ms] [STDERR] java version "12-internal" 2019-03-19 Java(TM) SE Runtime Environment 19.3 (fastdebug build 12-internal+0-adhoc.iklam.open) Java HotSpot(TM) 64-Bit Server VM 19.3 (fastdebug build 12-internal+0-adhoc.iklam.open, mixed mode, sharing) [STDOUT] [0.090s][info][cds] Archived narrow_klass_base = 0x0000000800000000, narrow_klass_shift = 3 [0.090s][info][cds] Archived narrow_oop_mode = 0, narrow_oop_base = 0x0000000000000000, narrow_oop_shift = 0 [0.090s][info][cds] CDS heap data need to be relocated because [0.090s][info][cds] the archive was created with an incompatible heap size: 2048M. [0.090s][info][cds] Current narrow_oop_mode = 1, narrow_oop_base = 0x0000000000000000, narrow_oop_shift = 3 [0.090s][info][cds] UseSharedSpaces: Unable to allocate region, java heap range is already in use. Hello World Command line: [/home/iklam/jdk/bld/abe-fastdebug/images/jdk/bin/java -cp /jdk/tmp/jtreg/work/classes/runtime/appcds/cacheObject/DifferentHeapSizes.d:/jdk/abe/open/test/hotspot/jtreg/runtime/appcds/cacheObject:/jdk/tmp/jtreg/work/classes/test/lib:/jdk/abe/open/test/lib:/jdk/tmp/jtreg/work/classes/test/hotspot/jtreg/runtime/appcds:/jdk/abe/open/test/hotspot/jtreg/runtime/appcds:/net/scanas416.us.oracle.com/export/java_re2/misc/promoted/jtreg/4.2/fcs/b13/binaries/jtreg/lib/javatest.jar:/net/scanas416.us.oracle.com/export/java_re2/misc/promoted/jtreg/4.2/fcs/b13/binaries/jtreg/lib/jtreg.jar -Xshare:on -showversion -XX:SharedArchiveFile=/jdk/tmp/jtreg/work/scratch/appcds-15h30m03s344.jsa -Dtest.timeout.factor=4.0 -cp /jdk/tmp/jtreg/work/classes/runtime/appcds/cacheObject/DifferentHeapSizes.d/hello.jar -showversion -Xlog:cds -Xmx31000m -XX:+UseStringDeduplication Hello ] [ELAPSED: 369 ms] [STDERR] java version "12-internal" 2019-03-19 Java(TM) SE Runtime Environment 19.3 (fastdebug build 12-internal+0-adhoc.iklam.open) Java HotSpot(TM) 64-Bit Server VM 19.3 (fastdebug build 12-internal+0-adhoc.iklam.open, mixed mode, sharing) [STDOUT] [0.075s][info][cds] Archived narrow_klass_base = 0x0000000800000000, narrow_klass_shift = 3 [0.075s][info][cds] Archived narrow_oop_mode = 0, narrow_oop_base = 0x0000000000000000, narrow_oop_shift = 0 [0.075s][info][cds] CDS heap data need to be relocated because [0.075s][info][cds] the archive was created with an incompatible heap size: 2048M. [0.075s][info][cds] Current narrow_oop_mode = 2, narrow_oop_base = 0x0000001000000000, narrow_oop_shift = 3 [0.076s][info][cds] UseSharedSpaces: Unable to allocate region, java heap range is already in use. Hello World Command line: [/home/iklam/jdk/bld/abe-fastdebug/images/jdk/bin/java -cp /jdk/tmp/jtreg/work/classes/runtime/appcds/cacheObject/DifferentHeapSizes.d:/jdk/abe/open/test/hotspot/jtreg/runtime/appcds/cacheObject:/jdk/tmp/jtreg/work/classes/test/lib:/jdk/abe/open/test/lib:/jdk/tmp/jtreg/work/classes/test/hotspot/jtreg/runtime/appcds:/jdk/abe/open/test/hotspot/jtreg/runtime/appcds:/net/scanas416.us.oracle.com/export/java_re2/misc/promoted/jtreg/4.2/fcs/b13/binaries/jtreg/lib/javatest.jar:/net/scanas416.us.oracle.com/export/java_re2/misc/promoted/jtreg/4.2/fcs/b13/binaries/jtreg/lib/jtreg.jar -cp /jdk/tmp/jtreg/work/classes/runtime/appcds/cacheObject/DifferentHeapSizes.d/hello.jar -Xshare:dump -Xlog:cds,cds+hashtables -XX:ExtraSharedClassListFile=/jdk/tmp/jtreg/work/classes/runtime/appcds/cacheObject/DifferentHeapSizes.d/DifferentHeapSizes-test.classlist -XX:SharedArchiveFile=/jdk/tmp/jtreg/work/scratch/appcds-15h30m07s234.jsa -Xmx17000m ] [ELAPSED: 1653 ms] [STDERR] [STDOUT] [0.048s][info][cds] narrow_klass_base = 0x0000000800000000, narrow_klass_shift = 3 [0.048s][info][cds] Allocated temporary class space: 1073741824 bytes at 0x00000008c0000000 Allocated shared space: 3221225472 bytes at 0x0000000800000000 [0.052s][info][cds] Expanding shared spaces by 1048576 bytes [total 1048576 bytes ending at 0x800100000] Loading classes to share ... Loading classes to share: done. [0.703s][info][cds] Shared spaces: preloaded 1165 classes Rewriting and linking classes ... Rewriting and linking classes: done Number of classes 1248 instance classes = 1170 obj array classes = 70 type array classes = 8 Updating ConstMethods ... done. Removing unshareable information ... done. Scanning all metaspace objects ... Allocating RW objects ... [0.864s][info][cds] Expanding shared spaces by 1048576 bytes [total 2097152 bytes ending at 0x800200000] [0.880s][info][cds] Expanding shared spaces by 1048576 bytes [total 3145728 bytes ending at 0x800300000] [0.896s][info][cds] Expanding shared spaces by 1048576 bytes [total 4194304 bytes ending at 0x800400000] [0.913s][info][cds] Expanding shared spaces by 1048576 bytes [total 5242880 bytes ending at 0x800500000] Allocating RO objects ... [0.941s][info][cds] Expanding shared spaces by 1048576 bytes [total 6291456 bytes ending at 0x800600000] [0.955s][info][cds] Expanding shared spaces by 1048576 bytes [total 7340032 bytes ending at 0x800700000] [0.967s][info][cds] Expanding shared spaces by 1048576 bytes [total 8388608 bytes ending at 0x800800000] [0.981s][info][cds] Expanding shared spaces by 1048576 bytes [total 9437184 bytes ending at 0x800900000] [0.996s][info][cds] Expanding shared spaces by 1048576 bytes [total 10485760 bytes ending at 0x800a00000] [1.011s][info][cds] Expanding shared spaces by 1048576 bytes [total 11534336 bytes ending at 0x800b00000] Relocating embedded pointers ... Relocating external roots ... Verifying external roots ... Dumping symbol table ... [1.223s][info][cds,hashtables] Shared symbol table stats -------- base: 0x0000000800000000 [1.223s][info][cds,hashtables] Number of entries : 36158 [1.223s][info][cds,hashtables] Total bytes used : 322608 [1.223s][info][cds,hashtables] Average bytes per entry : 8.922 [1.223s][info][cds,hashtables] Average bucket size : 4.000 [1.223s][info][cds,hashtables] Variance of bucket size : 4.089 [1.223s][info][cds,hashtables] Std. dev. of bucket size: 2.022 [1.223s][info][cds,hashtables] Empty buckets : 159 [1.223s][info][cds,hashtables] Value_Only buckets : 708 [1.223s][info][cds,hashtables] Other buckets : 8172 Dumping objects to closed archive heap region ... [1.360s][info][cds,hashtables] Shared string table stats -------- base: 0x0000000800000000 [1.360s][info][cds,hashtables] Number of entries : 6667 [1.360s][info][cds,hashtables] Total bytes used : 59568 [1.360s][info][cds,hashtables] Average bytes per entry : 8.935 [1.360s][info][cds,hashtables] Average bucket size : 3.999 [1.360s][info][cds,hashtables] Variance of bucket size : 3.906 [1.360s][info][cds,hashtables] Std. dev. of bucket size: 1.976 [1.360s][info][cds,hashtables] Empty buckets : 35 [1.360s][info][cds,hashtables] Value_Only buckets : 114 [1.360s][info][cds,hashtables] Other buckets : 1518 Dumping objects to open archive heap region ... Relocating SystemDictionary::_well_known_klasses[] ... Removing java_mirror ... done. [1.574s][info][cds ] Expanding shared spaces by 1048576 bytes [total 12582912 bytes ending at 0x800c00000] [1.575s][info][cds ] Expanding shared spaces by 1048576 bytes [total 13631488 bytes ending at 0x800d00000] [1.575s][info][cds ] Expanding shared spaces by 1048576 bytes [total 14680064 bytes ending at 0x800e00000] [1.576s][info][cds ] Expanding shared spaces by 1048576 bytes [total 15728640 bytes ending at 0x800f00000] [1.577s][info][cds ] Expanding shared spaces by 1048576 bytes [total 16777216 bytes ending at 0x801000000] [1.577s][info][cds ] Expanding shared spaces by 1048576 bytes [total 17825792 bytes ending at 0x801100000] [1.578s][info][cds ] Expanding shared spaces by 1048576 bytes [total 18874368 bytes ending at 0x801200000] [1.598s][info][cds ] Archive heap region 5 0x00000007bfc00000 - 0x00000007bfc6b000 = 438272 bytes [1.598s][info][cds ] Archive heap region 6 0x0000000000000000 - 0x0000000000000000 = 0 bytes [1.598s][info][cds ] Archive heap region 7 0x00000007bf800000 - 0x00000007bf845000 = 282624 bytes [1.599s][info][cds ] Archive heap region 8 0x0000000000000000 - 0x0000000000000000 = 0 bytes [1.599s][info][cds ] Dumping shared data to file: [1.599s][info][cds ] /jdk/tmp/jtreg/work/scratch/appcds-15h30m07s234.jsa [1.599s][info][cds ] Shared file region 0: 0x000054a0 bytes, addr 0x0000000800000000 file offset 0x00001000 [1.599s][info][cds ] Shared file region 1: 0x00411750 bytes, addr 0x0000000800006000 file offset 0x00007000 [1.606s][info][cds ] Shared file region 2: 0x006f0df0 bytes, addr 0x0000000800418000 file offset 0x00419000 [1.618s][info][cds ] Shared file region 3: 0x00000ac0 bytes, addr 0x0000000800b09000 file offset 0x00b0a000 [1.618s][info][cds ] Shared file region 4: 0x006215a8 bytes, addr 0x0000000800b0a000 file offset 0x00b0b000 [1.628s][info][cds ] Archive heap region 5 0x00000007bfc00000 - 0x00000007bfc6b000 = 438272 bytes [1.628s][info][cds ] Shared file region 5: 0x0006b000 bytes, addr 0x00000007bfc00000 file offset 0x0112d000 [1.629s][info][cds ] Archive heap region 6 0x0000000000000000 - 0x0000000000000000 = 0 bytes [1.629s][info][cds ] Shared file region 6: 0x00000000 bytes, addr 0x0000000000000000 file offset 0x01198000 [1.629s][info][cds ] Archive heap region 7 0x00000007bf800000 - 0x00000007bf845000 = 282624 bytes [1.629s][info][cds ] Shared file region 7: 0x00045000 bytes, addr 0x00000007bf800000 file offset 0x01198000 [1.629s][info][cds ] Archive heap region 8 0x0000000000000000 - 0x0000000000000000 = 0 bytes [1.629s][info][cds ] Shared file region 8: 0x00000000 bytes, addr 0x0000000000000000 file offset 0x011dd000 mc space: 21664 [ 0.1% of total] out of 24576 bytes [ 88.2% used] at 0x0000000800000000 rw space: 4265808 [ 22.8% of total] out of 4268032 bytes [ 99.9% used] at 0x0000000800006000 ro space: 7278064 [ 38.9% of total] out of 7278592 bytes [100.0% used] at 0x0000000800418000 md space: 2752 [ 0.0% of total] out of 4096 bytes [ 67.2% used] at 0x0000000800b09000 od space: 6428072 [ 34.3% of total] out of 6430720 bytes [100.0% used] at 0x0000000800b0a000 st0 space: 438272 [ 2.3% of total] out of 438272 bytes [100.0% used] at 0x00000007bfc00000 oa0 space: 282624 [ 1.5% of total] out of 282624 bytes [100.0% used] at 0x00000007bf800000 total : 18717256 [100.0% of total] out of 18726912 bytes [ 99.9% used] [1.629s][info][cds ] Detailed metadata info (excluding od/st regions; rw stats include md/mc regions): [1.629s][info][cds ] ro_cnt ro_bytes % | rw_cnt rw_bytes % | all_cnt all_bytes % [1.629s][info][cds ] --------------------+---------------------------+---------------------------+-------------------------- [1.629s][info][cds ] Class : 0 0 0.0 | 1248 813856 19.0 | 1248 813856 7.0 [1.629s][info][cds ] Symbol : 36158 1403552 19.3 | 0 0 0.0 | 36158 1403552 12.1 [1.629s][info][cds ] TypeArrayU1 : 8937 264576 3.6 | 1170 235920 5.5 | 10107 500496 4.3 [1.629s][info][cds ] TypeArrayU2 : 3019 155104 2.1 | 0 0 0.0 | 3019 155104 1.3 [1.629s][info][cds ] TypeArrayU4 : 1336 83936 1.2 | 0 0 0.0 | 1336 83936 0.7 [1.629s][info][cds ] TypeArrayU8 : 1998 181936 2.5 | 1170 139200 3.2 | 3168 321136 2.8 [1.629s][info][cds ] TypeArrayOther : 0 0 0.0 | 0 0 0.0 | 0 0 0.0 [1.629s][info][cds ] Method : 0 0 0.0 | 18382 1918480 44.7 | 18382 1918480 16.6 [1.629s][info][cds ] ConstMethod : 18382 2821184 38.8 | 0 0 0.0 | 18382 2821184 24.4 [1.629s][info][cds ] MethodData : 0 0 0.0 | 0 0 0.0 | 0 0 0.0 [1.629s][info][cds ] ConstantPool : 1170 1873752 25.7 | 0 0 0.0 | 1170 1873752 16.2 [1.629s][info][cds ] ConstantPoolCache : 0 0 0.0 | 1170 1158352 27.0 | 1170 1158352 10.0 [1.629s][info][cds ] Annotations : 51 1632 0.0 | 0 0 0.0 | 51 1632 0.0 [1.629s][info][cds ] MethodCounters : 0 0 0.0 | 0 0 0.0 | 0 0 0.0 [1.629s][info][cds ] SymbolHashentry : 36158 286440 3.9 | 0 0 0.0 | 36158 286440 2.5 [1.629s][info][cds ] SymbolBucket : 9039 36168 0.5 | 0 0 0.0 | 9039 36168 0.3 [1.629s][info][cds ] StringHashentry : 6667 52888 0.7 | 0 0 0.0 | 6667 52888 0.5 [1.629s][info][cds ] StringBucket : 1667 6680 0.1 | 0 0 0.0 | 1667 6680 0.1 [1.629s][info][cds ] Other : 0 110216 1.5 | 0 24416 0.6 | 0 134632 1.2 [1.629s][info][cds ] --------------------+---------------------------+---------------------------+-------------------------- [1.629s][info][cds ] Total : 124582 7278064 100.0 | 23140 4290224 100.0 | 147722 11568288 100.0 Command line: [/home/iklam/jdk/bld/abe-fastdebug/images/jdk/bin/java -cp /jdk/tmp/jtreg/work/classes/runtime/appcds/cacheObject/DifferentHeapSizes.d:/jdk/abe/open/test/hotspot/jtreg/runtime/appcds/cacheObject:/jdk/tmp/jtreg/work/classes/test/lib:/jdk/abe/open/test/lib:/jdk/tmp/jtreg/work/classes/test/hotspot/jtreg/runtime/appcds:/jdk/abe/open/test/hotspot/jtreg/runtime/appcds:/net/scanas416.us.oracle.com/export/java_re2/misc/promoted/jtreg/4.2/fcs/b13/binaries/jtreg/lib/javatest.jar:/net/scanas416.us.oracle.com/export/java_re2/misc/promoted/jtreg/4.2/fcs/b13/binaries/jtreg/lib/jtreg.jar -Xshare:on -showversion -XX:SharedArchiveFile=/jdk/tmp/jtreg/work/scratch/appcds-15h30m07s234.jsa -Dtest.timeout.factor=4.0 -cp /jdk/tmp/jtreg/work/classes/runtime/appcds/cacheObject/DifferentHeapSizes.d/hello.jar -showversion -Xlog:cds -Xmx32m -XX:+UseStringDeduplication Hello ] [ELAPSED: 347 ms] [STDERR] java version "12-internal" 2019-03-19 Java(TM) SE Runtime Environment 19.3 (fastdebug build 12-internal+0-adhoc.iklam.open) Java HotSpot(TM) 64-Bit Server VM 19.3 (fastdebug build 12-internal+0-adhoc.iklam.open, mixed mode, sharing) [STDOUT] [0.075s][info][cds] Archived narrow_klass_base = 0x0000000800000000, narrow_klass_shift = 3 [0.075s][info][cds] Archived narrow_oop_mode = 1, narrow_oop_base = 0x0000000000000000, narrow_oop_shift = 3 [0.075s][info][cds] CDS heap data need to be relocated because [0.075s][info][cds] the archive was created with an incompatible heap size: 17000M. [0.075s][info][cds] Current narrow_oop_mode = 0, narrow_oop_base = 0x0000000000000000, narrow_oop_shift = 0 Hello World Command line: [/home/iklam/jdk/bld/abe-fastdebug/images/jdk/bin/java -cp /jdk/tmp/jtreg/work/classes/runtime/appcds/cacheObject/DifferentHeapSizes.d:/jdk/abe/open/test/hotspot/jtreg/runtime/appcds/cacheObject:/jdk/tmp/jtreg/work/classes/test/lib:/jdk/abe/open/test/lib:/jdk/tmp/jtreg/work/classes/test/hotspot/jtreg/runtime/appcds:/jdk/abe/open/test/hotspot/jtreg/runtime/appcds:/net/scanas416.us.oracle.com/export/java_re2/misc/promoted/jtreg/4.2/fcs/b13/binaries/jtreg/lib/javatest.jar:/net/scanas416.us.oracle.com/export/java_re2/misc/promoted/jtreg/4.2/fcs/b13/binaries/jtreg/lib/jtreg.jar -Xshare:on -showversion -XX:SharedArchiveFile=/jdk/tmp/jtreg/work/scratch/appcds-15h30m07s234.jsa -Dtest.timeout.factor=4.0 -cp /jdk/tmp/jtreg/work/classes/runtime/appcds/cacheObject/DifferentHeapSizes.d/hello.jar -showversion -Xlog:cds -Xmx512m -XX:+UseStringDeduplication Hello ] [ELAPSED: 359 ms] [STDERR] java version "12-internal" 2019-03-19 Java(TM) SE Runtime Environment 19.3 (fastdebug build 12-internal+0-adhoc.iklam.open) Java HotSpot(TM) 64-Bit Server VM 19.3 (fastdebug build 12-internal+0-adhoc.iklam.open, mixed mode, sharing) [STDOUT] [0.089s][info][cds] Archived narrow_klass_base = 0x0000000800000000, narrow_klass_shift = 3 [0.089s][info][cds] Archived narrow_oop_mode = 1, narrow_oop_base = 0x0000000000000000, narrow_oop_shift = 3 [0.089s][info][cds] CDS heap data need to be relocated because [0.089s][info][cds] the archive was created with an incompatible heap size: 17000M. [0.089s][info][cds] Current narrow_oop_mode = 0, narrow_oop_base = 0x0000000000000000, narrow_oop_shift = 0 Hello World Command line: [/home/iklam/jdk/bld/abe-fastdebug/images/jdk/bin/java -cp /jdk/tmp/jtreg/work/classes/runtime/appcds/cacheObject/DifferentHeapSizes.d:/jdk/abe/open/test/hotspot/jtreg/runtime/appcds/cacheObject:/jdk/tmp/jtreg/work/classes/test/lib:/jdk/abe/open/test/lib:/jdk/tmp/jtreg/work/classes/test/hotspot/jtreg/runtime/appcds:/jdk/abe/open/test/hotspot/jtreg/runtime/appcds:/net/scanas416.us.oracle.com/export/java_re2/misc/promoted/jtreg/4.2/fcs/b13/binaries/jtreg/lib/javatest.jar:/net/scanas416.us.oracle.com/export/java_re2/misc/promoted/jtreg/4.2/fcs/b13/binaries/jtreg/lib/jtreg.jar -Xshare:on -showversion -XX:SharedArchiveFile=/jdk/tmp/jtreg/work/scratch/appcds-15h30m07s234.jsa -Dtest.timeout.factor=4.0 -cp /jdk/tmp/jtreg/work/classes/runtime/appcds/cacheObject/DifferentHeapSizes.d/hello.jar -showversion -Xlog:cds -Xmx2048m -XX:+UseStringDeduplication Hello ] [ELAPSED: 300 ms] [STDERR] java version "12-internal" 2019-03-19 Java(TM) SE Runtime Environment 19.3 (fastdebug build 12-internal+0-adhoc.iklam.open) Java HotSpot(TM) 64-Bit Server VM 19.3 (fastdebug build 12-internal+0-adhoc.iklam.open, mixed mode, sharing) [STDOUT] [0.081s][info][cds] Archived narrow_klass_base = 0x0000000800000000, narrow_klass_shift = 3 [0.081s][info][cds] Archived narrow_oop_mode = 1, narrow_oop_base = 0x0000000000000000, narrow_oop_shift = 3 [0.081s][info][cds] CDS heap data need to be relocated because [0.081s][info][cds] the archive was created with an incompatible heap size: 17000M. [0.081s][info][cds] Current narrow_oop_mode = 0, narrow_oop_base = 0x0000000000000000, narrow_oop_shift = 0 Hello World Command line: [/home/iklam/jdk/bld/abe-fastdebug/images/jdk/bin/java -cp /jdk/tmp/jtreg/work/classes/runtime/appcds/cacheObject/DifferentHeapSizes.d:/jdk/abe/open/test/hotspot/jtreg/runtime/appcds/cacheObject:/jdk/tmp/jtreg/work/classes/test/lib:/jdk/abe/open/test/lib:/jdk/tmp/jtreg/work/classes/test/hotspot/jtreg/runtime/appcds:/jdk/abe/open/test/hotspot/jtreg/runtime/appcds:/net/scanas416.us.oracle.com/export/java_re2/misc/promoted/jtreg/4.2/fcs/b13/binaries/jtreg/lib/javatest.jar:/net/scanas416.us.oracle.com/export/java_re2/misc/promoted/jtreg/4.2/fcs/b13/binaries/jtreg/lib/jtreg.jar -Xshare:on -showversion -XX:SharedArchiveFile=/jdk/tmp/jtreg/work/scratch/appcds-15h30m07s234.jsa -Dtest.timeout.factor=4.0 -cp /jdk/tmp/jtreg/work/classes/runtime/appcds/cacheObject/DifferentHeapSizes.d/hello.jar -showversion -Xlog:cds -Xmx4097m -XX:+UseStringDeduplication Hello ] [ELAPSED: 325 ms] [STDERR] java version "12-internal" 2019-03-19 Java(TM) SE Runtime Environment 19.3 (fastdebug build 12-internal+0-adhoc.iklam.open) Java HotSpot(TM) 64-Bit Server VM 19.3 (fastdebug build 12-internal+0-adhoc.iklam.open, mixed mode, sharing) [STDOUT] [0.099s][info][cds] Archived narrow_klass_base = 0x0000000800000000, narrow_klass_shift = 3 [0.099s][info][cds] Archived narrow_oop_mode = 1, narrow_oop_base = 0x0000000000000000, narrow_oop_shift = 3 Hello World Command line: [/home/iklam/jdk/bld/abe-fastdebug/images/jdk/bin/java -cp /jdk/tmp/jtreg/work/classes/runtime/appcds/cacheObject/DifferentHeapSizes.d:/jdk/abe/open/test/hotspot/jtreg/runtime/appcds/cacheObject:/jdk/tmp/jtreg/work/classes/test/lib:/jdk/abe/open/test/lib:/jdk/tmp/jtreg/work/classes/test/hotspot/jtreg/runtime/appcds:/jdk/abe/open/test/hotspot/jtreg/runtime/appcds:/net/scanas416.us.oracle.com/export/java_re2/misc/promoted/jtreg/4.2/fcs/b13/binaries/jtreg/lib/javatest.jar:/net/scanas416.us.oracle.com/export/java_re2/misc/promoted/jtreg/4.2/fcs/b13/binaries/jtreg/lib/jtreg.jar -Xshare:on -showversion -XX:SharedArchiveFile=/jdk/tmp/jtreg/work/scratch/appcds-15h30m07s234.jsa -Dtest.timeout.factor=4.0 -cp /jdk/tmp/jtreg/work/classes/runtime/appcds/cacheObject/DifferentHeapSizes.d/hello.jar -showversion -Xlog:cds -Xmx8500m -XX:+UseStringDeduplication Hello ] [ELAPSED: 337 ms] [STDERR] java version "12-internal" 2019-03-19 Java(TM) SE Runtime Environment 19.3 (fastdebug build 12-internal+0-adhoc.iklam.open) Java HotSpot(TM) 64-Bit Server VM 19.3 (fastdebug build 12-internal+0-adhoc.iklam.open, mixed mode, sharing) [STDOUT] [0.095s][info][cds] Archived narrow_klass_base = 0x0000000800000000, narrow_klass_shift = 3 [0.095s][info][cds] Archived narrow_oop_mode = 1, narrow_oop_base = 0x0000000000000000, narrow_oop_shift = 3 Hello World Command line: [/home/iklam/jdk/bld/abe-fastdebug/images/jdk/bin/java -cp /jdk/tmp/jtreg/work/classes/runtime/appcds/cacheObject/DifferentHeapSizes.d:/jdk/abe/open/test/hotspot/jtreg/runtime/appcds/cacheObject:/jdk/tmp/jtreg/work/classes/test/lib:/jdk/abe/open/test/lib:/jdk/tmp/jtreg/work/classes/test/hotspot/jtreg/runtime/appcds:/jdk/abe/open/test/hotspot/jtreg/runtime/appcds:/net/scanas416.us.oracle.com/export/java_re2/misc/promoted/jtreg/4.2/fcs/b13/binaries/jtreg/lib/javatest.jar:/net/scanas416.us.oracle.com/export/java_re2/misc/promoted/jtreg/4.2/fcs/b13/binaries/jtreg/lib/jtreg.jar -Xshare:on -showversion -XX:SharedArchiveFile=/jdk/tmp/jtreg/work/scratch/appcds-15h30m07s234.jsa -Dtest.timeout.factor=4.0 -cp /jdk/tmp/jtreg/work/classes/runtime/appcds/cacheObject/DifferentHeapSizes.d/hello.jar -showversion -Xlog:cds -Xmx31000m -XX:+UseStringDeduplication Hello ] [ELAPSED: 258 ms] [STDERR] java version "12-internal" 2019-03-19 Java(TM) SE Runtime Environment 19.3 (fastdebug build 12-internal+0-adhoc.iklam.open) Java HotSpot(TM) 64-Bit Server VM 19.3 (fastdebug build 12-internal+0-adhoc.iklam.open, mixed mode, sharing) [STDOUT] [0.064s][info][cds] Archived narrow_klass_base = 0x0000000800000000, narrow_klass_shift = 3 [0.064s][info][cds] Archived narrow_oop_mode = 1, narrow_oop_base = 0x0000000000000000, narrow_oop_shift = 3 [0.064s][info][cds] CDS heap data need to be relocated because [0.064s][info][cds] the archive was created with an incompatible heap size: 17000M. [0.064s][info][cds] Current narrow_oop_mode = 2, narrow_oop_base = 0x0000001000000000, narrow_oop_shift = 3 Hello World Command line: [/home/iklam/jdk/bld/abe-fastdebug/images/jdk/bin/java -cp /jdk/tmp/jtreg/work/classes/runtime/appcds/cacheObject/DifferentHeapSizes.d:/jdk/abe/open/test/hotspot/jtreg/runtime/appcds/cacheObject:/jdk/tmp/jtreg/work/classes/test/lib:/jdk/abe/open/test/lib:/jdk/tmp/jtreg/work/classes/test/hotspot/jtreg/runtime/appcds:/jdk/abe/open/test/hotspot/jtreg/runtime/appcds:/net/scanas416.us.oracle.com/export/java_re2/misc/promoted/jtreg/4.2/fcs/b13/binaries/jtreg/lib/javatest.jar:/net/scanas416.us.oracle.com/export/java_re2/misc/promoted/jtreg/4.2/fcs/b13/binaries/jtreg/lib/jtreg.jar -cp /jdk/tmp/jtreg/work/classes/runtime/appcds/cacheObject/DifferentHeapSizes.d/hello.jar -Xshare:dump -Xlog:cds,cds+hashtables -XX:ExtraSharedClassListFile=/jdk/tmp/jtreg/work/classes/runtime/appcds/cacheObject/DifferentHeapSizes.d/DifferentHeapSizes-test.classlist -XX:SharedArchiveFile=/jdk/tmp/jtreg/work/scratch/appcds-15h30m10s830.jsa -Xmx31000m ] [ELAPSED: 1559 ms] [STDERR] [STDOUT] [0.054s][info][cds] narrow_klass_base = 0x0000000800000000, narrow_klass_shift = 3 [0.054s][info][cds] Allocated temporary class space: 1073741824 bytes at 0x00000008c0000000 Allocated shared space: 3221225472 bytes at 0x0000000800000000 [0.057s][info][cds] Expanding shared spaces by 1048576 bytes [total 1048576 bytes ending at 0x800100000] Loading classes to share ... Loading classes to share: done. [0.785s][info][cds] Shared spaces: preloaded 1165 classes Rewriting and linking classes ... Rewriting and linking classes: done Number of classes 1248 instance classes = 1170 obj array classes = 70 type array classes = 8 Updating ConstMethods ... done. Removing unshareable information ... done. Scanning all metaspace objects ... Allocating RW objects ... [0.923s][info][cds] Expanding shared spaces by 1048576 bytes [total 2097152 bytes ending at 0x800200000] [0.938s][info][cds] Expanding shared spaces by 1048576 bytes [total 3145728 bytes ending at 0x800300000] [0.954s][info][cds] Expanding shared spaces by 1048576 bytes [total 4194304 bytes ending at 0x800400000] [0.971s][info][cds] Expanding shared spaces by 1048576 bytes [total 5242880 bytes ending at 0x800500000] Allocating RO objects ... [0.998s][info][cds] Expanding shared spaces by 1048576 bytes [total 6291456 bytes ending at 0x800600000] [1.011s][info][cds] Expanding shared spaces by 1048576 bytes [total 7340032 bytes ending at 0x800700000] [1.023s][info][cds] Expanding shared spaces by 1048576 bytes [total 8388608 bytes ending at 0x800800000] [1.036s][info][cds] Expanding shared spaces by 1048576 bytes [total 9437184 bytes ending at 0x800900000] [1.051s][info][cds] Expanding shared spaces by 1048576 bytes [total 10485760 bytes ending at 0x800a00000] [1.066s][info][cds] Expanding shared spaces by 1048576 bytes [total 11534336 bytes ending at 0x800b00000] Relocating embedded pointers ... Relocating external roots ... Verifying external roots ... Dumping symbol table ... [1.274s][info][cds,hashtables] Shared symbol table stats -------- base: 0x0000000800000000 [1.274s][info][cds,hashtables] Number of entries : 36158 [1.274s][info][cds,hashtables] Total bytes used : 322608 [1.274s][info][cds,hashtables] Average bytes per entry : 8.922 [1.274s][info][cds,hashtables] Average bucket size : 4.000 [1.274s][info][cds,hashtables] Variance of bucket size : 4.089 [1.274s][info][cds,hashtables] Std. dev. of bucket size: 2.022 [1.274s][info][cds,hashtables] Empty buckets : 159 [1.274s][info][cds,hashtables] Value_Only buckets : 708 [1.274s][info][cds,hashtables] Other buckets : 8172 Dumping objects to closed archive heap region ... [1.307s][info][cds,hashtables] Shared string table stats -------- base: 0x0000000800000000 [1.307s][info][cds,hashtables] Number of entries : 6667 [1.307s][info][cds,hashtables] Total bytes used : 59568 [1.307s][info][cds,hashtables] Average bytes per entry : 8.935 [1.307s][info][cds,hashtables] Average bucket size : 3.999 [1.307s][info][cds,hashtables] Variance of bucket size : 3.906 [1.307s][info][cds,hashtables] Std. dev. of bucket size: 1.976 [1.307s][info][cds,hashtables] Empty buckets : 35 [1.307s][info][cds,hashtables] Value_Only buckets : 114 [1.307s][info][cds,hashtables] Other buckets : 1518 Dumping objects to open archive heap region ... Relocating SystemDictionary::_well_known_klasses[] ... Removing java_mirror ... done. [1.484s][info][cds ] Expanding shared spaces by 1048576 bytes [total 12582912 bytes ending at 0x800c00000] [1.485s][info][cds ] Expanding shared spaces by 1048576 bytes [total 13631488 bytes ending at 0x800d00000] [1.486s][info][cds ] Expanding shared spaces by 1048576 bytes [total 14680064 bytes ending at 0x800e00000] [1.486s][info][cds ] Expanding shared spaces by 1048576 bytes [total 15728640 bytes ending at 0x800f00000] [1.487s][info][cds ] Expanding shared spaces by 1048576 bytes [total 16777216 bytes ending at 0x801000000] [1.487s][info][cds ] Expanding shared spaces by 1048576 bytes [total 17825792 bytes ending at 0x801100000] [1.488s][info][cds ] Expanding shared spaces by 1048576 bytes [total 18874368 bytes ending at 0x801200000] [1.508s][info][cds ] Archive heap region 5 0x0000001791800000 - 0x000000179186b000 = 438272 bytes [1.509s][info][cds ] Archive heap region 6 0x0000000000000000 - 0x0000000000000000 = 0 bytes [1.509s][info][cds ] Archive heap region 7 0x0000001791400000 - 0x0000001791445000 = 282624 bytes [1.509s][info][cds ] Archive heap region 8 0x0000000000000000 - 0x0000000000000000 = 0 bytes [1.510s][info][cds ] Dumping shared data to file: [1.510s][info][cds ] /jdk/tmp/jtreg/work/scratch/appcds-15h30m10s830.jsa [1.510s][info][cds ] Shared file region 0: 0x000054a0 bytes, addr 0x0000000800000000 file offset 0x00001000 [1.510s][info][cds ] Shared file region 1: 0x00411750 bytes, addr 0x0000000800006000 file offset 0x00007000 [1.517s][info][cds ] Shared file region 2: 0x006f0df0 bytes, addr 0x0000000800418000 file offset 0x00419000 [1.528s][info][cds ] Shared file region 3: 0x00000ac0 bytes, addr 0x0000000800b09000 file offset 0x00b0a000 [1.528s][info][cds ] Shared file region 4: 0x006215a8 bytes, addr 0x0000000800b0a000 file offset 0x00b0b000 [1.538s][info][cds ] Archive heap region 5 0x0000001791800000 - 0x000000179186b000 = 438272 bytes [1.538s][info][cds ] Shared file region 5: 0x0006b000 bytes, addr 0x0000001791800000 file offset 0x0112d000 [1.539s][info][cds ] Archive heap region 6 0x0000000000000000 - 0x0000000000000000 = 0 bytes [1.539s][info][cds ] Shared file region 6: 0x00000000 bytes, addr 0x0000000000000000 file offset 0x01198000 [1.539s][info][cds ] Archive heap region 7 0x0000001791400000 - 0x0000001791445000 = 282624 bytes [1.539s][info][cds ] Shared file region 7: 0x00045000 bytes, addr 0x0000001791400000 file offset 0x01198000 [1.539s][info][cds ] Archive heap region 8 0x0000000000000000 - 0x0000000000000000 = 0 bytes [1.539s][info][cds ] Shared file region 8: 0x00000000 bytes, addr 0x0000000000000000 file offset 0x011dd000 mc space: 21664 [ 0.1% of total] out of 24576 bytes [ 88.2% used] at 0x0000000800000000 rw space: 4265808 [ 22.8% of total] out of 4268032 bytes [ 99.9% used] at 0x0000000800006000 ro space: 7278064 [ 38.9% of total] out of 7278592 bytes [100.0% used] at 0x0000000800418000 md space: 2752 [ 0.0% of total] out of 4096 bytes [ 67.2% used] at 0x0000000800b09000 od space: 6428072 [ 34.3% of total] out of 6430720 bytes [100.0% used] at 0x0000000800b0a000 st0 space: 438272 [ 2.3% of total] out of 438272 bytes [100.0% used] at 0x0000001791800000 oa0 space: 282624 [ 1.5% of total] out of 282624 bytes [100.0% used] at 0x0000001791400000 total : 18717256 [100.0% of total] out of 18726912 bytes [ 99.9% used] [1.539s][info][cds ] Detailed metadata info (excluding od/st regions; rw stats include md/mc regions): [1.539s][info][cds ] ro_cnt ro_bytes % | rw_cnt rw_bytes % | all_cnt all_bytes % [1.539s][info][cds ] --------------------+---------------------------+---------------------------+-------------------------- [1.539s][info][cds ] Class : 0 0 0.0 | 1248 813856 19.0 | 1248 813856 7.0 [1.539s][info][cds ] Symbol : 36158 1403552 19.3 | 0 0 0.0 | 36158 1403552 12.1 [1.539s][info][cds ] TypeArrayU1 : 8937 264576 3.6 | 1170 235920 5.5 | 10107 500496 4.3 [1.539s][info][cds ] TypeArrayU2 : 3019 155104 2.1 | 0 0 0.0 | 3019 155104 1.3 [1.539s][info][cds ] TypeArrayU4 : 1336 83936 1.2 | 0 0 0.0 | 1336 83936 0.7 [1.539s][info][cds ] TypeArrayU8 : 1998 181936 2.5 | 1170 139200 3.2 | 3168 321136 2.8 [1.539s][info][cds ] TypeArrayOther : 0 0 0.0 | 0 0 0.0 | 0 0 0.0 [1.539s][info][cds ] Method : 0 0 0.0 | 18382 1918480 44.7 | 18382 1918480 16.6 [1.539s][info][cds ] ConstMethod : 18382 2821184 38.8 | 0 0 0.0 | 18382 2821184 24.4 [1.539s][info][cds ] MethodData : 0 0 0.0 | 0 0 0.0 | 0 0 0.0 [1.539s][info][cds ] ConstantPool : 1170 1873752 25.7 | 0 0 0.0 | 1170 1873752 16.2 [1.539s][info][cds ] ConstantPoolCache : 0 0 0.0 | 1170 1158352 27.0 | 1170 1158352 10.0 [1.539s][info][cds ] Annotations : 51 1632 0.0 | 0 0 0.0 | 51 1632 0.0 [1.539s][info][cds ] MethodCounters : 0 0 0.0 | 0 0 0.0 | 0 0 0.0 [1.539s][info][cds ] SymbolHashentry : 36158 286440 3.9 | 0 0 0.0 | 36158 286440 2.5 [1.539s][info][cds ] SymbolBucket : 9039 36168 0.5 | 0 0 0.0 | 9039 36168 0.3 [1.539s][info][cds ] StringHashentry : 6667 52888 0.7 | 0 0 0.0 | 6667 52888 0.5 [1.539s][info][cds ] StringBucket : 1667 6680 0.1 | 0 0 0.0 | 1667 6680 0.1 [1.539s][info][cds ] Other : 0 110216 1.5 | 0 24416 0.6 | 0 134632 1.2 [1.539s][info][cds ] --------------------+---------------------------+---------------------------+-------------------------- [1.539s][info][cds ] Total : 124582 7278064 100.0 | 23140 4290224 100.0 | 147722 11568288 100.0 Command line: [/home/iklam/jdk/bld/abe-fastdebug/images/jdk/bin/java -cp /jdk/tmp/jtreg/work/classes/runtime/appcds/cacheObject/DifferentHeapSizes.d:/jdk/abe/open/test/hotspot/jtreg/runtime/appcds/cacheObject:/jdk/tmp/jtreg/work/classes/test/lib:/jdk/abe/open/test/lib:/jdk/tmp/jtreg/work/classes/test/hotspot/jtreg/runtime/appcds:/jdk/abe/open/test/hotspot/jtreg/runtime/appcds:/net/scanas416.us.oracle.com/export/java_re2/misc/promoted/jtreg/4.2/fcs/b13/binaries/jtreg/lib/javatest.jar:/net/scanas416.us.oracle.com/export/java_re2/misc/promoted/jtreg/4.2/fcs/b13/binaries/jtreg/lib/jtreg.jar -Xshare:on -showversion -XX:SharedArchiveFile=/jdk/tmp/jtreg/work/scratch/appcds-15h30m10s830.jsa -Dtest.timeout.factor=4.0 -cp /jdk/tmp/jtreg/work/classes/runtime/appcds/cacheObject/DifferentHeapSizes.d/hello.jar -showversion -Xlog:cds -Xmx32m -XX:+UseStringDeduplication Hello ] [ELAPSED: 303 ms] [STDERR] java version "12-internal" 2019-03-19 Java(TM) SE Runtime Environment 19.3 (fastdebug build 12-internal+0-adhoc.iklam.open) Java HotSpot(TM) 64-Bit Server VM 19.3 (fastdebug build 12-internal+0-adhoc.iklam.open, mixed mode, sharing) [STDOUT] [0.082s][info][cds] Archived narrow_klass_base = 0x0000000800000000, narrow_klass_shift = 3 [0.082s][info][cds] Archived narrow_oop_mode = 2, narrow_oop_base = 0x0000001000000000, narrow_oop_shift = 3 [0.082s][info][cds] CDS heap data need to be relocated because [0.082s][info][cds] the archive was created with an incompatible heap size: 31000M. [0.082s][info][cds] Current narrow_oop_mode = 0, narrow_oop_base = 0x0000000000000000, narrow_oop_shift = 0 Hello World Command line: [/home/iklam/jdk/bld/abe-fastdebug/images/jdk/bin/java -cp /jdk/tmp/jtreg/work/classes/runtime/appcds/cacheObject/DifferentHeapSizes.d:/jdk/abe/open/test/hotspot/jtreg/runtime/appcds/cacheObject:/jdk/tmp/jtreg/work/classes/test/lib:/jdk/abe/open/test/lib:/jdk/tmp/jtreg/work/classes/test/hotspot/jtreg/runtime/appcds:/jdk/abe/open/test/hotspot/jtreg/runtime/appcds:/net/scanas416.us.oracle.com/export/java_re2/misc/promoted/jtreg/4.2/fcs/b13/binaries/jtreg/lib/javatest.jar:/net/scanas416.us.oracle.com/export/java_re2/misc/promoted/jtreg/4.2/fcs/b13/binaries/jtreg/lib/jtreg.jar -Xshare:on -showversion -XX:SharedArchiveFile=/jdk/tmp/jtreg/work/scratch/appcds-15h30m10s830.jsa -Dtest.timeout.factor=4.0 -cp /jdk/tmp/jtreg/work/classes/runtime/appcds/cacheObject/DifferentHeapSizes.d/hello.jar -showversion -Xlog:cds -Xmx512m -XX:+UseStringDeduplication Hello ] [ELAPSED: 361 ms] [STDERR] java version "12-internal" 2019-03-19 Java(TM) SE Runtime Environment 19.3 (fastdebug build 12-internal+0-adhoc.iklam.open) Java HotSpot(TM) 64-Bit Server VM 19.3 (fastdebug build 12-internal+0-adhoc.iklam.open, mixed mode, sharing) [STDOUT] [0.131s][info][cds] Archived narrow_klass_base = 0x0000000800000000, narrow_klass_shift = 3 [0.131s][info][cds] Archived narrow_oop_mode = 2, narrow_oop_base = 0x0000001000000000, narrow_oop_shift = 3 [0.131s][info][cds] CDS heap data need to be relocated because [0.131s][info][cds] the archive was created with an incompatible heap size: 31000M. [0.131s][info][cds] Current narrow_oop_mode = 0, narrow_oop_base = 0x0000000000000000, narrow_oop_shift = 0 Hello World Command line: [/home/iklam/jdk/bld/abe-fastdebug/images/jdk/bin/java -cp /jdk/tmp/jtreg/work/classes/runtime/appcds/cacheObject/DifferentHeapSizes.d:/jdk/abe/open/test/hotspot/jtreg/runtime/appcds/cacheObject:/jdk/tmp/jtreg/work/classes/test/lib:/jdk/abe/open/test/lib:/jdk/tmp/jtreg/work/classes/test/hotspot/jtreg/runtime/appcds:/jdk/abe/open/test/hotspot/jtreg/runtime/appcds:/net/scanas416.us.oracle.com/export/java_re2/misc/promoted/jtreg/4.2/fcs/b13/binaries/jtreg/lib/javatest.jar:/net/scanas416.us.oracle.com/export/java_re2/misc/promoted/jtreg/4.2/fcs/b13/binaries/jtreg/lib/jtreg.jar -Xshare:on -showversion -XX:SharedArchiveFile=/jdk/tmp/jtreg/work/scratch/appcds-15h30m10s830.jsa -Dtest.timeout.factor=4.0 -cp /jdk/tmp/jtreg/work/classes/runtime/appcds/cacheObject/DifferentHeapSizes.d/hello.jar -showversion -Xlog:cds -Xmx2048m -XX:+UseStringDeduplication Hello ] [ELAPSED: 300 ms] [STDERR] java version "12-internal" 2019-03-19 Java(TM) SE Runtime Environment 19.3 (fastdebug build 12-internal+0-adhoc.iklam.open) Java HotSpot(TM) 64-Bit Server VM 19.3 (fastdebug build 12-internal+0-adhoc.iklam.open, mixed mode, sharing) [STDOUT] [0.074s][info][cds] Archived narrow_klass_base = 0x0000000800000000, narrow_klass_shift = 3 [0.074s][info][cds] Archived narrow_oop_mode = 2, narrow_oop_base = 0x0000001000000000, narrow_oop_shift = 3 [0.074s][info][cds] CDS heap data need to be relocated because [0.074s][info][cds] the archive was created with an incompatible heap size: 31000M. [0.074s][info][cds] Current narrow_oop_mode = 0, narrow_oop_base = 0x0000000000000000, narrow_oop_shift = 0 Hello World Command line: [/home/iklam/jdk/bld/abe-fastdebug/images/jdk/bin/java -cp /jdk/tmp/jtreg/work/classes/runtime/appcds/cacheObject/DifferentHeapSizes.d:/jdk/abe/open/test/hotspot/jtreg/runtime/appcds/cacheObject:/jdk/tmp/jtreg/work/classes/test/lib:/jdk/abe/open/test/lib:/jdk/tmp/jtreg/work/classes/test/hotspot/jtreg/runtime/appcds:/jdk/abe/open/test/hotspot/jtreg/runtime/appcds:/net/scanas416.us.oracle.com/export/java_re2/misc/promoted/jtreg/4.2/fcs/b13/binaries/jtreg/lib/javatest.jar:/net/scanas416.us.oracle.com/export/java_re2/misc/promoted/jtreg/4.2/fcs/b13/binaries/jtreg/lib/jtreg.jar -Xshare:on -showversion -XX:SharedArchiveFile=/jdk/tmp/jtreg/work/scratch/appcds-15h30m10s830.jsa -Dtest.timeout.factor=4.0 -cp /jdk/tmp/jtreg/work/classes/runtime/appcds/cacheObject/DifferentHeapSizes.d/hello.jar -showversion -Xlog:cds -Xmx4097m -XX:+UseStringDeduplication Hello ] [ELAPSED: 583 ms] [STDERR] java version "12-internal" 2019-03-19 Java(TM) SE Runtime Environment 19.3 (fastdebug build 12-internal+0-adhoc.iklam.open) Java HotSpot(TM) 64-Bit Server VM 19.3 (fastdebug build 12-internal+0-adhoc.iklam.open, mixed mode, sharing) [STDOUT] [0.135s][info][cds] Archived narrow_klass_base = 0x0000000800000000, narrow_klass_shift = 3 [0.135s][info][cds] Archived narrow_oop_mode = 2, narrow_oop_base = 0x0000001000000000, narrow_oop_shift = 3 [0.135s][info][cds] CDS heap data need to be relocated because [0.135s][info][cds] the archive was created with an incompatible heap size: 31000M. [0.135s][info][cds] Current narrow_oop_mode = 1, narrow_oop_base = 0x0000000000000000, narrow_oop_shift = 3 Hello World Command line: [/home/iklam/jdk/bld/abe-fastdebug/images/jdk/bin/java -cp /jdk/tmp/jtreg/work/classes/runtime/appcds/cacheObject/DifferentHeapSizes.d:/jdk/abe/open/test/hotspot/jtreg/runtime/appcds/cacheObject:/jdk/tmp/jtreg/work/classes/test/lib:/jdk/abe/open/test/lib:/jdk/tmp/jtreg/work/classes/test/hotspot/jtreg/runtime/appcds:/jdk/abe/open/test/hotspot/jtreg/runtime/appcds:/net/scanas416.us.oracle.com/export/java_re2/misc/promoted/jtreg/4.2/fcs/b13/binaries/jtreg/lib/javatest.jar:/net/scanas416.us.oracle.com/export/java_re2/misc/promoted/jtreg/4.2/fcs/b13/binaries/jtreg/lib/jtreg.jar -Xshare:on -showversion -XX:SharedArchiveFile=/jdk/tmp/jtreg/work/scratch/appcds-15h30m10s830.jsa -Dtest.timeout.factor=4.0 -cp /jdk/tmp/jtreg/work/classes/runtime/appcds/cacheObject/DifferentHeapSizes.d/hello.jar -showversion -Xlog:cds -Xmx8500m -XX:+UseStringDeduplication Hello ] [ELAPSED: 488 ms] [STDERR] java version "12-internal" 2019-03-19 Java(TM) SE Runtime Environment 19.3 (fastdebug build 12-internal+0-adhoc.iklam.open) Java HotSpot(TM) 64-Bit Server VM 19.3 (fastdebug build 12-internal+0-adhoc.iklam.open, mixed mode, sharing) [STDOUT] [0.104s][info][cds] Archived narrow_klass_base = 0x0000000800000000, narrow_klass_shift = 3 [0.104s][info][cds] Archived narrow_oop_mode = 2, narrow_oop_base = 0x0000001000000000, narrow_oop_shift = 3 [0.104s][info][cds] CDS heap data need to be relocated because [0.104s][info][cds] the archive was created with an incompatible heap size: 31000M. [0.104s][info][cds] Current narrow_oop_mode = 1, narrow_oop_base = 0x0000000000000000, narrow_oop_shift = 3 Hello World Command line: [/home/iklam/jdk/bld/abe-fastdebug/images/jdk/bin/java -cp /jdk/tmp/jtreg/work/classes/runtime/appcds/cacheObject/DifferentHeapSizes.d:/jdk/abe/open/test/hotspot/jtreg/runtime/appcds/cacheObject:/jdk/tmp/jtreg/work/classes/test/lib:/jdk/abe/open/test/lib:/jdk/tmp/jtreg/work/classes/test/hotspot/jtreg/runtime/appcds:/jdk/abe/open/test/hotspot/jtreg/runtime/appcds:/net/scanas416.us.oracle.com/export/java_re2/misc/promoted/jtreg/4.2/fcs/b13/binaries/jtreg/lib/javatest.jar:/net/scanas416.us.oracle.com/export/java_re2/misc/promoted/jtreg/4.2/fcs/b13/binaries/jtreg/lib/jtreg.jar -Xshare:on -showversion -XX:SharedArchiveFile=/jdk/tmp/jtreg/work/scratch/appcds-15h30m10s830.jsa -Dtest.timeout.factor=4.0 -cp /jdk/tmp/jtreg/work/classes/runtime/appcds/cacheObject/DifferentHeapSizes.d/hello.jar -showversion -Xlog:cds -Xmx17000m -XX:+UseStringDeduplication Hello ] [ELAPSED: 467 ms] [STDERR] java version "12-internal" 2019-03-19 Java(TM) SE Runtime Environment 19.3 (fastdebug build 12-internal+0-adhoc.iklam.open) Java HotSpot(TM) 64-Bit Server VM 19.3 (fastdebug build 12-internal+0-adhoc.iklam.open, mixed mode, sharing) [STDOUT] [0.086s][info][cds] Archived narrow_klass_base = 0x0000000800000000, narrow_klass_shift = 3 [0.086s][info][cds] Archived narrow_oop_mode = 2, narrow_oop_base = 0x0000001000000000, narrow_oop_shift = 3 [0.086s][info][cds] CDS heap data need to be relocated because [0.086s][info][cds] the archive was created with an incompatible heap size: 31000M. [0.086s][info][cds] Current narrow_oop_mode = 1, narrow_oop_base = 0x0000000000000000, narrow_oop_shift = 3 Hello World Command line: [/home/iklam/jdk/bld/abe-fastdebug/images/jdk/bin/java -cp /jdk/tmp/jtreg/work/classes/runtime/appcds/cacheObject/DifferentHeapSizes.d:/jdk/abe/open/test/hotspot/jtreg/runtime/appcds/cacheObject:/jdk/tmp/jtreg/work/classes/test/lib:/jdk/abe/open/test/lib:/jdk/tmp/jtreg/work/classes/test/hotspot/jtreg/runtime/appcds:/jdk/abe/open/test/hotspot/jtreg/runtime/appcds:/net/scanas416.us.oracle.com/export/java_re2/misc/promoted/jtreg/4.2/fcs/b13/binaries/jtreg/lib/javatest.jar:/net/scanas416.us.oracle.com/export/java_re2/misc/promoted/jtreg/4.2/fcs/b13/binaries/jtreg/lib/jtreg.jar -cp /jdk/tmp/jtreg/work/classes/runtime/appcds/cacheObject/DifferentHeapSizes.d/hello.jar -Xshare:dump -Xlog:cds,cds+hashtables -XX:ExtraSharedClassListFile=/jdk/tmp/jtreg/work/classes/runtime/appcds/cacheObject/DifferentHeapSizes.d/DifferentHeapSizes-test.classlist -XX:SharedArchiveFile=/jdk/tmp/jtreg/work/scratch/appcds-15h30m14s949.jsa -Xmx128m -XX:HeapBaseMinAddress=2147483648 ] [ELAPSED: 1477 ms] [STDERR] [STDOUT] [0.043s][info][cds] narrow_klass_base = 0x0000000800000000, narrow_klass_shift = 3 [0.043s][info][cds] Allocated temporary class space: 1073741824 bytes at 0x00000008c0000000 Allocated shared space: 3221225472 bytes at 0x0000000800000000 [0.046s][info][cds] Expanding shared spaces by 1048576 bytes [total 1048576 bytes ending at 0x800100000] Loading classes to share ... Loading classes to share: done. [0.714s][info][cds] Shared spaces: preloaded 1165 classes Rewriting and linking classes ... Rewriting and linking classes: done Number of classes 1248 instance classes = 1170 obj array classes = 70 type array classes = 8 Updating ConstMethods ... done. Removing unshareable information ... done. Scanning all metaspace objects ... Allocating RW objects ... [0.855s][info][cds] Expanding shared spaces by 1048576 bytes [total 2097152 bytes ending at 0x800200000] [0.869s][info][cds] Expanding shared spaces by 1048576 bytes [total 3145728 bytes ending at 0x800300000] [0.884s][info][cds] Expanding shared spaces by 1048576 bytes [total 4194304 bytes ending at 0x800400000] [0.899s][info][cds] Expanding shared spaces by 1048576 bytes [total 5242880 bytes ending at 0x800500000] Allocating RO objects ... [0.926s][info][cds] Expanding shared spaces by 1048576 bytes [total 6291456 bytes ending at 0x800600000] [0.939s][info][cds] Expanding shared spaces by 1048576 bytes [total 7340032 bytes ending at 0x800700000] [0.950s][info][cds] Expanding shared spaces by 1048576 bytes [total 8388608 bytes ending at 0x800800000] [0.963s][info][cds] Expanding shared spaces by 1048576 bytes [total 9437184 bytes ending at 0x800900000] [0.976s][info][cds] Expanding shared spaces by 1048576 bytes [total 10485760 bytes ending at 0x800a00000] [0.989s][info][cds] Expanding shared spaces by 1048576 bytes [total 11534336 bytes ending at 0x800b00000] Relocating embedded pointers ... Relocating external roots ... Verifying external roots ... Dumping symbol table ... [1.185s][info][cds,hashtables] Shared symbol table stats -------- base: 0x0000000800000000 [1.185s][info][cds,hashtables] Number of entries : 36158 [1.185s][info][cds,hashtables] Total bytes used : 322608 [1.185s][info][cds,hashtables] Average bytes per entry : 8.922 [1.185s][info][cds,hashtables] Average bucket size : 4.000 [1.185s][info][cds,hashtables] Variance of bucket size : 4.089 [1.185s][info][cds,hashtables] Std. dev. of bucket size: 2.022 [1.185s][info][cds,hashtables] Empty buckets : 159 [1.185s][info][cds,hashtables] Value_Only buckets : 708 [1.185s][info][cds,hashtables] Other buckets : 8172 Dumping objects to closed archive heap region ... [1.209s][info][cds,hashtables] Shared string table stats -------- base: 0x0000000800000000 [1.209s][info][cds,hashtables] Number of entries : 6667 [1.209s][info][cds,hashtables] Total bytes used : 59568 [1.209s][info][cds,hashtables] Average bytes per entry : 8.935 [1.209s][info][cds,hashtables] Average bucket size : 3.999 [1.209s][info][cds,hashtables] Variance of bucket size : 3.906 [1.209s][info][cds,hashtables] Std. dev. of bucket size: 1.976 [1.209s][info][cds,hashtables] Empty buckets : 35 [1.209s][info][cds,hashtables] Value_Only buckets : 114 [1.209s][info][cds,hashtables] Other buckets : 1518 Dumping objects to open archive heap region ... Relocating SystemDictionary::_well_known_klasses[] ... Removing java_mirror ... done. [1.392s][info][cds ] Expanding shared spaces by 1048576 bytes [total 12582912 bytes ending at 0x800c00000] [1.393s][info][cds ] Expanding shared spaces by 1048576 bytes [total 13631488 bytes ending at 0x800d00000] [1.394s][info][cds ] Expanding shared spaces by 1048576 bytes [total 14680064 bytes ending at 0x800e00000] [1.394s][info][cds ] Expanding shared spaces by 1048576 bytes [total 15728640 bytes ending at 0x800f00000] [1.395s][info][cds ] Expanding shared spaces by 1048576 bytes [total 16777216 bytes ending at 0x801000000] [1.395s][info][cds ] Expanding shared spaces by 1048576 bytes [total 17825792 bytes ending at 0x801100000] [1.396s][info][cds ] Expanding shared spaces by 1048576 bytes [total 18874368 bytes ending at 0x801200000] [1.420s][info][cds ] Archive heap region 5 0x0000000087c00000 - 0x0000000087c6b000 = 438272 bytes [1.420s][info][cds ] Archive heap region 6 0x0000000000000000 - 0x0000000000000000 = 0 bytes [1.420s][info][cds ] Archive heap region 7 0x0000000087b00000 - 0x0000000087b45000 = 282624 bytes [1.421s][info][cds ] Archive heap region 8 0x0000000000000000 - 0x0000000000000000 = 0 bytes [1.421s][info][cds ] Dumping shared data to file: [1.421s][info][cds ] /jdk/tmp/jtreg/work/scratch/appcds-15h30m14s949.jsa [1.421s][info][cds ] Shared file region 0: 0x000054a0 bytes, addr 0x0000000800000000 file offset 0x00001000 [1.421s][info][cds ] Shared file region 1: 0x00411750 bytes, addr 0x0000000800006000 file offset 0x00007000 [1.429s][info][cds ] Shared file region 2: 0x006f0df0 bytes, addr 0x0000000800418000 file offset 0x00419000 [1.442s][info][cds ] Shared file region 3: 0x00000ac0 bytes, addr 0x0000000800b09000 file offset 0x00b0a000 [1.442s][info][cds ] Shared file region 4: 0x006215a8 bytes, addr 0x0000000800b0a000 file offset 0x00b0b000 [1.453s][info][cds ] Archive heap region 5 0x0000000087c00000 - 0x0000000087c6b000 = 438272 bytes [1.453s][info][cds ] Shared file region 5: 0x0006b000 bytes, addr 0x0000000087c00000 file offset 0x0112d000 [1.453s][info][cds ] Archive heap region 6 0x0000000000000000 - 0x0000000000000000 = 0 bytes [1.453s][info][cds ] Shared file region 6: 0x00000000 bytes, addr 0x0000000000000000 file offset 0x01198000 [1.453s][info][cds ] Archive heap region 7 0x0000000087b00000 - 0x0000000087b45000 = 282624 bytes [1.453s][info][cds ] Shared file region 7: 0x00045000 bytes, addr 0x0000000087b00000 file offset 0x01198000 [1.454s][info][cds ] Archive heap region 8 0x0000000000000000 - 0x0000000000000000 = 0 bytes [1.454s][info][cds ] Shared file region 8: 0x00000000 bytes, addr 0x0000000000000000 file offset 0x011dd000 mc space: 21664 [ 0.1% of total] out of 24576 bytes [ 88.2% used] at 0x0000000800000000 rw space: 4265808 [ 22.8% of total] out of 4268032 bytes [ 99.9% used] at 0x0000000800006000 ro space: 7278064 [ 38.9% of total] out of 7278592 bytes [100.0% used] at 0x0000000800418000 md space: 2752 [ 0.0% of total] out of 4096 bytes [ 67.2% used] at 0x0000000800b09000 od space: 6428072 [ 34.3% of total] out of 6430720 bytes [100.0% used] at 0x0000000800b0a000 st0 space: 438272 [ 2.3% of total] out of 438272 bytes [100.0% used] at 0x0000000087c00000 oa0 space: 282624 [ 1.5% of total] out of 282624 bytes [100.0% used] at 0x0000000087b00000 total : 18717256 [100.0% of total] out of 18726912 bytes [ 99.9% used] [1.454s][info][cds ] Detailed metadata info (excluding od/st regions; rw stats include md/mc regions): [1.454s][info][cds ] ro_cnt ro_bytes % | rw_cnt rw_bytes % | all_cnt all_bytes % [1.454s][info][cds ] --------------------+---------------------------+---------------------------+-------------------------- [1.454s][info][cds ] Class : 0 0 0.0 | 1248 813856 19.0 | 1248 813856 7.0 [1.454s][info][cds ] Symbol : 36158 1403552 19.3 | 0 0 0.0 | 36158 1403552 12.1 [1.454s][info][cds ] TypeArrayU1 : 8937 264576 3.6 | 1170 235920 5.5 | 10107 500496 4.3 [1.454s][info][cds ] TypeArrayU2 : 3019 155104 2.1 | 0 0 0.0 | 3019 155104 1.3 [1.454s][info][cds ] TypeArrayU4 : 1336 83936 1.2 | 0 0 0.0 | 1336 83936 0.7 [1.454s][info][cds ] TypeArrayU8 : 1998 181936 2.5 | 1170 139200 3.2 | 3168 321136 2.8 [1.454s][info][cds ] TypeArrayOther : 0 0 0.0 | 0 0 0.0 | 0 0 0.0 [1.454s][info][cds ] Method : 0 0 0.0 | 18382 1918480 44.7 | 18382 1918480 16.6 [1.454s][info][cds ] ConstMethod : 18382 2821184 38.8 | 0 0 0.0 | 18382 2821184 24.4 [1.454s][info][cds ] MethodData : 0 0 0.0 | 0 0 0.0 | 0 0 0.0 [1.454s][info][cds ] ConstantPool : 1170 1873752 25.7 | 0 0 0.0 | 1170 1873752 16.2 [1.454s][info][cds ] ConstantPoolCache : 0 0 0.0 | 1170 1158352 27.0 | 1170 1158352 10.0 [1.454s][info][cds ] Annotations : 51 1632 0.0 | 0 0 0.0 | 51 1632 0.0 [1.454s][info][cds ] MethodCounters : 0 0 0.0 | 0 0 0.0 | 0 0 0.0 [1.454s][info][cds ] SymbolHashentry : 36158 286440 3.9 | 0 0 0.0 | 36158 286440 2.5 [1.454s][info][cds ] SymbolBucket : 9039 36168 0.5 | 0 0 0.0 | 9039 36168 0.3 [1.454s][info][cds ] StringHashentry : 6667 52888 0.7 | 0 0 0.0 | 6667 52888 0.5 [1.454s][info][cds ] StringBucket : 1667 6680 0.1 | 0 0 0.0 | 1667 6680 0.1 [1.454s][info][cds ] Other : 0 110216 1.5 | 0 24416 0.6 | 0 134632 1.2 [1.454s][info][cds ] --------------------+---------------------------+---------------------------+-------------------------- [1.454s][info][cds ] Total : 124582 7278064 100.0 | 23140 4290224 100.0 | 147722 11568288 100.0 Command line: [/home/iklam/jdk/bld/abe-fastdebug/images/jdk/bin/java -cp /jdk/tmp/jtreg/work/classes/runtime/appcds/cacheObject/DifferentHeapSizes.d:/jdk/abe/open/test/hotspot/jtreg/runtime/appcds/cacheObject:/jdk/tmp/jtreg/work/classes/test/lib:/jdk/abe/open/test/lib:/jdk/tmp/jtreg/work/classes/test/hotspot/jtreg/runtime/appcds:/jdk/abe/open/test/hotspot/jtreg/runtime/appcds:/net/scanas416.us.oracle.com/export/java_re2/misc/promoted/jtreg/4.2/fcs/b13/binaries/jtreg/lib/javatest.jar:/net/scanas416.us.oracle.com/export/java_re2/misc/promoted/jtreg/4.2/fcs/b13/binaries/jtreg/lib/jtreg.jar -Xshare:on -showversion -XX:SharedArchiveFile=/jdk/tmp/jtreg/work/scratch/appcds-15h30m14s949.jsa -Dtest.timeout.factor=4.0 -cp /jdk/tmp/jtreg/work/classes/runtime/appcds/cacheObject/DifferentHeapSizes.d/hello.jar -showversion -Xlog:cds -Xmx128m -XX:HeapBaseMinAddress=2415919104 -XX:+UseStringDeduplication Hello ] [ELAPSED: 413 ms] [STDERR] java version "12-internal" 2019-03-19 Java(TM) SE Runtime Environment 19.3 (fastdebug build 12-internal+0-adhoc.iklam.open) Java HotSpot(TM) 64-Bit Server VM 19.3 (fastdebug build 12-internal+0-adhoc.iklam.open, mixed mode, sharing) [STDOUT] [0.088s][info][cds] Archived narrow_klass_base = 0x0000000800000000, narrow_klass_shift = 3 [0.088s][info][cds] Archived narrow_oop_mode = 0, narrow_oop_base = 0x0000000000000000, narrow_oop_shift = 0 [0.088s][info][cds] CDS heap data need to be relocated because [0.088s][info][cds] the desired range 0x0000000087b00000 - 0x0000000087c6b000 [0.088s][info][cds] is outside of the heap 0x0000000090000000 - 0x0000000098000000 Hello World ----------System.err:(1/15)---------- STATUS:Passed. ----------rerun:(29/2456)*---------- cd /jdk/tmp/jtreg/work/scratch && \\ DISPLAY=:2 \\ HOME=/home/iklam \\ JTREG_COMPILEJDK=/home/iklam/jdk/bld/abe/images/jdk \\ LANG=en_US.UTF-8 \\ PATH=/bin:/usr/bin \\ CLASSPATH=/jdk/tmp/jtreg/work/classes/runtime/appcds/cacheObject/DifferentHeapSizes.d:/jdk/abe/open/test/hotspot/jtreg/runtime/appcds/cacheObject:/jdk/tmp/jtreg/work/classes/test/lib:/jdk/abe/open/test/lib:/jdk/tmp/jtreg/work/classes/test/hotspot/jtreg/runtime/appcds:/jdk/abe/open/test/hotspot/jtreg/runtime/appcds:/net/scanas416.us.oracle.com/export/java_re2/misc/promoted/jtreg/4.2/fcs/b13/binaries/jtreg/lib/javatest.jar:/net/scanas416.us.oracle.com/export/java_re2/misc/promoted/jtreg/4.2/fcs/b13/binaries/jtreg/lib/jtreg.jar \\ /home/iklam/jdk/bld/abe-fastdebug/images/jdk/bin/java \\ -Dtest.class.path.prefix=/jdk/tmp/jtreg/work/classes/runtime/appcds/cacheObject/DifferentHeapSizes.d:/jdk/abe/open/test/hotspot/jtreg/runtime/appcds/cacheObject:/jdk/tmp/jtreg/work/classes/test/lib:/jdk/tmp/jtreg/work/classes/test/hotspot/jtreg/runtime/appcds \\ -Dtest.src=/jdk/abe/open/test/hotspot/jtreg/runtime/appcds/cacheObject \\ -Dtest.src.path=/jdk/abe/open/test/hotspot/jtreg/runtime/appcds/cacheObject:/jdk/abe/open/test/lib:/jdk/abe/open/test/hotspot/jtreg/runtime/appcds \\ -Dtest.classes=/jdk/tmp/jtreg/work/classes/runtime/appcds/cacheObject/DifferentHeapSizes.d \\ -Dtest.class.path=/jdk/tmp/jtreg/work/classes/runtime/appcds/cacheObject/DifferentHeapSizes.d:/jdk/tmp/jtreg/work/classes/test/lib:/jdk/tmp/jtreg/work/classes/test/hotspot/jtreg/runtime/appcds \\ -Dtest.vm.opts= \\ -Dtest.tool.vm.opts= \\ -Dtest.compiler.opts= \\ -Dtest.java.opts= \\ -Dtest.jdk=/home/iklam/jdk/bld/abe-fastdebug/images/jdk \\ -Dcompile.jdk=/home/iklam/jdk/bld/abe/images/jdk \\ -Dtest.timeout.factor=4.0 \\ -Dtest.modules=jdk.jartool/sun.tools.jar \\ -Dtest.nativepath=/home/iklam/jdk/bld/abe/images/jdk/../../images/test/hotspot/jtreg/native \\ --add-modules jdk.jartool \\ --add-exports jdk.jartool/sun.tools.jar=ALL-UNNAMED \\ -Djava.library.path=/home/iklam/jdk/bld/abe/images/jdk/../../images/test/hotspot/jtreg/native \\ -XX:+UnlockDiagnosticVMOptions \\ -XX:+WhiteBoxAPI \\ -Xbootclasspath/a:. \\ com.sun.javatest.regtest.agent.MainWrapper /jdk/tmp/jtreg/work/runtime/appcds/cacheObject/DifferentHeapSizes.d/main.0.jta result: Passed. Execution successful test result: Passed. Execution successful