< prev index next >

src/hotspot/share/memory/universe.hpp

Print this page
@@ -115,10 +115,12 @@
    static LatestMethodCache* _finalizer_register_cache; // static method for registering finalizable objects
    static LatestMethodCache* _loader_addClass_cache;    // method for registering loaded classes in class loader vector
    static LatestMethodCache* _throw_illegal_access_error_cache; // Unsafe.throwIllegalAccessError() method
    static LatestMethodCache* _throw_no_such_method_error_cache; // Unsafe.throwNoSuchMethodError() method
    static LatestMethodCache* _do_stack_walk_cache;      // method for stack walker callback
+   static LatestMethodCache* _is_substitutable_cache;   // PrimitiveObjectMethods.isSubstitutable() method
+   static LatestMethodCache* _primitive_type_hash_code_cache;  // PrimitiveObjectMethods.primitiveObjectHashCode() method
  
    static Array<int>*            _the_empty_int_array;            // Canonicalized int array
    static Array<u2>*             _the_empty_short_array;          // Canonicalized short array
    static Array<Klass*>*         _the_empty_klass_array;          // Canonicalized klass array
    static Array<InstanceKlass*>* _the_empty_instance_klass_array; // Canonicalized instance klass array

@@ -146,10 +148,11 @@
    // The particular choice of collected heap.
    static CollectedHeap* _collectedHeap;
  
    static intptr_t _non_oop_bits;
  
+ 
    // array of dummy objects used with +FullGCAlot
    debug_only(static OopHandle   _fullgc_alot_dummy_array;)
    debug_only(static int         _fullgc_alot_dummy_next;)
  
    // Compiler/dispatch support

@@ -256,10 +259,13 @@
    static Method*      throw_illegal_access_error()    { return _throw_illegal_access_error_cache->get_method(); }
    static Method*      throw_no_such_method_error()    { return _throw_no_such_method_error_cache->get_method(); }
  
    static Method*      do_stack_walk_method()          { return _do_stack_walk_cache->get_method(); }
  
+   static Method*      is_substitutable_method()       { return _is_substitutable_cache->get_method(); }
+   static Method*      primitive_type_hash_code_method()  { return _primitive_type_hash_code_cache->get_method(); }
+ 
    static oop          the_null_sentinel();
    static address      the_null_sentinel_addr()        { return (address) &_the_null_sentinel;  }
  
    // Function to initialize these
    static void initialize_known_methods(TRAPS);
< prev index next >