hotspot/src/share/vm/memory/universe.cpp
changeset 20022 e6e3f5ff6d73
parent 19996 a98fdabb2ba9
parent 20011 d74937287461
child 21186 db851068711f
child 21560 b3ae3ba25ebb
--- a/hotspot/src/share/vm/memory/universe.cpp	Thu Sep 19 09:34:20 2013 +0200
+++ b/hotspot/src/share/vm/memory/universe.cpp	Thu Sep 19 18:01:39 2013 +0200
@@ -602,7 +602,7 @@
   }
 }
 
-static intptr_t non_oop_bits = 0;
+intptr_t Universe::_non_oop_bits = 0;
 
 void* Universe::non_oop_word() {
   // Neither the high bits nor the low bits of this value is allowed
@@ -616,11 +616,11 @@
   // Using the OS-supplied non-memory-address word (usually 0 or -1)
   // will take care of the high bits, however many there are.
 
-  if (non_oop_bits == 0) {
-    non_oop_bits = (intptr_t)os::non_memory_address_word() | 1;
+  if (_non_oop_bits == 0) {
+    _non_oop_bits = (intptr_t)os::non_memory_address_word() | 1;
   }
 
-  return (void*)non_oop_bits;
+  return (void*)_non_oop_bits;
 }
 
 jint universe_init() {