Relates :
|
The hotspot built-in heap dumper now includes the stack traces in the heap dump (see 6306922). The OutOfMemoryError is preallocated by the VM and the stack trace is filled after the heap dump. So the stack traces have no indication which thread is throwing the OOME. It would be very helpful for diagnosing the OOME problem if tools like VisualVM can show which thread throwing OOME from the heap dump when +HeapDumpOnOutOfMemoryError is set.
|