< prev index next >

src/hotspot/share/utilities/globalDefinitions.hpp

Print this page
@@ -529,27 +529,17 @@
  extern int MinObjAlignmentInBytesMask;
  
  extern int LogMinObjAlignment;
  extern int LogMinObjAlignmentInBytes;
  
- const int LogKlassAlignmentInBytes = 3;
- const int LogKlassAlignment        = LogKlassAlignmentInBytes - LogHeapWordSize;
- const int KlassAlignmentInBytes    = 1 << LogKlassAlignmentInBytes;
- const int KlassAlignment           = KlassAlignmentInBytes / HeapWordSize;
- 
  // 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
  // placement for zero based compression algorithm: UnscaledOopHeapMax << LogMinObjAlignmentInBytes.
  extern uint64_t OopEncodingHeapMax;
  
- // Maximal size of compressed class space. Above this limit compression is not possible.
- // Also upper bound for placement of zero based class space. (Class space is further limited
- // to be < 3G, see arguments.cpp.)
- const  uint64_t KlassEncodingMetaspaceMax = (uint64_t(max_juint) + 1) << LogKlassAlignmentInBytes;
- 
  // Machine dependent stuff
  
  // The maximum size of the code cache.  Can be overridden by targets.
  #define CODE_CACHE_SIZE_LIMIT (2*G)
  // Allow targets to reduce the default size of the code cache.
< prev index next >