mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 06:45:07 +02:00
8207146: Rename jdk.internal.misc.Unsafe::xxxObject to xxxReference
Reviewed-by: dholmes, thartmann
This commit is contained in:
parent
fd8d1cd6bf
commit
5e6d6b8642
70 changed files with 643 additions and 603 deletions
|
@ -4079,7 +4079,7 @@ public class BigDecimal extends Number implements Comparable<BigDecimal> {
|
|||
}
|
||||
|
||||
static void setIntValVolatile(BigDecimal bd, BigInteger val) {
|
||||
unsafe.putObjectVolatile(bd, intValOffset, val);
|
||||
unsafe.putReferenceVolatile(bd, intValOffset, val);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -4600,7 +4600,7 @@ public class BigInteger extends Number implements Comparable<BigInteger> {
|
|||
}
|
||||
|
||||
static void putMag(BigInteger bi, int[] magnitude) {
|
||||
unsafe.putObject(bi, magOffset, magnitude);
|
||||
unsafe.putReference(bi, magOffset, magnitude);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue