Running hotspot with valgrind to detect memory leak?

Sandeep Konchady Sandeep.Konchady at Sun.COM
Sun May 20 20:27:59 PDT 2007


Hi,

    Extending what Neo Jia ran on JVM, I tested OpenJDK VM with Valgrind 
using MemoryMonitor demo. To my surprise I got a HotSpot crash in 
nmethod.cpp. I am attaching hs_err log file to this email and can give 
the Valgrind log if needed. Also I was unable to find similar report on 
SDN bug database.

#  Internal Error (nmethod.cpp:1822), pid=6946, tid=80788368
#  Error: guarantee(cont_offset != 0,"unhandled implicit exception in 
compiled code")

Thanks,
Sandeep

Neo Jia wrote:
> hi,
>
> For fun, I just ran the hotspot vm with valgrind memory checking. To
> my surprise, valgrind has identified several "memory leak" inside vm.
> Although there might be some false positive, I still would like to dig
> a little bit.
>
> For your reference, you may get the log file from the following link
> since it is too huge to send through a mailing list. This tiny log
> file is generated by running helloworld.java.
>
> http://neoworld.unl.edu/~cjia/openJDK/valgrind_hotspot_helloworld/valgrind_java_helloworld.30666 
>
> http://neoworld.unl.edu/~cjia/openJDK/valgrind_hotspot_helloworld/valgrind_java_helloworld.30666.1 
>
>
> Thanks,
> Neo

-------------- next part --------------
A non-text attachment was scrubbed...
Name: hs_err_pid6946.log
Type: text/x-log
Size: 31673 bytes
Desc: not available
Url : http://mail.openjdk.java.net/pipermail/hotspot-dev/attachments/20070520/49e6b5f2/attachment.bin 


More information about the hotspot-dev mailing list