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

Remove outdated comment in HeapRegionManager::par_iterate

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 18
    • 18
    • hotspot
    • gc
    • b23

      HeapRegionManager::par_iterate contains the following comment:

          // However, if the iteration is specified as concurrent, the values for
          // is_starts_humongous and is_continues_humongous can not be trusted,
          // and we should just blindly iterate over regions regardless of their
          // humongous status.

      The method does not have a "concurrent" parameter for a long time. I think this comment relates to the time when the humongous starts HeapRegion actually covered all regions the humongous object covered.
      Either way, remove.

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

              Created:
              Updated:
              Resolved: