hotspot/src/share/vm/memory/universe.hpp
changeset 3275 bd2023eeea0a
parent 2259 d3c946e7f127
child 3277 b621e1c1f2c4
equal deleted inserted replaced
3274:90821b72481b 3275:bd2023eeea0a
   341   static CollectedHeap* heap() { return _collectedHeap; }
   341   static CollectedHeap* heap() { return _collectedHeap; }
   342 
   342 
   343   // For UseCompressedOops
   343   // For UseCompressedOops
   344   static address* narrow_oop_base_addr()              { return &_narrow_oop._base; }
   344   static address* narrow_oop_base_addr()              { return &_narrow_oop._base; }
   345   static address  narrow_oop_base()                   { return  _narrow_oop._base; }
   345   static address  narrow_oop_base()                   { return  _narrow_oop._base; }
       
   346   static bool  is_narrow_oop_base(void* addr)         { return (narrow_oop_base() == (address)addr); }
   346   static int      narrow_oop_shift()                  { return  _narrow_oop._shift; }
   347   static int      narrow_oop_shift()                  { return  _narrow_oop._shift; }
   347   static void     set_narrow_oop_base(address base)   { _narrow_oop._base  = base; }
   348   static void     set_narrow_oop_base(address base)   { _narrow_oop._base  = base; }
   348   static void     set_narrow_oop_shift(int shift)     { _narrow_oop._shift = shift; }
   349   static void     set_narrow_oop_shift(int shift)     { _narrow_oop._shift = shift; }
   349   static bool     narrow_oop_use_implicit_null_checks()             { return  _narrow_oop._use_implicit_null_checks; }
   350   static bool     narrow_oop_use_implicit_null_checks()             { return  _narrow_oop._use_implicit_null_checks; }
   350   static void     set_narrow_oop_use_implicit_null_checks(bool use) { _narrow_oop._use_implicit_null_checks = use; }
   351   static void     set_narrow_oop_use_implicit_null_checks(bool use) { _narrow_oop._use_implicit_null_checks = use; }