-
Bug
-
Resolution: Fixed
-
P4
-
21
-
b24
CDS requires certain flags (e.g., ObjectAlignmentInBytes) to be the same between dump time and run time, or else the CDS archive will fail to load.
Almost all CDS tests generate their own archive files. Therefore, any flags specified via JTREG (e.g., with -vmoptions) will apply to both the dump time and run time. Therefore, even if -vmoptions includes flags like ObjectAlignmentInBytes, the tests will continue to work.
However, some tests fail with -vmoptions:-XX:ObjectAlignmentInBytes=16. We need to investigate why. They probably have a more strict requirement on the command-line options and might need to be tagged with "@requires vm.flagless"
- runtime/cds/appcds/cacheObject/DifferentHeapSizes.java
- runtime/cds/appcds/DumpingWithNoCoops.java
- runtime/cds/appcds/sharedStrings/IncompatibleOptions.java
Almost all CDS tests generate their own archive files. Therefore, any flags specified via JTREG (e.g., with -vmoptions) will apply to both the dump time and run time. Therefore, even if -vmoptions includes flags like ObjectAlignmentInBytes, the tests will continue to work.
However, some tests fail with -vmoptions:-XX:ObjectAlignmentInBytes=16. We need to investigate why. They probably have a more strict requirement on the command-line options and might need to be tagged with "@requires vm.flagless"
- runtime/cds/appcds/cacheObject/DifferentHeapSizes.java
- runtime/cds/appcds/DumpingWithNoCoops.java
- runtime/cds/appcds/sharedStrings/IncompatibleOptions.java