Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-6445411

VMOperationsQueue isn't protected from concurrent modification during oop_do iteration

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Not an Issue
    • Affects Version/s: 6
    • Fix Version/s: 10
    • Component/s: hotspot
    • Subcomponent:
    • CPU:
      generic
    • OS:
      generic

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                coleenp Coleen Phillimore
                Reporter:
                dholmes David Holmes
              • Votes:
                0 Vote for this issue
                Watchers:
                8 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: