This is the mail archive of the java@gcc.gnu.org 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]
Other format: [Raw text]

Re: The cost of stack traces


On Wed, 2006-05-10 at 18:01 -0400, Andrew Haley wrote:
> Yes.  All we have to do is keep a table that maps IP address -> filename.

To be more explicit, one idea would be to walk the stack backwards until
we find something "familiar" (using some heuristic for determining what
is familiar or not), and then simply using memcmp on the rest of the
stack, to see if it's what we think it is.

AG



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