8180437: Remaining renames of CAS misnomer "swap" => "set"

Reviewed-by: martin
This commit is contained in:
Paul Sandoz 2017-11-17 12:09:56 -08:00
parent 4c4d212355
commit eb856a6953
4 changed files with 13 additions and 14 deletions

View file

@ -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);
//