equal
deleted
inserted
replaced
29 #include "classfile/classLoader.hpp" |
29 #include "classfile/classLoader.hpp" |
30 #include "oops/objArrayOop.hpp" |
30 #include "oops/objArrayOop.hpp" |
31 #include "oops/symbol.hpp" |
31 #include "oops/symbol.hpp" |
32 #include "runtime/java.hpp" |
32 #include "runtime/java.hpp" |
33 #include "runtime/reflectionUtils.hpp" |
33 #include "runtime/reflectionUtils.hpp" |
|
34 #include "trace/traceTime.hpp" |
34 #include "utilities/hashtable.hpp" |
35 #include "utilities/hashtable.hpp" |
35 #include "utilities/hashtable.inline.hpp" |
36 #include "utilities/hashtable.inline.hpp" |
|
37 |
36 |
38 |
37 // The system dictionary stores all loaded classes and maps: |
39 // The system dictionary stores all loaded classes and maps: |
38 // |
40 // |
39 // [class name,class loader] -> class i.e. [Symbol*,oop] -> Klass* |
41 // [class name,class loader] -> class i.e. [Symbol*,oop] -> Klass* |
40 // |
42 // |
634 static Klass* find_shared_class(Symbol* class_name); |
636 static Klass* find_shared_class(Symbol* class_name); |
635 |
637 |
636 // Setup link to hierarchy |
638 // Setup link to hierarchy |
637 static void add_to_hierarchy(instanceKlassHandle k, TRAPS); |
639 static void add_to_hierarchy(instanceKlassHandle k, TRAPS); |
638 |
640 |
|
641 // event based tracing |
|
642 static void post_class_load_event(TracingTime start_time, instanceKlassHandle k, |
|
643 Handle initiating_loader); |
639 // We pass in the hashtable index so we can calculate it outside of |
644 // We pass in the hashtable index so we can calculate it outside of |
640 // the SystemDictionary_lock. |
645 // the SystemDictionary_lock. |
641 |
646 |
642 // Basic find on loaded classes |
647 // Basic find on loaded classes |
643 static Klass* find_class(int index, unsigned int hash, |
648 static Klass* find_class(int index, unsigned int hash, |