From: Robert A Duff <bobduff@shell01.TheWorld.com>
Subject: Re: Does GNAT support a thread-free RTS?
Date: Mon, 12 Sep 2011 09:01:17 -0400
Date: 2011-09-12T09:01:17-04:00 [thread overview]
Message-ID: <wccehzl7w4i.fsf@shell01.TheWorld.com> (raw)
In-Reply-To: 9a41811f-086a-4447-a3c7-6144f68c16b4@et6g2000vbb.googlegroups.com
Ludovic Brenta <ludovic@ludovic-brenta.org> writes:
> - sjlj aka setjump/longjump, which is the alternative, in which every
> frame
> that might possibly raise an exception calls setjmp(3), thus
^^^^^
You meant "handle".
> incurring
> distributed cost, and raising an exception calls longjmp(3), which
> is
> cheap compared to the raising of an exception with ZCX. sjlj is the
> only
> supported run-time system on a few, non-mainstream architectures.
Right. ZCX is the "right" way to implement exception handling,
because raising exceptions is rare, whereas exception handlers
(and finalizable objects) are not-so-rare, so you want to pay the
cost on the raise.
- Bob
next prev parent reply other threads:[~2011-09-12 13:01 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-09-10 15:19 Does GNAT support a thread-free RTS? Simon Wright
2011-09-11 8:20 ` J-P. Rosen
2011-09-11 9:22 ` John B. Matthews
2011-09-11 9:49 ` anon
2011-09-11 10:29 ` Pascal Obry
2011-09-12 0:33 ` anon
2011-09-12 7:27 ` Simon Wright
2011-09-12 9:26 ` Ludovic Brenta
2011-09-12 9:49 ` Ludovic Brenta
2011-09-13 1:22 ` anon
2011-09-12 13:01 ` Robert A Duff [this message]
2011-09-11 10:36 ` Simon Wright
2011-09-12 7:19 ` Ludovic Brenta
2011-09-12 23:22 ` Rugxulo
2011-09-13 7:03 ` Ludovic Brenta
2011-09-13 7:55 ` Ludovic Brenta
2011-09-13 8:30 ` Simon Wright
2011-09-13 9:39 ` Georg Bauhaus
2011-09-13 12:18 ` Dmitry A. Kazakov
2011-09-13 14:02 ` Robert A Duff
2011-09-13 16:35 ` Dmitry A. Kazakov
2011-09-13 16:54 ` Georg Bauhaus
2011-09-13 20:35 ` Dmitry A. Kazakov
2011-09-13 21:22 ` Georg Bauhaus
2011-09-14 7:58 ` Dmitry A. Kazakov
2011-09-13 10:57 ` Peter C. Chapin
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox