Duplicate :
|
The VMOperationsQueue is protected from modification by the VMOperationsQueue_lock, but during GC iteration of oops, the queue's oops_do method is called to iterate through the queue, without the lock being held. This means the queue could be modified concurrently with the iteration. This could lead to corruption of the queue and/or the newly added operation being missed in the iteration.
|