src/share/vm/memory/universe.hpp

Print this page

        

*** 156,165 **** --- 156,168 ---- static oop _out_of_memory_error_class_metaspace; static oop _out_of_memory_error_array_size; static oop _out_of_memory_error_gc_overhead_limit; static oop _out_of_memory_error_realloc_objects; + // 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
*** 334,343 **** --- 337,347 ---- static oop out_of_memory_error_metaspace() { return gen_out_of_memory_error(_out_of_memory_error_metaspace); } static oop out_of_memory_error_class_metaspace() { return gen_out_of_memory_error(_out_of_memory_error_class_metaspace); } static oop out_of_memory_error_array_size() { return gen_out_of_memory_error(_out_of_memory_error_array_size); } static oop out_of_memory_error_gc_overhead_limit() { return gen_out_of_memory_error(_out_of_memory_error_gc_overhead_limit); } static oop out_of_memory_error_realloc_objects() { return gen_out_of_memory_error(_out_of_memory_error_realloc_objects); } + static oop delayed_stack_overflow_error_message() { return _delayed_stack_overflow_error_message; } // Accessors needed for fast allocation static Klass** boolArrayKlassObj_addr() { return &_boolArrayKlassObj; } static Klass** byteArrayKlassObj_addr() { return &_byteArrayKlassObj; } static Klass** charArrayKlassObj_addr() { return &_charArrayKlassObj; }