< prev index next >
src/hotspot/share/memory/universe.hpp
Print this page
*** 161,172 ****
// preallocated cause message for delayed StackOverflowError
static oop _delayed_stack_overflow_error_message;
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 obj array
! static Array<Method*>* _the_empty_method_array; // Canonicalized method obj array
static Array<Klass*>* _the_array_interfaces_array;
// array of preallocated error objects with backtrace
static objArrayOop _preallocated_out_of_memory_error_array;
--- 161,173 ----
// preallocated cause message for delayed StackOverflowError
static oop _delayed_stack_overflow_error_message;
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
! static Array<Method*>* _the_empty_method_array; // Canonicalized method array
static Array<Klass*>* _the_array_interfaces_array;
// array of preallocated error objects with backtrace
static objArrayOop _preallocated_out_of_memory_error_array;
*** 359,368 ****
--- 360,370 ----
static Array<int>* the_empty_int_array() { return _the_empty_int_array; }
static Array<u2>* the_empty_short_array() { return _the_empty_short_array; }
static Array<Method*>* the_empty_method_array() { return _the_empty_method_array; }
static Array<Klass*>* the_empty_klass_array() { return _the_empty_klass_array; }
+ static Array<InstanceKlass*>* the_empty_instance_klass_array() { return _the_empty_instance_klass_array; }
// OutOfMemoryError support. Returns an error with the required message. The returned error
// may or may not have a backtrace. If error has a backtrace then the stack trace is already
// filled in.
static oop out_of_memory_error_java_heap() { return gen_out_of_memory_error(_out_of_memory_error_java_heap); }
< prev index next >