<html>
  <head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <br>
    <div class="moz-cite-prefix">On 2012-09-07 15:29, Michael Meeks
      wrote:<br>
    </div>
    <blockquote cite="mid:1347024576.3840.97.camel@linux-d2lh.site"
      type="cite">
      <pre wrap="">
On Fri, 2012-09-07 at 13:30 +0100, Caolán McNamara wrote:
</pre>
      <blockquote type="cite">
        <pre wrap="">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
</pre>
      </blockquote>
      <pre wrap="">
        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 :-)

</pre>
    </blockquote>
    <br>
    <br>
    Does valgrind's --smc-check=all not help?<br>
    <br>
    Otherwise you could turn off the VM's JIT, there is a way of doing
    it from JNI. Search this page:<br>
    <a
      href="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</a><br>
    for "JIT".<br>
    <br>
    Regards, Noel Grandin<br>
    <br>
    <span style="color: rgb(34, 34, 34); font-family: arial, sans-serif;
      font-size: small; font-style: normal; font-variant: normal;
      font-weight: normal; letter-spacing: normal; line-height: 16px;
      orphans: 2; text-align: left; text-indent: 0px; text-transform:
      none; white-space: normal; widows: 2; word-spacing: 0px;
      -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;
      background-color: rgb(255, 255, 255); display: inline !important;
      float: none; "></span>
  <br><br><br><hr><font size="-2" color=808080>Disclaimer: <a href="http://www.peralex.com/disclaimer.html">http://www.peralex.com/disclaimer.html</a><br><br>

</body>
</html>