Initial profiling results (was: Re: -O2 loop problems)
Jeff Sturm
jsturm@detroit.appnet.com
Fri Jan 5 10:11:00 GMT 2001
On Thu, 4 Jan 2001, Anthony Green wrote:
> $ LD_PRELOAD=measure.so MONITORPROF_OUTPUT=output.txt MyProgram
>> Then read output.txt. This one measures _Jv_MonitorEnter. (Thanks to Ulrich
> Drepper - my source of all things glibc-ish)
[...]
That's a nice trick. Thanks!
I wonder how portable the dlsym(RTLD_NEXT,...) usage is. That's a lot
cleaner than what boehm-gc is doing now to override dlopen().
Jeff
More information about the Java
mailing list