< prev index next >
src/hotspot/share/utilities/globalDefinitions.hpp
Print this page
@@ -449,10 +449,11 @@
const int LogKlassAlignmentInBytes = 3;
const int LogKlassAlignment = LogKlassAlignmentInBytes - LogHeapWordSize;
const int KlassAlignmentInBytes = 1 << LogKlassAlignmentInBytes;
const int KlassAlignment = KlassAlignmentInBytes / HeapWordSize;
+const int KlassPtrValueTypeMask = (1 << (LogKlassAlignmentInBytes + 1)) - 1;
// 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 >