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

G1: fix incorrect region type documentation in HeapRegionType

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 18
    • None
    • hotspot
    • None
    • gc
    • b21

      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.

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

              Created:
              Updated:
              Resolved: