-
Bug
-
Resolution: Fixed
-
P4
-
17, 18
-
b19
When executed with -XX:-CompactStrings, some CDS tests fail.
$ make run-test TEST=runtime/cds/ TEST_VM_OPTS="-XX:-CompactStrings"
TEST: runtime/cds/appcds/LambdaEagerInit.java
...
STDERR:
stdout: [[0.081s][info][cds] trying to map /home/shade/trunks/jdk/build/linux-x86_64-server-fastdebug/images/jdk/lib/server/classes.jsa
[0.081s][info][cds] Opened archive /home/shade/trunks/jdk/build/linux-x86_64-server-fastdebug/images/jdk/lib/server/classes.jsa.
Error occurred during initialization of VM
Unable to use shared archive.
];
stderr: [An error has occurred while processing the shared archive file.
The shared archive file's CompactStrings setting (enabled) does not equal the current CompactStrings setting (disabled).
]
$ make run-test TEST=runtime/cds/ TEST_VM_OPTS="-XX:-CompactStrings"
TEST: runtime/cds/appcds/LambdaEagerInit.java
...
STDERR:
stdout: [[0.081s][info][cds] trying to map /home/shade/trunks/jdk/build/linux-x86_64-server-fastdebug/images/jdk/lib/server/classes.jsa
[0.081s][info][cds] Opened archive /home/shade/trunks/jdk/build/linux-x86_64-server-fastdebug/images/jdk/lib/server/classes.jsa.
Error occurred during initialization of VM
Unable to use shared archive.
];
stderr: [An error has occurred while processing the shared archive file.
The shared archive file's CompactStrings setting (enabled) does not equal the current CompactStrings setting (disabled).
]