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

Replace powerOfTwo::max_value with std::numeric_limits

    XMLWordPrintable

Details

    • Enhancement
    • Status: Resolved
    • P4
    • Resolution: Fixed
    • 15
    • 16
    • hotspot
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: