mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-20 02:54:35 +02:00
8234739: Harmonize parameter order in Atomic - xchg
Reviewed-by: rehn, dholmes
This commit is contained in:
parent
213af1161a
commit
3d426623bf
45 changed files with 225 additions and 217 deletions
|
@ -92,7 +92,7 @@ void ShenandoahControlThread::run_service() {
|
|||
bool implicit_gc_requested = _gc_requested.is_set() && !is_explicit_gc(_requested_gc_cause);
|
||||
|
||||
// This control loop iteration have seen this much allocations.
|
||||
size_t allocs_seen = Atomic::xchg<size_t>(0, &_allocs_seen);
|
||||
size_t allocs_seen = Atomic::xchg(&_allocs_seen, (size_t)0);
|
||||
|
||||
// Choose which GC mode to run in. The block below should select a single mode.
|
||||
GCMode mode = none;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue