Mercurial > hg > truffle
diff 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 |
line wrap: on
line diff
--- a/src/share/vm/utilities/globalDefinitions.hpp Wed Aug 14 15:12:00 2013 -0700 +++ b/src/share/vm/utilities/globalDefinitions.hpp Thu Aug 15 20:04:10 2013 -0400 @@ -362,6 +362,8 @@ // Klass encoding metaspace max size const uint64_t KlassEncodingMetaspaceMax = (uint64_t(max_juint) + 1) << LogKlassAlignmentInBytes; +const jlong CompressedKlassPointersBase = NOT_LP64(0) LP64_ONLY(CONST64(0x800000000)); // 32*G + // Machine dependent stuff #ifdef TARGET_ARCH_x86