8240840: Rollback whitebox.cpp in push 8240691

Whitebox.cpp should not change in 8240691, which is accidentally included.

Reviewed-by: iklam, ccheung
This commit is contained in:
Yumin Qi 2020-03-10 14:37:37 -07:00
parent 75632a6df2
commit 53c6887a3d

@ -1990,6 +1990,12 @@ WB_END
WB_ENTRY(jboolean, WB_IsCDSIncludedInVmBuild(JNIEnv* env))
#if INCLUDE_CDS
# ifdef _LP64
if (!UseCompressedOops || !UseCompressedClassPointers) {
// On 64-bit VMs, CDS is supported only with compressed oops/pointers
return false;
}
# endif // _LP64
return true;
#else
return false;