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

Mark objects from copying thread during Initial Mark

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Unresolved
    • Icon: P2 P2
    • tbd
    • 10
    • hotspot
    • None
    • gc
    • generic
    • generic

      This RFE is to properly fix JDK-8186035 and reinstate the assert that was removed.

      During initial marking, multiple threads might race
      to copy an object and they will all try to mark the new copy if it ends
      up in the old gen. In the marking code, there there used to be an assert that the
      object should be valid. However, only the thread that won the race to
      copying the object is allowed to read the contents of the 'to' copy, and
      all other threads might see garbage and could fail on this assert.

            Unassigned Unassigned
            stefank Stefan Karlsson
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: