Skip to content
This repository has been archived by the owner on Aug 27, 2022. It is now read-only.

Commit

Permalink
8240840: Rollback whitebox.cpp in push 8240691
Browse files Browse the repository at this point in the history
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 53c6887
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/hotspot/share/prims/whitebox.cpp
Expand Up @@ -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;
Expand Down

0 comments on commit 53c6887

Please sign in to comment.