hprof broke?

Daniel D. Daugherty daniel.daugherty at oracle.com
Mon Nov 14 15:35:03 PST 2011


The jvm.hprof.txt file should live in $JAVA_HOME/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/rhino1_7R3/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?


More information about the macosx-port-dev mailing list