This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: Wrestling with exceptions on win32 gcj 4.1
- From: Ranjit Mathew <rmathew at gmail dot com>
- To: Darius <dpr at aha dot lt>
- Cc: java at gcc dot gnu dot org
- Date: Fri, 07 Apr 2006 19:25:52 +0530
- Subject: Re: Wrestling with exceptions on win32 gcj 4.1
- Openpgp: url=http://ranjitmathew.hostingzero.com/aa_6C114B8F.txt
- References: <4435294D.8010800@gmail.com> <003c01c65a38$3e481e60$8801a8c0@lirosta.local>
-----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-----