problems using jhat with mlvm and jruby
Rémi Forax
forax at univ-mlv.fr
Sat Jul 31 12:08:48 PDT 2010
Le 31/07/2010 19:56, Stephen Bannasch a écrit :
> I'm not sure if jhat works with mlvm but I tried Charlie's first simple example here:
>
> http://blog.headius.com/2010/07/browsing-memory-jruby-way.html
>
> and got the following error:
>
> [dev]$ jmap -histo:live 77467
> java.lang.NullPointerException
> at java.io.File.<init>(File.java:293)
> at sun.tools.attach.BsdVirtualMachine.findSocketFile(BsdVirtualMachine.java:252)
> at sun.tools.attach.BsdVirtualMachine.<init>(BsdVirtualMachine.java:65)
> at sun.tools.attach.BsdAttachProvider.attachVirtualMachine(BsdAttachProvider.java:63)
> at com.sun.tools.attach.VirtualMachine.attach(VirtualMachine.java:213)
> at sun.tools.jmap.JMap.attach(JMap.java:296)
> at sun.tools.jmap.JMap.histo(JMap.java:218)
> at sun.tools.jmap.JMap.main(JMap.java:138)
>
> more details here: http://gist.github.com/502415
>
Is it working with regular jdk7 VM ?
Rémi
More information about the mlvm-dev
mailing list