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

G1: fix incorrect region type documentation in HeapRegionType

    XMLWordPrintable

Details

    • Enhancement
    • Status: Resolved
    • P4
    • Resolution: Fixed
    • None
    • 18
    • hotspot
    • None
    • gc
    • b21

    Description

      In `class HeapRegionType`:

      ```
        // 01000 0 [16] Old Mask
        //
        // 10000 0 [32] Archive Mask
        // 11100 0 [56] Open Archive
        // 11100 1 [57] Closed Archive
        ...
          ArchiveMask = 32,
          OpenArchiveTag = ArchiveMask | PinnedMask,
          ClosedArchiveTag = ArchiveMask | PinnedMask + 1
      ```

      Open/Closed Archive should have not Old Mask. The code is correct, but the documentation is incorrect.

      Attachments

        Issue Links

          Activity

            People

              ayang Albert Yang
              ayang Albert Yang
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: