@@ -1044,7 +1044,7 @@ private void checkWritebackEnabled() {
1044
1044
* {@link #staticFieldOffset}, {@link #objectFieldOffset},
1045
1045
* or {@link #arrayBaseOffset}.
1046
1046
* <p>
1047
- * The static type is @code long} to emphasize that long arithmetics should
1047
+ * The static type is @code long} to emphasize that long arithmetic should
1048
1048
* always be used for offset calculations to avoid overflows.
1049
1049
*/
1050
1050
public static final long INVALID_FIELD_OFFSET = -1 ;
@@ -1177,7 +1177,7 @@ public void ensureClassInitialized(Class<?> c) {
1177
1177
* given class.
1178
1178
* <p>
1179
1179
* The return value is in the range of a {@code int}. The return type is
1180
- * {@code long} to emphasize that long arithmetics should always be used
1180
+ * {@code long} to emphasize that long arithmetic should always be used
1181
1181
* for offset calculations to avoid overflows.
1182
1182
*
1183
1183
* @see #getInt(Object, long)
@@ -1236,7 +1236,7 @@ public long arrayBaseOffset(Class<?> arrayClass) {
1236
1236
* as zero.
1237
1237
* <p>
1238
1238
* The computation of the actual memory offset should always use {@code
1239
- * long} arithmetics to avoid overflows.
1239
+ * long} arithmetic to avoid overflows.
1240
1240
*
1241
1241
* @see #arrayBaseOffset
1242
1242
* @see #getInt(Object, long)
@@ -3850,7 +3850,7 @@ private void putShortParts(Object o, long offset, byte i0, byte i1) {
3850
3850
private native Object staticFieldBase0 (Field f );
3851
3851
private native boolean shouldBeInitialized0 (Class <?> c );
3852
3852
private native void ensureClassInitialized0 (Class <?> c );
3853
- private native int arrayBaseOffset0 (Class <?> arrayClass ); // public version returns long to promote correct arithmetics
3853
+ private native int arrayBaseOffset0 (Class <?> arrayClass ); // public version returns long to promote correct arithmetic
3854
3854
private native int arrayIndexScale0 (Class <?> arrayClass );
3855
3855
private native int getLoadAverage0 (double [] loadavg , int nelems );
3856
3856
0 commit comments