mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 15:24:43 +02:00
8299441: Fix typos in some test files under core-libs component
Co-authored-by: Michael Ernst <mernst@openjdk.org> Reviewed-by: lancea
This commit is contained in:
parent
5b5552ff2a
commit
417d01ea63
4 changed files with 5 additions and 5 deletions
|
@ -45,7 +45,7 @@ import java.util.concurrent.TimeUnit;
|
|||
* simple_copyLoop is surprisingly 5x slower. The array copying intrinsics
|
||||
* are very effective and a naive loop does not get optimized the same way.
|
||||
* OTOH there is no intrinsic for Arrays.fill but the naive array zeroing loop
|
||||
* *does* get optimized to something a little faster than than arraycopy.
|
||||
* *does* get optimized to something a little faster than arraycopy.
|
||||
*
|
||||
* System.arraycopy and Arrays.fill have such outstanding performance that
|
||||
* one should use them to replace handwritten loops whenever possible.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue