mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 07:14:30 +02:00
8180437: Remaining renames of CAS misnomer "swap" => "set"
Reviewed-by: martin
This commit is contained in:
parent
4c4d212355
commit
eb856a6953
4 changed files with 13 additions and 14 deletions
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 2014, 2016, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2014, 2017, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
|
@ -313,7 +313,7 @@ final class VarHandles {
|
|||
//
|
||||
// void set(Object value);
|
||||
//
|
||||
// boolean compareAndSwap(Object actualValue, Object expectedValue);
|
||||
// boolean compareAndSet(Object actualValue, Object expectedValue);
|
||||
//
|
||||
// Object compareAndExchange(Object actualValue, Object expectedValue);
|
||||
//
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue