hprof broke?
Kelly O'Hair
kelly.ohair at oracle.com
Mon Nov 14 16:33:06 PST 2011
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 $JAVA_HOME
> $ 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 $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