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

G1: Fix -Wconversion warnings in G1CardSetInlinePtr::card_pos_for

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 22
    • 22
    • hotspot
    • gc
    • b11

      The input args are of `uint` type while the return value is of `uint8_t`.

      Inspecting all its callers, the return value is used in the context of `uintptr_t`. One can change the return type to`uint` to remove this warning here.

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

              Created:
              Updated:
              Resolved: