RFA: Changes to interpreter to avoid non-debugging slowdown
Kyle Galloway
kgallowa@redhat.com
Tue Aug 15 20:40:00 GMT 2006
Tom Tromey wrote:
>>>>>> "Kyle" == Kyle Galloway <kgallowa@redhat.com> writes:
>>>>>>
>
> Kyle> I decided to isolate the split from any extra stuff that needs to be
> Kyle> added by doing it in 2 seperate patches. Once this one goes in, I
> Kyle> will submit another to fill in DEBUG_LOCALS_INSN for the debugging
> Kyle> case.
>
> Great.
>
> This patch is ok, please commit... if you don't have write access,
> let's set that up -- send me email.
>
> Tom
>
Comitted.
2006-08-15 Kyle Galloway <kgallowa@redhat.com>
* include/java-interp.h (_Jv_InterpMethod::run_debug): New method.
* interpret.cc: Added placeholder for debug variable type info to STORE*
macros.
(_Jv_InterpMethod::run_debug): New method.
(_Jv_InterpMethod::run_sync_object_debug): New method.
(_Jv_InterpMethod::run_sync_class_debug): New method.
(_Jv_InterpMethod::run_normal_debug): New method.
(_Jv_InterpMethod::run_class_debug): New method.
(_Jv_InterpMethod::ncode ()): Changed to select either debug or normal
versions of these functions.
* interpret-run.cc: New file, holds contents of old
_Jv_InterpMethod::run
method.
* stacktrace.cc (_Jv_StackTrace::UnwindTraceFn): Changed to select
appropriate function for debug or normal mode.
More information about the Java-patches
mailing list