< prev index next >

src/share/vm/utilities/globalDefinitions.hpp

Print this page
rev 7280 : 8064457: Introduce compressed oops mode "disjoint base" and improve compressed heap handling.

@@ -122,11 +122,13 @@
 extern int LogBytesPerHeapOop;                // Oop within a java object
 extern int LogBitsPerHeapOop;
 extern int BytesPerHeapOop;
 extern int BitsPerHeapOop;
 
-// Oop encoding heap max
+// 4Gb
+static const uint64_t UnscaledOopHeapMax = 0x100000000;
+// Oop encoding heap max: UnscaledOopHeapMax << LogMinObjAlignmentInBytes
 extern uint64_t OopEncodingHeapMax;
 
 const int BitsPerJavaInteger = 32;
 const int BitsPerJavaLong    = 64;
 const int BitsPerSize_t      = size_tSize * BitsPerByte;
< prev index next >