mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-26 14:24:46 +02:00
8327729: Remove deprecated xxxObject methods from jdk.internal.misc.Unsafe
Reviewed-by: martin, alanb, mchung
This commit is contained in:
parent
313e814bc9
commit
5b41466275
4 changed files with 7 additions and 94 deletions
|
@ -61,7 +61,7 @@ public class BufferedInputStream extends FilterInputStream {
|
|||
|
||||
/**
|
||||
* As this class is used early during bootstrap, it's motivated to use
|
||||
* Unsafe.compareAndSetObject instead of AtomicReferenceFieldUpdater
|
||||
* Unsafe.compareAndSetReference instead of AtomicReferenceFieldUpdater
|
||||
* (or VarHandles) to reduce dependencies and improve startup time.
|
||||
*/
|
||||
private static final Unsafe U = Unsafe.getUnsafe();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue