Skip to content

Commit 827239f

Browse files
author
Thomas Schatzl
committed
8378266: Update atomicAccess include after Atomic<T> changes
Reviewed-by: ayang, kbarrett
1 parent d9f19b3 commit 827239f

9 files changed

Lines changed: 5 additions & 12 deletions

‎src/hotspot/share/gc/epsilon/epsilonHeap.cpp‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2023, 2025, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2023, 2026, Oracle and/or its affiliates. All rights reserved.
33
* Copyright (c) 2017, 2022, Red Hat, Inc. All rights reserved.
44
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
55
*
@@ -34,7 +34,6 @@
3434
#include "memory/metaspaceUtils.hpp"
3535
#include "memory/resourceArea.hpp"
3636
#include "memory/universe.hpp"
37-
#include "runtime/atomicAccess.hpp"
3837
#include "runtime/globals.hpp"
3938
#include "utilities/ostream.hpp"
4039

‎src/hotspot/share/gc/g1/g1ConcurrentRefineStats.cpp‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@
2323
*/
2424

2525
#include "gc/g1/g1ConcurrentRefineStats.inline.hpp"
26-
#include "runtime/atomicAccess.hpp"
2726
#include "runtime/timer.hpp"
2827

2928
void G1ConcurrentRefineStats::add_atomic(G1ConcurrentRefineStats* other) {

‎src/hotspot/share/gc/g1/g1FullCollector.inline.hpp‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@
3030
#include "gc/g1/g1FullGCHeapRegionAttr.hpp"
3131
#include "gc/g1/g1HeapRegion.inline.hpp"
3232
#include "oops/oopsHierarchy.hpp"
33-
#include "runtime/atomicAccess.hpp"
3433

3534
bool G1FullCollector::is_compacting(oop obj) const {
3635
return _region_attr_table.is_compacting(cast_from_oop<HeapWord *>(obj));

‎src/hotspot/share/gc/g1/g1HeapRegionManager.cpp‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@
3434
#include "jfr/jfrEvents.hpp"
3535
#include "logging/logStream.hpp"
3636
#include "memory/allocation.hpp"
37-
#include "runtime/atomicAccess.hpp"
3837
#include "runtime/mutexLocker.hpp"
3938
#include "runtime/orderAccess.hpp"
4039
#include "utilities/bitMap.inline.hpp"

‎src/hotspot/share/gc/parallel/parMarkBitMap.cpp‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2005, 2025, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2005, 2026, Oracle and/or its affiliates. All rights reserved.
33
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44
*
55
* This code is free software; you can redistribute it and/or modify it
@@ -28,7 +28,6 @@
2828
#include "memory/memoryReserver.hpp"
2929
#include "nmt/memTracker.hpp"
3030
#include "oops/oop.inline.hpp"
31-
#include "runtime/atomicAccess.hpp"
3231
#include "runtime/os.hpp"
3332
#include "utilities/align.hpp"
3433
#include "utilities/bitMap.inline.hpp"

‎src/hotspot/share/gc/parallel/psAdaptiveSizePolicy.cpp‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2002, 2025, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2002, 2026, Oracle and/or its affiliates. All rights reserved.
33
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44
*
55
* This code is free software; you can redistribute it and/or modify it
@@ -30,6 +30,7 @@
3030
#include "gc/shared/gcPolicyCounters.hpp"
3131
#include "gc/shared/gcUtil.hpp"
3232
#include "logging/log.hpp"
33+
#include "runtime/atomicAccess.hpp"
3334
#include "runtime/timer.hpp"
3435
#include "utilities/align.hpp"
3536

‎src/hotspot/share/gc/parallel/psParallelCompact.cpp‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,6 @@
8484
#include "oops/methodData.hpp"
8585
#include "oops/objArrayKlass.inline.hpp"
8686
#include "oops/oop.inline.hpp"
87-
#include "runtime/atomicAccess.hpp"
8887
#include "runtime/handles.inline.hpp"
8988
#include "runtime/java.hpp"
9089
#include "runtime/safepoint.hpp"

‎src/hotspot/share/gc/parallel/spaceCounters.cpp‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2002, 2025, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2002, 2026, Oracle and/or its affiliates. All rights reserved.
33
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44
*
55
* This code is free software; you can redistribute it and/or modify it
@@ -25,7 +25,6 @@
2525
#include "gc/parallel/spaceCounters.hpp"
2626
#include "memory/allocation.inline.hpp"
2727
#include "memory/resourceArea.hpp"
28-
#include "runtime/atomicAccess.hpp"
2928
#include "runtime/mutex.hpp"
3029
#include "runtime/mutexLocker.hpp"
3130
#include "utilities/debug.hpp"

‎src/hotspot/share/gc/shared/parallelCleaning.cpp‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@
2828
#include "gc/shared/parallelCleaning.hpp"
2929
#include "logging/log.hpp"
3030
#include "oops/klass.inline.hpp"
31-
#include "runtime/atomicAccess.hpp"
3231

3332
CodeCacheUnloadingTask::CodeCacheUnloadingTask(bool unloading_occurred) :
3433
_unloading_occurred(unloading_occurred),

0 commit comments

Comments
 (0)