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

Replace powerOfTwo::max_value with std::numeric_limits

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 15
    • Fix Version/s: 16
    • Component/s: hotspot
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b16

      Description

      JDK-8234331 had to add a helper function to get the max value of each integer type, since std::numeric_limits<T>::max() had issues on some platforms. In particular Solaris SPARC slowdebug builds failed.

      Once all supported platforms implement numeric_limits in a proper way, remove and replace powerOfTwo::max_value

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              kbarrett Kim Barrett
              Reporter:
              redestad Claes Redestad
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: