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

G1: Fix -Wconversion warnings in G1CardSetInlinePtr::card_pos_for

    XMLWordPrintable

Details

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

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: