Mercurial > hg > truffle
comparison src/share/vm/utilities/globalDefinitions.hpp @ 12056:740e263c80c6
8003424: Enable Class Data Sharing for CompressedOops
8016729: ObjectAlignmentInBytes=16 now forces the use of heap based compressed oops
8005933: The -Xshare:auto option is ignored for -server
Summary: Move klass metaspace above the heap and support CDS with compressed klass ptrs.
Reviewed-by: coleenp, kvn, mgerdin, tschatzl, stefank
author | hseigel |
---|---|
date | Thu, 15 Aug 2013 20:04:10 -0400 |
parents | 90d6c221d4e5 |
children | 58fc8e2b7b6d e5003079dfa5 |
comparison
equal
deleted
inserted
replaced
12055:d96f52012aaa | 12056:740e263c80c6 |
---|---|
359 const int KlassAlignmentInBytes = 1 << LogKlassAlignmentInBytes; | 359 const int KlassAlignmentInBytes = 1 << LogKlassAlignmentInBytes; |
360 const int KlassAlignment = KlassAlignmentInBytes / HeapWordSize; | 360 const int KlassAlignment = KlassAlignmentInBytes / HeapWordSize; |
361 | 361 |
362 // Klass encoding metaspace max size | 362 // Klass encoding metaspace max size |
363 const uint64_t KlassEncodingMetaspaceMax = (uint64_t(max_juint) + 1) << LogKlassAlignmentInBytes; | 363 const uint64_t KlassEncodingMetaspaceMax = (uint64_t(max_juint) + 1) << LogKlassAlignmentInBytes; |
364 | |
365 const jlong CompressedKlassPointersBase = NOT_LP64(0) LP64_ONLY(CONST64(0x800000000)); // 32*G | |
364 | 366 |
365 // Machine dependent stuff | 367 // Machine dependent stuff |
366 | 368 |
367 #ifdef TARGET_ARCH_x86 | 369 #ifdef TARGET_ARCH_x86 |
368 # include "globalDefinitions_x86.hpp" | 370 # include "globalDefinitions_x86.hpp" |