Mercurial > hg > truffle
comparison src/share/vm/memory/universe.hpp @ 20705:d3f3f7677537
6898462: The escape analysis with G1 cause crash assertion src/share/vm/runtime/vframeArray.cpp:94
Summary: OOM during reallocation of scalar replaced objects in deoptimization causes crashes
Reviewed-by: kvn, jrose
author | roland |
---|---|
date | Tue, 25 Nov 2014 17:33:59 +0100 |
parents | fa6c442c59ee |
children |
comparison
equal
deleted
inserted
replaced
20704:8c08b28b7eee | 20705:d3f3f7677537 |
---|---|
155 static oop _out_of_memory_error_java_heap; | 155 static oop _out_of_memory_error_java_heap; |
156 static oop _out_of_memory_error_metaspace; | 156 static oop _out_of_memory_error_metaspace; |
157 static oop _out_of_memory_error_class_metaspace; | 157 static oop _out_of_memory_error_class_metaspace; |
158 static oop _out_of_memory_error_array_size; | 158 static oop _out_of_memory_error_array_size; |
159 static oop _out_of_memory_error_gc_overhead_limit; | 159 static oop _out_of_memory_error_gc_overhead_limit; |
160 static oop _out_of_memory_error_realloc_objects; | |
160 | 161 |
161 static Array<int>* _the_empty_int_array; // Canonicalized int array | 162 static Array<int>* _the_empty_int_array; // Canonicalized int array |
162 static Array<u2>* _the_empty_short_array; // Canonicalized short array | 163 static Array<u2>* _the_empty_short_array; // Canonicalized short array |
163 static Array<Klass*>* _the_empty_klass_array; // Canonicalized klass obj array | 164 static Array<Klass*>* _the_empty_klass_array; // Canonicalized klass obj array |
164 static Array<Method*>* _the_empty_method_array; // Canonicalized method obj array | 165 static Array<Method*>* _the_empty_method_array; // Canonicalized method obj array |
326 static oop out_of_memory_error_java_heap() { return gen_out_of_memory_error(_out_of_memory_error_java_heap); } | 327 static oop out_of_memory_error_java_heap() { return gen_out_of_memory_error(_out_of_memory_error_java_heap); } |
327 static oop out_of_memory_error_metaspace() { return gen_out_of_memory_error(_out_of_memory_error_metaspace); } | 328 static oop out_of_memory_error_metaspace() { return gen_out_of_memory_error(_out_of_memory_error_metaspace); } |
328 static oop out_of_memory_error_class_metaspace() { return gen_out_of_memory_error(_out_of_memory_error_class_metaspace); } | 329 static oop out_of_memory_error_class_metaspace() { return gen_out_of_memory_error(_out_of_memory_error_class_metaspace); } |
329 static oop out_of_memory_error_array_size() { return gen_out_of_memory_error(_out_of_memory_error_array_size); } | 330 static oop out_of_memory_error_array_size() { return gen_out_of_memory_error(_out_of_memory_error_array_size); } |
330 static oop out_of_memory_error_gc_overhead_limit() { return gen_out_of_memory_error(_out_of_memory_error_gc_overhead_limit); } | 331 static oop out_of_memory_error_gc_overhead_limit() { return gen_out_of_memory_error(_out_of_memory_error_gc_overhead_limit); } |
332 static oop out_of_memory_error_realloc_objects() { return gen_out_of_memory_error(_out_of_memory_error_realloc_objects); } | |
331 | 333 |
332 // Accessors needed for fast allocation | 334 // Accessors needed for fast allocation |
333 static Klass** boolArrayKlassObj_addr() { return &_boolArrayKlassObj; } | 335 static Klass** boolArrayKlassObj_addr() { return &_boolArrayKlassObj; } |
334 static Klass** byteArrayKlassObj_addr() { return &_byteArrayKlassObj; } | 336 static Klass** byteArrayKlassObj_addr() { return &_byteArrayKlassObj; } |
335 static Klass** charArrayKlassObj_addr() { return &_charArrayKlassObj; } | 337 static Klass** charArrayKlassObj_addr() { return &_charArrayKlassObj; } |