[freenet-tech] Technology / Features

Tom Tromey tromey@redhat.com
Tue Apr 2 14:49:00 GMT 2002


>>>>> "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


More information about the Java mailing list

AltStyle によって変換されたページ (->オリジナル) /