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

Mark objects from copying thread during Initial Mark

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Open
    • Priority: P2
    • Resolution: Unresolved
    • Affects Version/s: 10
    • Fix Version/s: tbd
    • Component/s: hotspot
    • Labels:
      None
    • Subcomponent:
      gc
    • CPU:
      generic
    • OS:
      generic

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated: