hotspot/src/share/vm/utilities/globalDefinitions.cpp
changeset 5694 1e0532a6abff
parent 670 ddf3e9583f2f
child 5702 201c5cde25bb
--- a/hotspot/src/share/vm/utilities/globalDefinitions.cpp	Thu May 27 09:54:07 2010 -0700
+++ b/hotspot/src/share/vm/utilities/globalDefinitions.cpp	Thu May 27 18:01:56 2010 -0700
@@ -34,6 +34,18 @@
 int BytesPerHeapOop    = 0;
 int BitsPerHeapOop     = 0;
 
+// Object alignment, in units of HeapWords.
+// Defaults are -1 so things will break badly if incorrectly initialized.
+int MinObjAlignment            = -1;
+int MinObjAlignmentInBytes     = -1;
+int MinObjAlignmentInBytesMask = 0;
+
+int LogMinObjAlignment         = -1;
+int LogMinObjAlignmentInBytes  = -1;
+
+// Oop encoding heap max
+uint64_t OopEncodingHeapMax = 0;
+
 void basic_fatal(const char* msg) {
   fatal(msg);
 }