Running hotspot with valgrind to detect memory leak?

Neo Jia neojia at gmail.com
Sun May 20 22:50:50 PDT 2007


On 5/20/07, Sandeep Konchady <Sandeep.Konchady at sun.com> wrote:
> 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")

Sandeep,

Is there anything interesting in the valgrind log file?

Thanks,
Neo

>
> 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
>
>
>


-- 
I would remember that if researchers were not ambitious
probably today we haven't the technology we are using!



More information about the hotspot-dev mailing list