hprof broke? (original) (raw)
Henri Gomez henri.gomez at gmail.com
Tue Nov 15 06:40:09 PST 2011
- Previous message: hprof broke?
- Next message: hprof broke?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
I confirm "jvm.hprof.txt" is installed on correct location for openjdk-osx-build releases :
/Library/Java/JavaVirtualMachines/1.7.0.jdk/Contents/Home/jre/lib/jvm.hprof.txt
And it works for me like this.
2011/11/15 Charles K Pepperdine <kirk at kodewerk.com>:
very nicely!
Kirk On Nov 15, 2011, at 1:33 AM, Kelly O'Hair wrote:
hprof actually works on the Mac? I'm amazed. ;^)
-kto On Nov 14, 2011, at 3:47 PM, Daniel D. Daugherty wrote:
Another work around is:
$ cd $JAVAHOME $ ln -s jre/lib/jvm.hprof.txt jre/jvm.hprof.txt Dan
On 11/14/11 4:43 PM, Michael Hall wrote: Ah, sorry, missed how recent the resolution was. I'll look for it in the next developer preview. Copying the file seems a workaround for now anyhow. On Nov 14, 2011, at 5:35 PM, Daniel D. Daugherty wrote: The jvm.hprof.txt file should live in $JAVAHOME/jre/lib/jvm.hprof.txt.
I believe that the attached changeset from Roger fixes the issue. Dan
On 11/14/11 4:26 PM, Michael Hall wrote: Sorry for following up on my own but after doing a 'locate' cp /Library/Java/JavaVirtualMachines/JDK1.7.0.jdk/Contents/Home/jre/lib/jvm.hprof.txt /Library/Java/JavaVirtualMachines/JDK1.7.0.jdk/Contents/Home/jre/jvm.hprof.txt localhost:~ mjh$ java -Djava.security.manager -Djava.security.policy=/Users/mjh/all.policy -Dapp=CommandWrap.app -agentlib:hprof=heap=sites -Dconsole=pane -Dapple.laf.useScreenMenuBar=true -Djruby.home=/Volumes/mbvol/jruby-1.6.0.RC3 -cp halfpipe.jar:/Volumes/mbvol/jruby-1.6.0.RC3/lib/jruby.jar:/Volumes/mbvol/rhino17R3/js.jar org.cmdline.CommandLine Error: Could not find or load main class org.cmdline.CommandLine Dumping allocation sites ... done. Yeah, I was in the wrong directory to begin with. It appears jvm.hprof.txt is too? s/b jre/lib?
- Previous message: hprof broke?
- Next message: hprof broke?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]