< prev index next >

src/share/vm/runtime/os.cpp

Print this page

        

@@ -1282,11 +1282,11 @@
   *n = count;
   return opath;
 }
 
 void os::set_memory_serialize_page(address page) {
-  int count = log2_intptr(sizeof(class JavaThread)) - log2_intptr(64);
+  int count = log2_intptr(sizeof(class JavaThread)) - log2_int(64);
   _mem_serialize_page = (volatile int32_t *)page;
   // We initialize the serialization page shift count here
   // We assume a cache line size of 64 bytes
   assert(SerializePageShiftCount == count,
          "thread size changed, fix SerializePageShiftCount constant");
< prev index next >