@@ -238,12 +238,12 @@ static const char* action_to_string(PlaceholderTable::classloadAction action) {
238238 return " " ;
239239}
240240
241- inline void log (PlaceholderEntry* entry, const char * function, PlaceholderTable::classloadAction action) {
241+ inline void log (Symbol* name, PlaceholderEntry* entry, const char * function, PlaceholderTable::classloadAction action) {
242242 if (log_is_enabled (Debug, class , load, placeholders)) {
243243 LogTarget (Debug, class , load, placeholders) lt;
244244 ResourceMark rm;
245245 LogStream ls (lt);
246- ls.print (" %s %s " , function, action_to_string (action));
246+ ls.print (" entry %s : %s %s " , name-> as_C_string () , function, action_to_string (action));
247247 entry->print_on (&ls);
248248 }
249249}
@@ -269,7 +269,7 @@ PlaceholderEntry* PlaceholderTable::find_and_add(Symbol* name,
269269 }
270270 }
271271 probe->add_seen_thread (thread, action);
272- log (probe, " find_and_add" , action);
272+ log (name, probe, " find_and_add" , action);
273273 return probe;
274274}
275275
@@ -293,7 +293,7 @@ void PlaceholderTable::find_and_remove(Symbol* name, ClassLoaderData* loader_dat
293293 assert_locked_or_safepoint (SystemDictionary_lock);
294294 PlaceholderEntry* probe = get_entry (name, loader_data);
295295 if (probe != NULL ) {
296- log (probe, " find_and_remove" , action);
296+ log (name, probe, " find_and_remove" , action);
297297 probe->remove_seen_thread (thread, action);
298298 // If no other threads using this entry, and this thread is not using this entry for other states
299299 if ((probe->superThreadQ () == NULL ) && (probe->loadInstanceThreadQ () == NULL )
0 commit comments