JMH slides from Portland Java User Group
Aleksey Shipilev
aleksey.shipilev at oracle.com
Thu Feb 12 22:26:47 UTC 2015
On 02/12/2015 01:22 PM, Trask Stalnaker wrote:
> * Nice observation about "private final int x" and constant folding, we
> should do that in samples. In fact, contributions to the sample code and
> language are appreciated.
>
>
> Eclipse has a save action that will automatically add final to private
> fields where possible so this one has bit me :).
OUCH. Thanks, I added another case in the existing sample:
http://hg.openjdk.java.net/code-tools/jmh/rev/1bb680b3d89a
-Aleksey.
More information about the jmh-dev
mailing list