[BC ABI] For entertainment purposes only: gcj-JIT
Bryce McKinlay
mckinlay@redhat.com
Sat Aug 14 14:39:00 GMT 2004
David Daney wrote:
>It has been a little while since I read the details about the BC ABI so
>I could be a bit off base, but I was thinking that:
>
>Could you have all uninitialized atable entries point to invalid memory
>(perhaps NULL) so that they could be fixed up by the SIGSEGV handler?
>
>The disadvantage of this technique is that signals might have more
>overhead than a function call.
>
Another disadvantage is that SEGVs would become a normal part of program
execution, so to debug you'd have to disable stopping on segv in GDB.
That would make it hard to see where the real SEGVs are ;-)
Regards
Bryce
More information about the Java-patches
mailing list