RFR: 8286401: Address possibly lossy conversions in Microbenchmarks [v2]

Eric Caspole ecaspole at openjdk.java.net
Wed May 11 16:18:52 UTC 2022


On Wed, 11 May 2022 15:50:40 GMT, Claes Redestad <redestad at openjdk.org> wrote:

>> #8599 would add a new warning. This address the conversions in the microbenchmark component by means of making the types precise or adding explicit casts. There's quite a few changes in the ByteBuffers benchmarks, but the real change is in the template as these are generated.
>> 
>> I've run through a subset of the affected benchmarks and verified that the results are either neutral or improve somewhat (seem to be the case in a few of the ByteBuffer micros).
>
> Claes Redestad has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Copyrights, consistently use the exact accumulator type

Looks good.

-------------

PR: https://git.openjdk.java.net/jdk/pull/8654



More information about the security-dev mailing list