RFC: stack trace info for interpreter frames
Andrew Haley
aph@cambridge.redhat.com
Thu Sep 5 06:17:00 GMT 2002
Anthony Green writes:
> On Wed, 2002-08-28 at 13:20, Tom Tromey wrote:
> > * Is the technique of putting dummy functions before and after the
> > interpreter function portable enough? It works ok for me on my
> > Linux box, but that's hardly definitive. (If not this approach,
> > then what?)
>
> I don't think we should count on this when people may compile with
> -ffunction-sections, giving the linker an easy opportunity to reorder
> functions.
The way to fix this is to put all the interpreter code in its own
section, with markers at the top and bottom.
> The approach I've take in my security model experiments is to register a
> PC region when the method's closure is created. I'll try to finish my
> patches this week.
Well, that's an interesting approach.
Andrew.
More information about the Java-patches
mailing list