mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 07:14:30 +02:00
6694099: Hotspot vm_exit_out_of_memory should dump core
This fix enables the generation of core file when process runs out of C-heap. Reviewed-by: sbohne
This commit is contained in:
parent
69eb2b72c6
commit
1f819855d5
4 changed files with 16 additions and 8 deletions
|
@ -208,7 +208,9 @@ void report_vm_out_of_memory(const char* file_name, int line_no, size_t size, co
|
|||
Thread* thread = ThreadLocalStorage::get_thread_slow();
|
||||
VMError(thread, size, message, file_name, line_no).report_and_die();
|
||||
}
|
||||
vm_abort();
|
||||
|
||||
// Dump core and abort
|
||||
vm_abort(true);
|
||||
}
|
||||
|
||||
void report_vm_out_of_memory_vararg(const char* file_name, int line_no, size_t size, const char* format, ...) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue