1.1 --- a/src/share/vm/classfile/systemDictionary.cpp Mon Jan 09 10:27:24 2012 +0100 1.2 +++ b/src/share/vm/classfile/systemDictionary.cpp Wed Jan 11 17:34:02 2012 -0500 1.3 @@ -2131,6 +2131,12 @@ 1.4 } 1.5 } 1.6 1.7 + // Assign a classid if one has not already been assigned. The 1.8 + // counter does not need to be atomically incremented since this 1.9 + // is only done while holding the SystemDictionary_lock. 1.10 + // All loaded classes get a unique ID. 1.11 + TRACE_INIT_ID(k); 1.12 + 1.13 // Check for a placeholder. If there, remove it and make a 1.14 // new system dictionary entry. 1.15 placeholders()->find_and_remove(p_index, p_hash, name, class_loader, THREAD);