hprof broke? (original) (raw)
Daniel D. Daugherty daniel.daugherty at oracle.com
Mon Nov 14 15:35:03 PST 2011
- Previous message: hprof broke?
- Next message: hprof broke?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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/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 ]