Help me with crash report, please

Tom Rodriguez tom.rodriguez at oracle.com
Wed Mar 14 10:35:40 PDT 2012


Try -XX:+VerifyBeforeGC to maybe get some more hints about what went wrong.

tom

On Mar 14, 2012, at 3:59 AM, Mikael Gerdin wrote:

> Hi Andrew,
> I was able to decode the jvm.dll stack trace using an internal tool and it appears that you're crashing in DefNewGeneration::copy_to_survivor_space
> and coming from GenCollectorPolicy::satisfy_failed_allocation (a few frames up).
> 
> This suggests that the VM is performing a GC and has come across a java object that has been tampered with somehow. It is likely that you've caused this using Unsafe (that's why it's called Unsafe :).
> The VM tries to follow pointers at the "header" of a java object and if somebody has inadvertently written over an object with other data dereferencing that pointer will crash the VM.
> 
> The reason that it's not crashing in your thread is that the VM runs garbage collections on separate threads.
> 
> Regards
> Mikael Gerdin
> 
> On 2012-03-14 10:56, Andrew Kondratovich wrote:
>> Hi, can anybody help me with crash_report: https://gist.github.com/2035472
>> 
>> Error not in mine thread. I'm using Unsafe, but working with allocated
>> memory regions.
>> 
>> Thanks
>> 



More information about the hotspot-runtime-dev mailing list