Skip to content

Commit 7bb4474

Browse files
committedNov 20, 2024
8344579: Clean up forward declarations and includes
Reviewed-by: stefank
1 parent 21b8749 commit 7bb4474

File tree

4 files changed

+0
-8
lines changed

4 files changed

+0
-8
lines changed
 

‎src/hotspot/share/oops/instanceKlass.hpp

-2
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,6 @@
4545
class ConstantPool;
4646
class DeoptimizationScope;
4747
class klassItable;
48-
class Monitor;
4948
class RecordComponent;
5049

5150
// An InstanceKlass is the VM level representation of a Java class.
@@ -68,7 +67,6 @@ class ClassFileStream;
6867
class KlassDepChange;
6968
class DependencyContext;
7069
class fieldDescriptor;
71-
class jniIdMapBase;
7270
class JNIid;
7371
class JvmtiCachedClassFieldMap;
7472
class nmethodBucket;

‎src/hotspot/share/oops/klass.hpp

-4
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,6 @@
2525
#ifndef SHARE_OOPS_KLASS_HPP
2626
#define SHARE_OOPS_KLASS_HPP
2727

28-
#include "memory/iterator.hpp"
29-
#include "memory/memRegion.hpp"
3028
#include "oops/klassFlags.hpp"
3129
#include "oops/markWord.hpp"
3230
#include "oops/metadata.hpp"
@@ -60,8 +58,6 @@ class fieldDescriptor;
6058
class klassVtable;
6159
class ModuleEntry;
6260
class PackageEntry;
63-
class ParCompactionManager;
64-
class PSPromotionManager;
6561
class vtableEntry;
6662

6763
class Klass : public Metadata {

‎src/hotspot/share/oops/method.hpp

-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@
3232
#include "oops/methodFlags.hpp"
3333
#include "oops/instanceKlass.hpp"
3434
#include "oops/oop.hpp"
35-
#include "oops/typeArrayOop.hpp"
3635
#include "utilities/accessFlags.hpp"
3736
#include "utilities/align.hpp"
3837
#include "utilities/growableArray.hpp"

‎src/hotspot/share/runtime/vmStructs.cpp

-1
Original file line numberDiff line numberDiff line change
@@ -1930,7 +1930,6 @@
19301930
declare_toplevel_type(jbyte*) \
19311931
declare_toplevel_type(jbyte**) \
19321932
declare_toplevel_type(jint*) \
1933-
declare_toplevel_type(jniIdMapBase*) \
19341933
declare_unsigned_integer_type(juint) \
19351934
declare_unsigned_integer_type(julong) \
19361935
declare_toplevel_type(JNIHandleBlock*) \

0 commit comments

Comments
 (0)
Please sign in to comment.