mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 23:04:50 +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, 2015, 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
|
||||
|
@ -71,7 +71,7 @@ final class VarForm {
|
|||
|
||||
// (Receiver, <Intermediates>, Value, Value)boolean
|
||||
l.add(value);
|
||||
methodType_table[VarHandle.AccessType.COMPARE_AND_SWAP.ordinal()] =
|
||||
methodType_table[VarHandle.AccessType.COMPARE_AND_SET.ordinal()] =
|
||||
MethodType.methodType(boolean.class, l).erase();
|
||||
|
||||
// (Receiver, <Intermediates>, Value, Value)Value
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue