src/hotspot/share/memory/universe.hpp
changeset 53924 09cba396916f
parent 53547 9d1a788dea3d
child 54574 7b74bbe5085b
equal deleted inserted replaced
53923:c431ab7f9e85 53924:09cba396916f
   136   static oop          _the_null_string;               // A cache of "null" as a Java string
   136   static oop          _the_null_string;               // A cache of "null" as a Java string
   137   static oop          _the_min_jint_string;          // A cache of "-2147483648" as a Java string
   137   static oop          _the_min_jint_string;          // A cache of "-2147483648" as a Java string
   138   static LatestMethodCache* _finalizer_register_cache; // static method for registering finalizable objects
   138   static LatestMethodCache* _finalizer_register_cache; // static method for registering finalizable objects
   139   static LatestMethodCache* _loader_addClass_cache;    // method for registering loaded classes in class loader vector
   139   static LatestMethodCache* _loader_addClass_cache;    // method for registering loaded classes in class loader vector
   140   static LatestMethodCache* _throw_illegal_access_error_cache; // Unsafe.throwIllegalAccessError() method
   140   static LatestMethodCache* _throw_illegal_access_error_cache; // Unsafe.throwIllegalAccessError() method
       
   141   static LatestMethodCache* _throw_no_such_method_error_cache; // Unsafe.throwNoSuchMethodError() method
   141   static LatestMethodCache* _do_stack_walk_cache;      // method for stack walker callback
   142   static LatestMethodCache* _do_stack_walk_cache;      // method for stack walker callback
   142 
   143 
   143   // preallocated error objects (no backtrace)
   144   // preallocated error objects (no backtrace)
   144   static oop          _out_of_memory_error_java_heap;
   145   static oop          _out_of_memory_error_java_heap;
   145   static oop          _out_of_memory_error_metaspace;
   146   static oop          _out_of_memory_error_metaspace;
   320 
   321 
   321   static Method*      finalizer_register_method()     { return _finalizer_register_cache->get_method(); }
   322   static Method*      finalizer_register_method()     { return _finalizer_register_cache->get_method(); }
   322   static Method*      loader_addClass_method()        { return _loader_addClass_cache->get_method(); }
   323   static Method*      loader_addClass_method()        { return _loader_addClass_cache->get_method(); }
   323 
   324 
   324   static Method*      throw_illegal_access_error()    { return _throw_illegal_access_error_cache->get_method(); }
   325   static Method*      throw_illegal_access_error()    { return _throw_illegal_access_error_cache->get_method(); }
       
   326   static Method*      throw_no_such_method_error()    { return _throw_no_such_method_error_cache->get_method(); }
   325 
   327 
   326   static Method*      do_stack_walk_method()          { return _do_stack_walk_cache->get_method(); }
   328   static Method*      do_stack_walk_method()          { return _do_stack_walk_cache->get_method(); }
   327 
   329 
   328   static oop          the_null_sentinel()             { return _the_null_sentinel;             }
   330   static oop          the_null_sentinel()             { return _the_null_sentinel;             }
   329   static address      the_null_sentinel_addr()        { return (address) &_the_null_sentinel;  }
   331   static address      the_null_sentinel_addr()        { return (address) &_the_null_sentinel;  }