src/hotspot/share/memory/universe.hpp
changeset 51329 9c68699bebe5
parent 49481 8d02d496e785
child 51530 1f0b605bdc28
equal deleted inserted replaced
51328:fad2334b2906 51329:9c68699bebe5
   159   static oop          _out_of_memory_error_realloc_objects;
   159   static oop          _out_of_memory_error_realloc_objects;
   160 
   160 
   161   // preallocated cause message for delayed StackOverflowError
   161   // preallocated cause message for delayed StackOverflowError
   162   static oop          _delayed_stack_overflow_error_message;
   162   static oop          _delayed_stack_overflow_error_message;
   163 
   163 
   164   static Array<int>*       _the_empty_int_array;    // Canonicalized int array
   164   static Array<int>*            _the_empty_int_array;            // Canonicalized int array
   165   static Array<u2>*        _the_empty_short_array;  // Canonicalized short array
   165   static Array<u2>*             _the_empty_short_array;          // Canonicalized short array
   166   static Array<Klass*>*  _the_empty_klass_array;  // Canonicalized klass obj array
   166   static Array<Klass*>*         _the_empty_klass_array;          // Canonicalized klass array
   167   static Array<Method*>* _the_empty_method_array; // Canonicalized method obj array
   167   static Array<InstanceKlass*>* _the_empty_instance_klass_array; // Canonicalized instance klass array
       
   168   static Array<Method*>*        _the_empty_method_array;         // Canonicalized method array
   168 
   169 
   169   static Array<Klass*>*  _the_array_interfaces_array;
   170   static Array<Klass*>*  _the_array_interfaces_array;
   170 
   171 
   171   // array of preallocated error objects with backtrace
   172   // array of preallocated error objects with backtrace
   172   static objArrayOop   _preallocated_out_of_memory_error_array;
   173   static objArrayOop   _preallocated_out_of_memory_error_array;
   355   static oop          reference_pending_list();
   356   static oop          reference_pending_list();
   356   static void         set_reference_pending_list(oop list);
   357   static void         set_reference_pending_list(oop list);
   357   static bool         has_reference_pending_list();
   358   static bool         has_reference_pending_list();
   358   static oop          swap_reference_pending_list(oop list);
   359   static oop          swap_reference_pending_list(oop list);
   359 
   360 
   360   static Array<int>*       the_empty_int_array()    { return _the_empty_int_array; }
   361   static Array<int>*             the_empty_int_array()    { return _the_empty_int_array; }
   361   static Array<u2>*        the_empty_short_array()  { return _the_empty_short_array; }
   362   static Array<u2>*              the_empty_short_array()  { return _the_empty_short_array; }
   362   static Array<Method*>* the_empty_method_array() { return _the_empty_method_array; }
   363   static Array<Method*>*         the_empty_method_array() { return _the_empty_method_array; }
   363   static Array<Klass*>*  the_empty_klass_array()  { return _the_empty_klass_array; }
   364   static Array<Klass*>*          the_empty_klass_array()  { return _the_empty_klass_array; }
       
   365   static Array<InstanceKlass*>*  the_empty_instance_klass_array() { return _the_empty_instance_klass_array; }
   364 
   366 
   365   // OutOfMemoryError support. Returns an error with the required message. The returned error
   367   // OutOfMemoryError support. Returns an error with the required message. The returned error
   366   // may or may not have a backtrace. If error has a backtrace then the stack trace is already
   368   // may or may not have a backtrace. If error has a backtrace then the stack trace is already
   367   // filled in.
   369   // filled in.
   368   static oop out_of_memory_error_java_heap()          { return gen_out_of_memory_error(_out_of_memory_error_java_heap);  }
   370   static oop out_of_memory_error_java_heap()          { return gen_out_of_memory_error(_out_of_memory_error_java_heap);  }