RFR: 8253064: monitor list simplifications and getting rid of TSM [v3]
    Daniel D.Daugherty 
    dcubed at openjdk.java.net
       
    Tue Nov 10 02:35:19 UTC 2020
    
    
  
On Mon, 9 Nov 2020 23:21:48 GMT, David Holmes <dholmes at openjdk.org> wrote:
>> Daniel D. Daugherty has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   Resolve more @dholmes-ora comments with help from @fisk.
>
> src/hotspot/share/runtime/synchronizer.cpp line 89:
> 
>> 87:   ObjectMonitor* head = Atomic::load_acquire(&_head);
>> 88:   ObjectMonitor* m = head;
>> 89:   do {
> 
> This wasn't the loop I was referring to. It is the while loop below this at line 93.
The inner while loop is now converted into a do-while loop.
-------------
PR: https://git.openjdk.java.net/jdk/pull/642
    
    
More information about the hotspot-dev
mailing list