valgrinding with java stuff active
Noel Grandin
noel at peralex.com
Fri Sep 7 06:41:08 PDT 2012
On 2012-09-07 15:29, Michael Meeks wrote:
> On Fri, 2012-09-07 at 13:30 +0100, Caolán McNamara wrote:
>> FWIW, I patched the *internal* to be valgrind friendly when G_SLICE is
>> set. So if you have to debug something where python is alive you could
>> try building against the internal python and it should "just work" with
>> your usual export VALGRIND=memcheck foo
> Oooh ! that's insanely cool :-)
>
> Was just digging through a load of false-positives there myself.
>
> Now if only we could do something similar for Java :-)
>
Does valgrind's --smc-check=all not help?
Otherwise you could turn off the VM's JIT, there is a way of doing it
from JNI. Search this page:
http://docs.oracle.com/javase/1.4.2/docs/guide/jni/jni-12.html
<http://docs.oracle.com/javase/1.4.2/docs/guide/jni/jni-12.html>
for "JIT".
Regards, Noel Grandin
Disclaimer: http://www.peralex.com/disclaimer.html
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20120907/2b969f8e/attachment-0001.html>
More information about the LibreOffice
mailing list