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: Wrestling with exceptions on win32 gcj 4.1


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Darius wrote:
> 
> Is there any way to fill start_ip with correct method start address
> using SJLJ exceptions?

I don't know about that, but addr2line used to be used for
printing source line numbers from IPs in stack traces. c++-filt
was used for printing out demangled names for Java classes
and methods. So there might still be a way of doing this
for stack traces at least, but probably not for the security
infrastructure.

However, I still maintain that someone should put in the
effort to move Windows over to DWARF-2 EH instead of
SJLJ. Especially in a language like Java where user and
library code throw exceptions wily-nily, you must have an
efficient exception handling mechanism otherwise you'll
seriously hurt your programme's performance.

My 2p.

Ranjit.

- --
Ranjit Mathew       Email: rmathew AT gmail DOT com

Bangalore, INDIA.     Web: http://rmathew.com/




-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFENm9oYb1hx2wRS48RAhx3AJ4wiR2+t9P3+HRCQVWUeUXI5Yr3MACgj0LZ
Laa6m+N1d6NNEL0qlyNEJ4U=
=kf5i
-----END PGP SIGNATURE-----


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