Quick question
Gary Benson
gbenson at redhat.com
Fri Feb 27 01:59:47 PST 2009
Ah, I forgot about asynchronous exceptions...
Thanks,
Gary
Tom Rodriguez wrote:
> Async exceptions can be delivered to a thread during a safepoint so
> yes you need to check for a pending exception. Check out
> JavaThread::check_and_handle_async_exceptions and
> JavaThread::handle_special_runtime_exit_condition and
> generate_handler_blob in sharedRuntime_<arch>.cpp. Generally
> speaking if you call into the runtime for any reason you should be
> checking for pending exceptions.
>
> tom
>
> On Feb 26, 2009, at 6:47 AM, Gary Benson wrote:
> > Hi all,
> >
> > A quick question: is it necessary to check for pending exceptions
> > after calling SafepointSynchronize::block?
> >
> > Cheers,
> > Gary
> >
> > --
> > http://gbenson.net/
--
http://gbenson.net/
More information about the hotspot-dev
mailing list