JDK-8247910 : Improve alignment and power-of-2 utilities using C++14
  • Type: Enhancement
  • Component: hotspot
  • Sub-Component: runtime
  • Affected Version: 16
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2020-06-19
  • 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
Blocks :  
Relates :  
Relates :  
Relates :  
Relates :  
Relates :  
Description
Make is_power_of_2 constexpr.  Make alignment functions constexpr and remove supporting macros.

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