mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 06:45:07 +02:00
8237818: Typo in Unsafe: resposibility
Reviewed-by: ysuenaga
This commit is contained in:
parent
0249cadd62
commit
2f17073230
2 changed files with 14 additions and 14 deletions
|
@ -40,7 +40,7 @@ import static jdk.internal.misc.UnsafeConstants.*;
|
|||
* Although the class and all methods are public, use of this class is
|
||||
* limited because only trusted code can obtain instances of it.
|
||||
*
|
||||
* <em>Note:</em> It is the resposibility of the caller to make sure
|
||||
* <em>Note:</em> It is the responsibility of the caller to make sure
|
||||
* arguments are checked before methods of this class are
|
||||
* called. While some rudimentary checks are performed on the input,
|
||||
* the checks are best effort and when performance is an overriding
|
||||
|
@ -425,7 +425,7 @@ public final class Unsafe {
|
|||
/**
|
||||
* Create an exception reflecting that some of the input was invalid
|
||||
*
|
||||
* <em>Note:</em> It is the resposibility of the caller to make
|
||||
* <em>Note:</em> It is the responsibility of the caller to make
|
||||
* sure arguments are checked before the methods are called. While
|
||||
* some rudimentary checks are performed on the input, the checks
|
||||
* are best effort and when performance is an overriding priority,
|
||||
|
@ -601,7 +601,7 @@ public final class Unsafe {
|
|||
* aligned for all value types. Dispose of this memory by calling {@link
|
||||
* #freeMemory}, or resize it with {@link #reallocateMemory}.
|
||||
*
|
||||
* <em>Note:</em> It is the resposibility of the caller to make
|
||||
* <em>Note:</em> It is the responsibility of the caller to make
|
||||
* sure arguments are checked before the methods are called. While
|
||||
* some rudimentary checks are performed on the input, the checks
|
||||
* are best effort and when performance is an overriding priority,
|
||||
|
@ -657,7 +657,7 @@ public final class Unsafe {
|
|||
* #reallocateMemory}. The address passed to this method may be null, in
|
||||
* which case an allocation will be performed.
|
||||
*
|
||||
* <em>Note:</em> It is the resposibility of the caller to make
|
||||
* <em>Note:</em> It is the responsibility of the caller to make
|
||||
* sure arguments are checked before the methods are called. While
|
||||
* some rudimentary checks are performed on the input, the checks
|
||||
* are best effort and when performance is an overriding priority,
|
||||
|
@ -719,7 +719,7 @@ public final class Unsafe {
|
|||
* If the effective address and length are (resp.) even modulo 4 or 2,
|
||||
* the stores take place in units of 'int' or 'short'.
|
||||
*
|
||||
* <em>Note:</em> It is the resposibility of the caller to make
|
||||
* <em>Note:</em> It is the responsibility of the caller to make
|
||||
* sure arguments are checked before the methods are called. While
|
||||
* some rudimentary checks are performed on the input, the checks
|
||||
* are best effort and when performance is an overriding priority,
|
||||
|
@ -781,7 +781,7 @@ public final class Unsafe {
|
|||
* If the effective addresses and length are (resp.) even modulo 4 or 2,
|
||||
* the transfer takes place in units of 'int' or 'short'.
|
||||
*
|
||||
* <em>Note:</em> It is the resposibility of the caller to make
|
||||
* <em>Note:</em> It is the responsibility of the caller to make
|
||||
* sure arguments are checked before the methods are called. While
|
||||
* some rudimentary checks are performed on the input, the checks
|
||||
* are best effort and when performance is an overriding priority,
|
||||
|
@ -842,7 +842,7 @@ public final class Unsafe {
|
|||
* as discussed in {@link #getInt(Object,long)}. When the object reference is null,
|
||||
* the offset supplies an absolute base address.
|
||||
*
|
||||
* <em>Note:</em> It is the resposibility of the caller to make
|
||||
* <em>Note:</em> It is the responsibility of the caller to make
|
||||
* sure arguments are checked before the methods are called. While
|
||||
* some rudimentary checks are performed on the input, the checks
|
||||
* are best effort and when performance is an overriding priority,
|
||||
|
@ -901,7 +901,7 @@ public final class Unsafe {
|
|||
* #allocateMemory} or {@link #reallocateMemory}. The address passed to
|
||||
* this method may be null, in which case no action is taken.
|
||||
*
|
||||
* <em>Note:</em> It is the resposibility of the caller to make
|
||||
* <em>Note:</em> It is the responsibility of the caller to make
|
||||
* sure arguments are checked before the methods are called. While
|
||||
* some rudimentary checks are performed on the input, the checks
|
||||
* are best effort and when performance is an overriding priority,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue