Skip to content
Permalink
Browse files
8240840: Rollback whitebox.cpp in push 8240691
Whitebox.cpp should not change in 8240691, which is accidentally included.

Reviewed-by: iklam, ccheung
  • Loading branch information
yminqi committed Mar 10, 2020
1 parent 75632a6 commit 53c6887a3d167f9c0d72b3a5e6580ef63eec68fa
Showing with 6 additions and 0 deletions.
  1. +6 −0 src/hotspot/share/prims/whitebox.cpp
@@ -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;

0 comments on commit 53c6887

Please sign in to comment.