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

Investigate memory visibility between mutator and marking threads

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Unresolved
    • Icon: P3 P3
    • tbd
    • 9
    • hotspot
    • gc

      In JDK-8164948 we found a problem between the initializing stores of HeapRegion and the concurrent marking threads.

      During that problem, the immediate issue has been discovered and fixed, but it has been stated that there might be other similar issues in the interaction between these threads.

      In particular, G1CollectedHeap::heap_region_containing() is used in many places.

      Look at the interaction between marking threads and mutator and try to find potential problems; see if the dependencies can be tightened or even removed due to alternative ways of implementing various algorithms.

      Particularly consider that at some point we may want to uncommit parts of the heap not only during full gc, but also during regular operation.

            Unassigned Unassigned
            tschatzl Thomas Schatzl
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: