RFR: 8273695: Safepoint deadlock on VMOperation_lock
Daniel D.Daugherty
dcubed at openjdk.java.net
Tue Sep 21 19:55:45 UTC 2021
On Tue, 21 Sep 2021 19:38:32 GMT, Robbin Ehn <rehn at openjdk.org> wrote:
>> Also, do you need a call to `update_poll_values(thread)` here
>> before the `cross_modify_fence()` call?
>
> Fixed.
>
> No, we do not need to update it.
> But maybe we want to, to avoid hitting poll-sites.
> The reason not to do it is that it is preferable to have the plain query should_process() not having side-effects.
>
> I need to think about that, thanks for bringing that up.
Hmmm... good point about `should_process()` not having side effects.
-------------
PR: https://git.openjdk.java.net/jdk/pull/5613
More information about the hotspot-runtime-dev
mailing list