diff src/share/vm/utilities/globalDefinitions.hpp @ 5749:12706c5b39bc

minor C1/C2 bugfix
author Christian Haeubl <haeubl@ssw.jku.at>
date Tue, 03 Jul 2012 18:02:03 +0200
parents 33df1aeaebbf
children 957c266d8bc5
line wrap: on
line diff
--- a/src/share/vm/utilities/globalDefinitions.hpp	Tue Jul 03 17:29:11 2012 +0200
+++ b/src/share/vm/utilities/globalDefinitions.hpp	Tue Jul 03 18:02:03 2012 +0200
@@ -106,9 +106,9 @@
 // log2_intptr(sizeof(class JavaThread)) - log2_intptr(64);
 // see os::set_memory_serialize_page()
 #ifdef _LP64
-const int SerializePageShiftCount = 5;
+const int SerializePageShiftCount = GRAAL_ONLY(5) NOT_GRAAL(4);
 #else
-const int SerializePageShiftCount = 4;
+const int SerializePageShiftCount = GRAAL_ONLY(4) NOT_GRAAL(3);
 #endif
 
 // An opaque struct of heap-word width, so that HeapWord* can be a generic