Replace powerOfTwo::max_value with std::numeric_limits

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P4
    • 16
    • Affects Version/s: 15
    • Component/s: hotspot
    • b16

      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

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

              Created:
              Updated:
              Resolved: