Quick question
Tom Rodriguez
Thomas.Rodriguez at Sun.COM
Thu Feb 26 09:09:19 PST 2009
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/
More information about the hotspot-dev
mailing list