This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: need to focus on java performance?
David Daney writes:
> Bryce McKinlay wrote:
> > David Daney wrote:
> >> The calling method's address is in the standard location (as
> >> specified by the ABI), we know how to find the class given this
> >> information.
> >
> > Finding the method's address is easy enough, but what about the
> > address of the atable entry containing the pointer to the method?
> Isn't the atable part the the calling method's class? The stack trace
> infrastructure allows you to find the class of a method given an IP that
> is contained by the method.
Mmm, but it's quite expensive. It would be nice not to do unwinding
in the class initialization path.
Andrew.