runtime/cds/SharedBaseAddress.java#id2
runtime/cds/SharedBaseAddress.java#id3
[0.028s][info ][cds] optimized module handling: enabled
[0.028s][info ][cds] full module graph: disabled
[0.028s][error][cds] CDS archive has aot-linked classes. It cannot be used when archived full module graph is not used.
[0.028s][info ][cds] Unmapping region #0 at base 0x0000000800000000 (ReadWrite)
[0.028s][info ][cds] Unmapping region #1 at base 0x0000000800570000 (ReadOnly)
[0.028s][info ][cds] ArchiveRelocationMode == 1: always map archive(s) at an alternative address
[0.028s][debug][cds] Released shared space (archive + class) 0x0000000800000000
[0.028s][debug][nmt] Remove uncommitted region 'Shared class space' (0x0000000800000000, 16777216) Succeeded
[0.028s][debug][nmt] Removed region 'Shared class space' (0x0000000800000000, 16777216) from _reserved_regions Succeeded
[0.028s][debug][nmt] Remove uncommitted region 'Class' (0x0000000801000000, 33554432) Succeeded
[0.028s][debug][nmt] Removed region 'Class' (0x0000000801000000, 33554432) from _reserved_regions Succeeded
[0.028s][info ][cds] Unable to map shared spaces
[0.028s][error][cds] An error has occurred while processing the shared archive file.
[0.028s][error][cds] Unable to map shared spaces
Error occurred during initialization of VM
Unable to use shared archive.
];
stderr: []
exitValue = 1
when running with -XX:+AOTClassLinking and with Parallel or Serial GCs.
Steps to reproduce:
> jib.sh make -- run-test TEST=open/test/hotspot/jtreg/runtime/cds/SharedBaseAddress.java#id3 TEST_VM_OPTS="-XX:+AOTClassLinking -XX:+UseParallelGC"
runtime/cds/SharedBaseAddress.java#id3
[0.028s][info ][cds] optimized module handling: enabled
[0.028s][info ][cds] full module graph: disabled
[0.028s][error][cds] CDS archive has aot-linked classes. It cannot be used when archived full module graph is not used.
[0.028s][info ][cds] Unmapping region #0 at base 0x0000000800000000 (ReadWrite)
[0.028s][info ][cds] Unmapping region #1 at base 0x0000000800570000 (ReadOnly)
[0.028s][info ][cds] ArchiveRelocationMode == 1: always map archive(s) at an alternative address
[0.028s][debug][cds] Released shared space (archive + class) 0x0000000800000000
[0.028s][debug][nmt] Remove uncommitted region 'Shared class space' (0x0000000800000000, 16777216) Succeeded
[0.028s][debug][nmt] Removed region 'Shared class space' (0x0000000800000000, 16777216) from _reserved_regions Succeeded
[0.028s][debug][nmt] Remove uncommitted region 'Class' (0x0000000801000000, 33554432) Succeeded
[0.028s][debug][nmt] Removed region 'Class' (0x0000000801000000, 33554432) from _reserved_regions Succeeded
[0.028s][info ][cds] Unable to map shared spaces
[0.028s][error][cds] An error has occurred while processing the shared archive file.
[0.028s][error][cds] Unable to map shared spaces
Error occurred during initialization of VM
Unable to use shared archive.
];
stderr: []
exitValue = 1
when running with -XX:+AOTClassLinking and with Parallel or Serial GCs.
Steps to reproduce:
> jib.sh make -- run-test TEST=open/test/hotspot/jtreg/runtime/cds/SharedBaseAddress.java#id3 TEST_VM_OPTS="-XX:+AOTClassLinking -XX:+UseParallelGC"