-
Enhancement
-
Resolution: Unresolved
-
P4
-
None
-
None
-
generic
-
generic
Pure Java implementation of java.util.CRC32C does branching by ByteOrder.nativeOrder() inside main loop. In some circumstances it may cost ~30% of time. E.g. I used to see it on x86 and aarch64 with
-XX:DisableIntrinsic=_updateBytesCRC32C -Xcomp
Those branches can be moved out of loops without bloating class code.
This may help the case then Hotspot intrinsic is disabled, missing for the platform or then it is some other VM.
-XX:DisableIntrinsic=_updateBytesCRC32C -Xcomp
Those branches can be moved out of loops without bloating class code.
This may help the case then Hotspot intrinsic is disabled, missing for the platform or then it is some other VM.
- relates to
-
JDK-6321472 Add CRC32C class, similar to java.util.zip.CRC32
-
- Closed
-