JDK-8238956 : Replace powerOfTwo::max_value with std::numeric_limits
  • Type: Enhancement
  • Component: hotspot
  • Sub-Component: runtime
  • Affected Version: 15
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2020-02-12
  • Updated: 2024-11-22
  • Resolved: 2020-09-15
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 16
16 b16Fixed
Related Reports
Relates :  
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
Comments
Changeset: af8c6780 Author: Kim Barrett <kbarrett@openjdk.org> Date: 2020-09-15 04:34:49 +0000 URL: https://git.openjdk.java.net/jdk/commit/af8c6780
15-09-2020