|
53 | 53 | // * store_at: Store a value in an internal pointer relative to a base object.
|
54 | 54 | // * atomic_cmpxchg: Atomically compare-and-swap a new value at an address if previous value matched the compared value.
|
55 | 55 | // * atomic_cmpxchg_at: Atomically compare-and-swap a new value at an internal pointer address if previous value matched the compared value.
|
56 |
| -// * atomic_xchg: Atomically swap a new value at an address if previous value matched the compared value. |
57 |
| -// * atomic_xchg_at: Atomically swap a new value at an internal pointer address if previous value matched the compared value. |
| 56 | +// * atomic_xchg: Atomically swap a new value at an address without checking the previous value. |
| 57 | +// * atomic_xchg_at: Atomically swap a new value at an internal pointer address without checking the previous value. |
58 | 58 | // * arraycopy: Copy data from one heap array to another heap array. The ArrayAccess class has convenience functions for this.
|
59 | 59 | // * clone: Clone the contents of an object to a newly allocated object.
|
60 | 60 | //
|
|
83 | 83 | // and whether the access is performed on the heap or outside. Then the
|
84 | 84 | // appropriate BarrierSet::AccessBarrier is called to perform the access.
|
85 | 85 | //
|
86 |
| -// The implementation of step 1-4 resides in in accessBackend.hpp, to allow selected |
| 86 | +// The implementation of step 1-4 resides in accessBackend.hpp, to allow selected |
87 | 87 | // accesses to be accessible from only access.hpp, as opposed to access.inline.hpp.
|
88 | 88 | // Steps 5.a and 5.b require knowledge about the GC backends, and therefore needs to
|
89 | 89 | // include the various GC backend .inline.hpp headers. Their implementation resides in
|
90 |
| -// access.inline.hpp. The accesses that are allowed through the access.hpp file |
91 |
| -// must be instantiated in access.cpp using the INSTANTIATE_HPP_ACCESS macro. |
| 90 | +// access.inline.hpp. |
92 | 91 |
|
93 | 92 | template <DecoratorSet decorators = DECORATORS_NONE>
|
94 | 93 | class Access: public AllStatic {
|
|
1 commit comments
openjdk-notifier[bot] commentedon Dec 12, 2023
Review
Issues