mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 14:54:52 +02:00
8274075: Fix miscellaneous typos in java.base
Reviewed-by: dfuchs, darcy, iris, lancea, bpb
This commit is contained in:
parent
8b833bbea8
commit
8799856528
9 changed files with 25 additions and 26 deletions
|
@ -4421,7 +4421,7 @@ return mh1;
|
|||
* <p>
|
||||
* Misaligned access, and therefore atomicity guarantees, may be determined
|
||||
* for {@code byte[]} arrays without operating on a specific array. Given
|
||||
* an {@code index}, {@code T} and it's corresponding boxed type,
|
||||
* an {@code index}, {@code T} and its corresponding boxed type,
|
||||
* {@code T_BOX}, misalignment may be determined as follows:
|
||||
* <pre>{@code
|
||||
* int sizeOfT = T_BOX.BYTES; // size in bytes of T
|
||||
|
@ -4508,7 +4508,7 @@ return mh1;
|
|||
* <p>
|
||||
* Misaligned access, and therefore atomicity guarantees, may be determined
|
||||
* for a {@code ByteBuffer}, {@code bb} (direct or otherwise), an
|
||||
* {@code index}, {@code T} and it's corresponding boxed type,
|
||||
* {@code index}, {@code T} and its corresponding boxed type,
|
||||
* {@code T_BOX}, as follows:
|
||||
* <pre>{@code
|
||||
* int sizeOfT = T_BOX.BYTES; // size in bytes of T
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue