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

G1: Refactor range checking in G1BlockOffsetTablePart::block_start* to asserts

    XMLWordPrintable

Details

    • Enhancement
    • Status: Resolved
    • P4
    • Resolution: Fixed
    • 18
    • 18
    • hotspot
    • gc
    • b07

    Description

      G1BlockOffsetTablePart maintains a range limit (`_next_offset_index`) which should be in sync with `HeapRegion::_top`. We should never ask for cards corresponding to addresses ` >= HeapRegion::_top`.
       
      Therefore, we can change the range checking to asserts.

      Attachments

        Issue Links

          Activity

            People

              iwalulya Ivan Walulya
              iwalulya Ivan Walulya
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: