Eclipse vs gij/libgcj, unit-at-a-time, -O2 and -O
Bryce McKinlay
bryce@mckinlay.net.nz
Wed Dec 3 00:55:00 GMT 2003
On Nov 30, 2003, at 9:40 AM, Jeff Sturm wrote:
> So the eclipse code calls the single-argument Class.forName(), which
> walks
> the stack frame to find a loader and fails, presumably because
> _Jv_StartOfInterpreter and _Jv_EndOfInterpreter no longer surround the
> _Jv_InterpMethod::run method in generated code.
>
> 00000680 T _Z22_Jv_StartOfInterpreterv
> 00000690 T _Z20_Jv_EndOfInterpreterv
> 000006e0 T _ZN16_Jv_InterpMethod3runEPvP7ffi_raw
>
> I guess we could force interpret.o to be built with -fno-unit-at-a-time
> unless someone has a better idea.
My stack-trace patch will fix this. It uses the DWARF unwinder to
detect interpreter frames, and the _Jv_StartOfInterpreter etc will go
away.
Regards
Bryce.
More information about the Java
mailing list