[MinGW] RFC/RFA: Get Partial Stack Traces on Windows

Bryce McKinlay mckinlay@redhat.com
Wed Jul 5 16:07:00 GMT 2006


Ranjit Mathew wrote:
> Yes. I realise that my testing was always with static
> methods. :-(
>
> Perhaps we should try to resurrect the c++filt bit in
> NameFinder for such severely crippled targets...

Using dlsym/c++filt is a poor solution because it is slow and relies on 
a binary which (windows) users are not likely to have installed. Even if 
we were to parse the method symbols directly, this approach is not 
usable for security and calling-class checks.

A better solution, I think, would be to add a "method length" field to 
class metadata. This would mean that we could build a data structure of 
IP ranges and use that to find the method based just on the IP. A little 
tricky for CNI methods, though.

Bryce



More information about the Java-patches mailing list