backtrace() vs. _Unwind_Backtrace()
Tom Tromey
tromey@redhat.com
Sat Dec 6 00:18:00 GMT 2003
>>>>> "Andrew" == Andrew Haley <aph@redhat.com> writes:
>> On the topic of backtrace performance: I'm always looking for good
>> test-cases that stress performance. Can you suggest a good
>> artificial or real-world Java test-program that is sensitive to
>> backtrace() performance?
Andrew> Not yet, beacuse we I think don't have a fully working security
Andrew> infrastructure for libgcj.
I don't think we need the security stuff to see the impact of
backtrace. We also use this code to find the caller's class and hence
the class loader to use for things like Class.forName().
I'd imagine a program like eclipse that uses class loaders heavily
would be sensitive to the performance of backtrace. But I haven't
really checked, that is just supposition.
Tom
More information about the Java
mailing list