Integrated: 8253407: Move max_pow2 from test to src
Stefan Karlsson
stefank at openjdk.java.net
Mon Sep 21 13:05:32 UTC 2020
On Mon, 21 Sep 2020 08:59:01 GMT, Stefan Karlsson <stefank at openjdk.org> wrote:
> Small refactoring to move test utility function over to src, so that it can be used in both places.
>
> Patch summary:
> - Moved the code
> - Replaced duplicate code in round_power_of_2
> - Adjusted to the surrounding powerOfTwo.hpp code and only accept integral types.
> - Added small gtest. (On the fence whether it's worth it or not)
This pull request has now been integrated.
Changeset: 7e49eaec
Author: Stefan Karlsson <stefank at openjdk.org>
URL: https://git.openjdk.java.net/jdk/commit/7e49eaec
Stats: 31 lines in 2 files changed: 6 ins; 17 del; 8 mod
8253407: Move max_pow2 from test to src
Reviewed-by: kbarrett, tschatzl
-------------
PR: https://git.openjdk.java.net/jdk/pull/279
More information about the hotspot-dev
mailing list