@@ -85,7 +85,7 @@ class PlaceholderTable : public Hashtable<Symbol*, mtClass> {
85
85
PlaceholderEntry* find_and_add (unsigned int hash,
86
86
Symbol* name, ClassLoaderData* loader_data,
87
87
classloadAction action, Symbol* supername,
88
- Thread * thread);
88
+ JavaThread * thread);
89
89
90
90
void remove_entry (unsigned int hash,
91
91
Symbol* name, ClassLoaderData* loader_data);
@@ -94,7 +94,7 @@ class PlaceholderTable : public Hashtable<Symbol*, mtClass> {
94
94
// If all queues are empty and definer is null, remove the PlacheholderEntry completely
95
95
void find_and_remove (unsigned int hash,
96
96
Symbol* name, ClassLoaderData* loader_data,
97
- classloadAction action, Thread * thread);
97
+ classloadAction action, JavaThread * thread);
98
98
99
99
void print_on (outputStream* st) const ;
100
100
void print () const ;
@@ -116,7 +116,7 @@ class PlaceholderEntry : public HashtableEntry<Symbol*, mtClass> {
116
116
private:
117
117
ClassLoaderData* _loader_data; // initiating loader
118
118
Symbol* _supername;
119
- Thread* _definer; // owner of define token
119
+ JavaThread* _definer; // owner of define token
120
120
InstanceKlass* _instanceKlass; // InstanceKlass from successful define
121
121
SeenThread* _superThreadQ; // doubly-linked queue of Threads loading a superclass for this class
122
122
SeenThread* _loadInstanceThreadQ; // loadInstance thread
@@ -130,8 +130,8 @@ class PlaceholderEntry : public HashtableEntry<Symbol*, mtClass> {
130
130
131
131
SeenThread* actionToQueue (PlaceholderTable::classloadAction action);
132
132
void set_threadQ (SeenThread* seenthread, PlaceholderTable::classloadAction action);
133
- void add_seen_thread (Thread * thread, PlaceholderTable::classloadAction action);
134
- bool remove_seen_thread (Thread * thread, PlaceholderTable::classloadAction action);
133
+ void add_seen_thread (JavaThread * thread, PlaceholderTable::classloadAction action);
134
+ bool remove_seen_thread (JavaThread * thread, PlaceholderTable::classloadAction action);
135
135
136
136
public:
137
137
// Simple accessors, used only by SystemDictionary
@@ -146,8 +146,8 @@ class PlaceholderEntry : public HashtableEntry<Symbol*, mtClass> {
146
146
if (_supername != NULL ) _supername->increment_refcount ();
147
147
}
148
148
149
- Thread* definer () const {return _definer; }
150
- void set_definer (Thread * definer) { _definer = definer; }
149
+ JavaThread* definer () const {return _definer; }
150
+ void set_definer (JavaThread * definer) { _definer = definer; }
151
151
152
152
InstanceKlass* instance_klass () const {return _instanceKlass; }
153
153
void set_instance_klass (InstanceKlass* ik) { _instanceKlass = ik; }
@@ -158,7 +158,7 @@ class PlaceholderEntry : public HashtableEntry<Symbol*, mtClass> {
158
158
SeenThread* loadInstanceThreadQ () const { return _loadInstanceThreadQ; }
159
159
void set_loadInstanceThreadQ (SeenThread* SeenThread) { _loadInstanceThreadQ = SeenThread; }
160
160
161
- SeenThread* defineThreadQ () const { return _defineThreadQ; }
161
+ SeenThread* defineThreadQ () const { return _defineThreadQ; }
162
162
void set_defineThreadQ (SeenThread* SeenThread) { _defineThreadQ = SeenThread; }
163
163
164
164
PlaceholderEntry* next () const {
@@ -188,7 +188,7 @@ class PlaceholderEntry : public HashtableEntry<Symbol*, mtClass> {
188
188
}
189
189
190
190
// Used for ClassCircularityError checking
191
- bool check_seen_thread (Thread * thread, PlaceholderTable::classloadAction action);
191
+ bool check_seen_thread (JavaThread * thread, PlaceholderTable::classloadAction action);
192
192
193
193
// Print method doesn't append a cr
194
194
void print_entry (outputStream* st) const ;
0 commit comments