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

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

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Not an Issue
    • Icon: P5 P5
    • tbd
    • 23
    • 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.

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

              Created:
              Updated:
              Resolved: