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

Shenandoah: global marking context completeness is not accurately maintained

XMLWordPrintable

    • gc

      In Genshen impl, there are 4 marking completeness flags:
      ```
      ShenandoahMarkingContext::_is_complete
      ShenandoahGlobalGeneration::_is_marking_complete
      ShenandoahYoungGeneration::_is_marking_complete
      ShenandoahOldGeneration::_is_marking_complete
      ```

      The ShenandoahMarkingContext::_is_complete should be in sync with ShenandoahGlobalGeneration::_is_marking_complete, but current code seems broken, ShenandoahMarkingContext::_is_complete is set to true in ShenandoahHeap::initialize but never reset in any other places.

       

            xpeng Xiaolong Peng
            xpeng Xiaolong Peng
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: