This is the mail archive of the java-patches@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: RFC: stack trace info for interpreter frames


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.


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