8224710: [TESTBUG] dynamicArchive/ExcludedClasses.java test failed in tier6 testing on Windows
Account for the failure in loading of the base archive in CDSTestUtils::isUnableToMap(). Reviewed-by: jiangli, iklam
This commit is contained in:
parent
919c0e9d8e
commit
f1a897b494
@ -1221,7 +1221,7 @@ void Metaspace::global_initialize() {
|
||||
}
|
||||
|
||||
if (DynamicDumpSharedSpaces && !UseSharedSpaces) {
|
||||
vm_exit_during_initialization("DynamicDumpSharedSpaces not supported when base CDS archive is not loaded", NULL);
|
||||
vm_exit_during_initialization("DynamicDumpSharedSpaces is unsupported when base CDS archive is not loaded", NULL);
|
||||
}
|
||||
|
||||
if (!DumpSharedSpaces && !UseSharedSpaces)
|
||||
|
@ -357,7 +357,8 @@ public class CDSTestUtils {
|
||||
outStr.contains("Unable to map MiscCode shared space at required address") ||
|
||||
outStr.contains("Unable to map OptionalData shared space at required address") ||
|
||||
outStr.contains("Could not allocate metaspace at a compatible address") ||
|
||||
outStr.contains("UseSharedSpaces: Unable to allocate region, range is not within java heap") ))
|
||||
outStr.contains("UseSharedSpaces: Unable to allocate region, range is not within java heap") ||
|
||||
outStr.contains("DynamicDumpSharedSpaces is unsupported when base CDS archive is not loaded") ))
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user