Mercurial > hg > truffle
comparison src/share/vm/utilities/globalDefinitions.hpp @ 13000:209aa13ab8c0
8024927: Nashorn performance regression with CompressedOops
Summary: Allocate compressed class space at end of Java heap. For small heap sizes, without CDS, save some space so compressed classes can have the same favorable compression as oops
Reviewed-by: stefank, hseigel, goetz
author | coleenp |
---|---|
date | Fri, 25 Oct 2013 15:19:29 -0400 |
parents | aa6f2ea19d8f |
children | 610be0309a79 2b8e28fdf503 |
comparison
equal
deleted
inserted
replaced
12999:634715d59d9e | 13000:209aa13ab8c0 |
---|---|
365 const int KlassAlignmentInBytes = 1 << LogKlassAlignmentInBytes; | 365 const int KlassAlignmentInBytes = 1 << LogKlassAlignmentInBytes; |
366 const int KlassAlignment = KlassAlignmentInBytes / HeapWordSize; | 366 const int KlassAlignment = KlassAlignmentInBytes / HeapWordSize; |
367 | 367 |
368 // Klass encoding metaspace max size | 368 // Klass encoding metaspace max size |
369 const uint64_t KlassEncodingMetaspaceMax = (uint64_t(max_juint) + 1) << LogKlassAlignmentInBytes; | 369 const uint64_t KlassEncodingMetaspaceMax = (uint64_t(max_juint) + 1) << LogKlassAlignmentInBytes; |
370 | |
371 const jlong CompressedKlassPointersBase = NOT_LP64(0) LP64_ONLY(CONST64(0x800000000)); // 32*G | |
372 | 370 |
373 // Machine dependent stuff | 371 // Machine dependent stuff |
374 | 372 |
375 #ifdef TARGET_ARCH_x86 | 373 #ifdef TARGET_ARCH_x86 |
376 # include "globalDefinitions_x86.hpp" | 374 # include "globalDefinitions_x86.hpp" |