stack trace demangling

Bryce McKinlay mckinlay@redhat.com
Thu Sep 30 21:08:00 GMT 2004


DHollenbeck wrote:

> What program or library does the demangling of a Java stack trace?
>
> On my embedded system, I see an ugly stack trace. On my desktop system 
> I see a pretty stack trace (demangled).
>
> What causes this?

In some versions and circumstances, libgcj calls c++filt to demangle raw 
symbol names for the stack trace. Perhaps you don't have c++filt 
installed on your embedded system. However, recent versions of libgcj 
should already be looking up the class/method for stack trace elements 
and using class metadata, not the C++-style symbol. In the future, we'll 
be using the later technique exclusively.

Bryce




More information about the Java mailing list