-
Enhancement
-
Resolution: Fixed
-
P4
-
11, 15
-
b14
-
generic
-
generic
exact_log2() is used a great deal in HotSpot, especially at startup. exact_log2() uses a naive iterative algorithm. We should do better, and in particular we should use an algorithm that compilers commonly optimize well, so that constant expressions that use exact_log2 are computed at compilation time.