RFR: 8257831: Suspend with handshakes [v8]

Robbin Ehn rehn at openjdk.java.net
Thu Apr 15 07:14:21 UTC 2021


On Wed, 14 Apr 2021 16:30:56 GMT, Daniel D. Daugherty <dcubed at openjdk.org> wrote:

>> Robbin Ehn has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   Fixed flag undef dep + spelling error
>
> src/hotspot/share/runtime/objectMonitor.cpp line 972:
> 
>> 970: 
>> 971:       current->frame_anchor()->make_walkable(current);
>> 972:       OrderAccess::storestore();
> 
> Repeating this comment since my original is marked resolved, but I'm not seeing
> a new comment here. I originally pointed this out in the resolved conversation,
> but that doesn't make the comment show up in the review emails.
> 
> Needs a comment explaining what the memory sync is for.

I seem to have fixed 2 of out 3.

> src/hotspot/share/runtime/objectMonitor.cpp line 1559:
> 
>> 1557:         if (_succ == current) {
>> 1558:             _succ = NULL;
>> 1559:             OrderAccess::fence();
> 
> My original comment is marked "fixed", but I don't see the new comment:
> 
> Please add a comment to this line:
> OrderAccess::fence(); // always do a full fence when successor is cleared

I fixed the one at line 982, it was not clear there were two from your comment :) Fixed

-------------

PR: https://git.openjdk.java.net/jdk/pull/3191


More information about the serviceability-dev mailing list