Duplicate :
|
|
Relates :
|
|
Relates :
|
|
Relates :
|
There's a performance regression in 9 (compared to 8) in Math.pow(x, 2.0D). Math.pow() was rewritten in 9 (see JDK-8145688), but it doesn't have special case for power-of-two in C2 intrinsic implementation. Original report: https://www.reddit.com/r/java/comments/7bbh72/i_think_i_found_piece_of_code_which_is_8_times/
|