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: [freenet-tech] Technology / Features


>>>>> "David" == David Mosberger <davidm@napali.hpl.hp.com> writes:

Tom> Anyway, our interpreter is a pretty standard bytecode
Tom> interpreter.  The PC ranges reported on the stack will always
Tom> be in one particular method.  We'd need to be able to specify
Tom> the real underlying class/method name on a per-thread basis.

David> Hmmh, the LSDA is associated with a particular code range, so
David> it's not per thread.  I'm not sure the LSDA would buy you much
David> more than a way to identify a particular frame as being an
David> interpreter frame.  If so, there are probably easier ways to
David> accomplish this.

I guess what we can do is have our interpreter generate more
information.  We can stack-allocate a frame descriptor that has
information about a given interpreter frame's class and method.  Then
we can link these together and put the information into a per-thread
variable.  Our unwinder can then look in this data structure when it
finds an interpreter frame.

Tom


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