RFR(S) 8176363: Incorrect lock order for G1 PtrQueue related locks

Kim Barrett kim.barrett at oracle.com
Thu Mar 9 18:21:36 UTC 2017


> On Mar 9, 2017, at 7:01 AM, Mikael Gerdin <mikael.gerdin at oracle.com> wrote:
> 
> Hi Kim,
> 
> On 2017-03-08 23:55, Kim Barrett wrote:
>> 
>> Not that it matters, since, as you say, the lock ranking orders are
>> still okay, but I don’t recall any free list locks while holding the
>> corresponding completed buffer lock.
> 
> Right, but the free list lock is taken when holding the corresponding shared lock.

I forgot about that!



More information about the hotspot-dev mailing list