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

GenShen: census during marking is partial

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P4
    • repo-shenandoah
    • repo-shenandoah
    • hotspot

    Description

      There was a bug in the placement of the call to clear stale census data before starting a fresh one for a new marking cycle that marks through the younger generation. This bug resulted in the use of a co-terminal suffix of the census collection, losing all data from the earlier iterations of an iterative collection process that may run up to 5 times.

      We stumbled upon the defect when working on a refactoring task involving separation of generational extensions of Shenandoah from its non-generational version. The (performance) defect has existed since day zero of the adaptive tenuring code in GenShen.

      Along with fixing the defect, an assertion has been added to check the "reasonable completeness" of the census.

      Some ShenandoahAgeCensus APIs have been narrowed and cleaned.

      Attachments

        Issue Links

          Activity

            People

              ysr Y. Ramakrishna
              ysr Y. Ramakrishna
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - 3 days
                  3d
                  Remaining:
                  Remaining Estimate - 1 day
                  1d
                  Logged:
                  Time Spent - Not Specified Time Not Required
                  Not Specified