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

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

XMLWordPrintable

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

      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.

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

              Created:
              Updated:
              Resolved: