1.1 --- a/src/share/vm/utilities/globalDefinitions.cpp Tue Jun 01 11:48:33 2010 -0700 1.2 +++ b/src/share/vm/utilities/globalDefinitions.cpp Wed Jun 02 22:45:42 2010 -0700 1.3 @@ -34,6 +34,18 @@ 1.4 int BytesPerHeapOop = 0; 1.5 int BitsPerHeapOop = 0; 1.6 1.7 +// Object alignment, in units of HeapWords. 1.8 +// Defaults are -1 so things will break badly if incorrectly initialized. 1.9 +int MinObjAlignment = -1; 1.10 +int MinObjAlignmentInBytes = -1; 1.11 +int MinObjAlignmentInBytesMask = 0; 1.12 + 1.13 +int LogMinObjAlignment = -1; 1.14 +int LogMinObjAlignmentInBytes = -1; 1.15 + 1.16 +// Oop encoding heap max 1.17 +uint64_t OopEncodingHeapMax = 0; 1.18 + 1.19 void basic_fatal(const char* msg) { 1.20 fatal(msg); 1.21 }