RFR: JDK-8292903: enhance round_up_power_of_2 assertion output
Matthias Baesken
mbaesken at openjdk.org
Thu Aug 25 08:28:37 UTC 2022
There is an assertion in round_up_power_of_2 for value <= max_power_of_2 of the type; would be nice to show the value of the problematic argument in case of failures.
-------------
Commit messages:
- JDK-8292903
Changes: https://git.openjdk.org/jdk/pull/10016/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=10016&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8292903
Stats: 3 lines in 1 file changed: 1 ins; 0 del; 2 mod
Patch: https://git.openjdk.org/jdk/pull/10016.diff
Fetch: git fetch https://git.openjdk.org/jdk pull/10016/head:pull/10016
PR: https://git.openjdk.org/jdk/pull/10016
More information about the hotspot-dev
mailing list