8341053: Two CDS tests fail again with -UseCompressedOops and UseSerialGC/UseParallelGC
Reviewed-by: iklam, matsaave
This commit is contained in:
parent
feb6a830e2
commit
42f32551cd
@ -2159,7 +2159,8 @@ WB_ENTRY(jboolean, WB_IsJVMCISupportedByGC(JNIEnv* env))
|
||||
WB_END
|
||||
|
||||
WB_ENTRY(jboolean, WB_CanWriteJavaHeapArchive(JNIEnv* env))
|
||||
return HeapShared::can_write();
|
||||
return HeapShared::can_write()
|
||||
&& ArchiveHeapLoader::can_use(); // work-around JDK-8341371
|
||||
WB_END
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user