Skip to content

Commit 7244dd6

Browse files
committed
8292267: Clean up synchronizer.hpp
Reviewed-by: coleenp, dcubed, dholmes
1 parent 1f3578b commit 7244dd6

File tree

21 files changed

+33
-26
lines changed

21 files changed

+33
-26
lines changed

src/hotspot/cpu/aarch64/frame_aarch64.hpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,6 @@
2626
#ifndef CPU_AARCH64_FRAME_AARCH64_HPP
2727
#define CPU_AARCH64_FRAME_AARCH64_HPP
2828

29-
#include "runtime/synchronizer.hpp"
30-
3129
// A frame represents a physical stack frame (an activation). Frames can be
3230
// C or Java frames, and the Java frames can be interpreted or compiled.
3331
// In contrast, vframes represent source-level activations, so that one physical frame

src/hotspot/cpu/arm/frame_arm.hpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,6 @@
2525
#ifndef CPU_ARM_FRAME_ARM_HPP
2626
#define CPU_ARM_FRAME_ARM_HPP
2727

28-
#include "runtime/synchronizer.hpp"
29-
3028
public:
3129
enum {
3230
pc_return_offset = 0,

src/hotspot/cpu/ppc/frame_ppc.hpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,6 @@
2626
#ifndef CPU_PPC_FRAME_PPC_HPP
2727
#define CPU_PPC_FRAME_PPC_HPP
2828

29-
#include "runtime/synchronizer.hpp"
30-
3129
// C frame layout on PPC-64.
3230
//
3331
// In this figure the stack grows upwards, while memory grows

src/hotspot/cpu/riscv/frame_riscv.hpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,6 @@
2626
#ifndef CPU_RISCV_FRAME_RISCV_HPP
2727
#define CPU_RISCV_FRAME_RISCV_HPP
2828

29-
#include "runtime/synchronizer.hpp"
30-
3129
// A frame represents a physical stack frame (an activation). Frames can be
3230
// C or Java frames, and the Java frames can be interpreted or compiled.
3331
// In contrast, vframes represent source-level activations, so that one physical frame

src/hotspot/cpu/s390/frame_s390.hpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,6 @@
2828
#ifndef CPU_S390_FRAME_S390_HPP
2929
#define CPU_S390_FRAME_S390_HPP
3030

31-
#include "runtime/synchronizer.hpp"
32-
3331
// C frame layout on ZARCH_64.
3432
//
3533
// In this figure the stack grows upwards, while memory grows

src/hotspot/cpu/x86/frame_x86.hpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,6 @@
2525
#ifndef CPU_X86_FRAME_X86_HPP
2626
#define CPU_X86_FRAME_X86_HPP
2727

28-
#include "runtime/synchronizer.hpp"
29-
3028
// A frame represents a physical stack frame (an activation). Frames can be
3129
// C or Java frames, and the Java frames can be interpreted or compiled.
3230
// In contrast, vframes represent source-level activations, so that one physical frame

src/hotspot/share/classfile/systemDictionary.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@
7676
#include "runtime/mutexLocker.hpp"
7777
#include "runtime/sharedRuntime.hpp"
7878
#include "runtime/signature.hpp"
79+
#include "runtime/synchronizer.hpp"
7980
#include "services/classLoadingService.hpp"
8081
#include "services/diagnosticCommand.hpp"
8182
#include "services/finalizerService.hpp"

src/hotspot/share/gc/shenandoah/shenandoahPadding.hpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@
2525
#ifndef SHARE_GC_SHENANDOAH_SHENANDOAHPADDING_HPP
2626
#define SHARE_GC_SHENANDOAH_SHENANDOAHPADDING_HPP
2727

28+
#include "memory/padded.hpp"
29+
2830
// 64 bytes is enough to cover all existing architectures. If we have some
2931
// other platforms, we would need to provide the architecture-specific
3032
// versions here. Shared code provides DEFAULT_CACHE_LINE_SIZE, which is

src/hotspot/share/jvmci/jvmciRuntime.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@
5454
#include "runtime/mutex.hpp"
5555
#include "runtime/reflectionUtils.hpp"
5656
#include "runtime/sharedRuntime.hpp"
57+
#include "runtime/synchronizer.hpp"
5758
#if INCLUDE_G1GC
5859
#include "gc/g1/g1BarrierSetRuntime.hpp"
5960
#endif // INCLUDE_G1GC

src/hotspot/share/oops/oop.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@
3535
#include "oops/verifyOopClosure.hpp"
3636
#include "runtime/handles.inline.hpp"
3737
#include "runtime/javaThread.hpp"
38+
#include "runtime/synchronizer.hpp"
3839
#include "utilities/macros.hpp"
3940

4041
void oopDesc::print_on(outputStream* st) const {

0 commit comments

Comments
 (0)