diff src/share/vm/memory/universe.cpp @ 12258:69f26e8e09f9

8024760: add more types, fields and constants to VMStructs Reviewed-by: kvn, coleenp
author twisti
date Fri, 13 Sep 2013 16:55:44 -0700
parents 4c84d351cca9
children da051ce490eb
line wrap: on
line diff
--- a/src/share/vm/memory/universe.cpp	Fri Sep 13 04:16:54 2013 -0700
+++ b/src/share/vm/memory/universe.cpp	Fri Sep 13 16:55:44 2013 -0700
@@ -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() {