< prev index next >
src/hotspot/share/utilities/globalDefinitions.hpp
Print this page
rev 48545 : Value-based classes (vbc) / Oop value test via metadata ptr
*** 449,458 ****
--- 449,461 ----
const int LogKlassAlignmentInBytes = 3;
const int LogKlassAlignment = LogKlassAlignmentInBytes - LogHeapWordSize;
const int KlassAlignmentInBytes = 1 << LogKlassAlignmentInBytes;
const int KlassAlignment = KlassAlignmentInBytes / HeapWordSize;
+ #if INCLUDE_VBC
+ const int KlassPtrEvenOddMask = (1 << (LogKlassAlignmentInBytes + 1)) - 1;
+ #endif
// Maximal size of heap where unscaled compression can be used. Also upper bound
// for heap placement: 4GB.
const uint64_t UnscaledOopHeapMax = (uint64_t(max_juint) + 1);
// Maximal size of heap where compressed oops can be used. Also upper bound for heap
< prev index next >