>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 ?
I updated my build scripts so I'm building both 1.7.0 to 1.7.0-mlvm. I also updated my pickjdk bash function to easily switch from 1.7.0 to 1.7.0-mlvm. The same error occurs in 1.7.0 _______________________________________________ mlvm-dev mailing list mlvm-dev@openjdk.java.net http://mail.openjdk.java.net/mailman/listinfo/mlvm-dev