[XOM-interest] Exception message "-1"

Wolfgang Hoschek whoschek at lbl.gov
Wed May 25 11:45:56 EDT 2005


You can also use the JDK 1.4 HPROF profiler, it's just that it has  
somewhat more overhead (perturbing measurements lead to misleading  
interpretation). BTW, I wouldn't recommend profiling on MacOSX with  
any profiling technology, Apple VMs (including 1.5) are rather crappy  
and the profiler results are mostly misleading.

Wolfgang.

On May 25, 2005, at 8:20 AM, John Cowan wrote:

> Wolfgang Hoschek scripsit:
>
>
>> IMHO, the least perturbing and most accurate profiler is the one
>> built into JDK 1.5. run java with
>> -server -agentlib:hprof=cpu=samples,depth=10' flags for a long enough
>> to collect enough samples to be statistically meaningful, then study
>> the trace log and correlate its hotspot trailer with its call stack
>> headers. For a background article on hprof see http://java.sun.com/
>> developer/technicalArticles/Programming/HPROF.html
>>
>
> Until there's a wider adoption of the 1.5 VM, I don't want to  
> optimize for it.
>
> -- 
> Evolutionary psychology is the theory           John Cowan
> that men are nothing but horn-dogs,             http://www.ccil.org/ 
> ~cowan
> and that women only want them for their money.  http:// 
> www.reutershealth.com
>         --Susan McCarthy (adapted)               
> jcowan at reutershealth.com
>




More information about the XOM-interest mailing list