Mercurial > hg > graal-jvmci-8
comparison src/share/vm/utilities/globalDefinitions.cpp @ 1571:2d127394260e
6916623: Align object to 16 bytes to use Compressed Oops with java heap up to 64Gb
Summary: Added new product ObjectAlignmentInBytes flag to control object alignment.
Reviewed-by: twisti, ysr, iveresov
author | kvn |
---|---|
date | Thu, 27 May 2010 18:01:56 -0700 |
parents | d1605aabd0a1 |
children | e9ff18c4ace7 |
comparison
equal
deleted
inserted
replaced
1570:de91a2f25c7e | 1571:2d127394260e |
---|---|
31 int heapOopSize = 0; | 31 int heapOopSize = 0; |
32 int LogBytesPerHeapOop = 0; | 32 int LogBytesPerHeapOop = 0; |
33 int LogBitsPerHeapOop = 0; | 33 int LogBitsPerHeapOop = 0; |
34 int BytesPerHeapOop = 0; | 34 int BytesPerHeapOop = 0; |
35 int BitsPerHeapOop = 0; | 35 int BitsPerHeapOop = 0; |
36 | |
37 // Object alignment, in units of HeapWords. | |
38 // Defaults are -1 so things will break badly if incorrectly initialized. | |
39 int MinObjAlignment = -1; | |
40 int MinObjAlignmentInBytes = -1; | |
41 int MinObjAlignmentInBytesMask = 0; | |
42 | |
43 int LogMinObjAlignment = -1; | |
44 int LogMinObjAlignmentInBytes = -1; | |
45 | |
46 // Oop encoding heap max | |
47 uint64_t OopEncodingHeapMax = 0; | |
36 | 48 |
37 void basic_fatal(const char* msg) { | 49 void basic_fatal(const char* msg) { |
38 fatal(msg); | 50 fatal(msg); |
39 } | 51 } |
40 | 52 |