On 11/15/2017 06:38 PM, Alan Bateman wrote:
On 15/11/2017 15:27, Dmitry Chuyko wrote:
Hello,
Please review a performance enhancement for java.util.CRC32C pure
Java implementation.
Moving the nativeOrder out of the loop make sense but I'm curious
about the context for improving this implementation. You mentioned it
helps -Xcomp but that is typically for testing. Is there some
environment that is disabling the HotSpot intrinsic?
There may be no intrinsic (zero, arm) or there may be no Hotspot (J9,
Excelsior, Android).
But I spotted it in -Xcomp because it was unclear why people make their
own pure Java implementations instead of using and contributing to
core-lib classes.
-Dmitry
-Alan