This is the mail archive of the java-discuss@sources.redhat.com mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: Initial profiling results (was: Re: -O2 loop problems)


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]