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

Remove unused method Generation::performs_in_place_marking()

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 9
    • Fix Version/s: 9
    • Component/s: hotspot
    • Labels:
      None
    • Subcomponent:
      gc
    • Resolved In Build:
      b107

      Description

      The methods Generation::performs_in_place_marking() is documented as that it should be used by biased locking. But it is currently unused and a "hg grep performs_in_place_marking" does not indicate that it was ever used.

      Currently it is only used in two asserts, but these operate on a young or an old generation instance, where performs_in_place_marking() adds no value since it returns true for old generations and false for young.

        Attachments

          Activity

            People

            Assignee:
            brutisso Bengt Rutisson (Inactive)
            Reporter:
            brutisso Bengt Rutisson (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: