Add ASSERT macro and not use 'CardTable::card_shift_in_words' in 'G1BlockOffsetTable::check_index'

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Not an Issue
    • Priority: P5
    • tbd
    • Affects Version/s: 23
    • Component/s: hotspot
    • gc

      The method `G1BlockOffsetTable::check_index` implementation is protected by the `ASSERT` macro, but its declaration and usages don't have the `ASSERT` macro. It is good to add them.

      And JDK-8328508 will remove the method 'CardTable::card_shift_in_words', it is good to do some previous cleanup work.

            Assignee:
            Guoxiong Li
            Reporter:
            Guoxiong Li
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: