Mercurial > hg > graal-jvmci-8
comparison src/share/vm/classfile/systemDictionary.hpp @ 13400:86e6d691f2e1
8028128: Add a type safe alternative for working with counter based data
Reviewed-by: dholmes, egahlin
author | mgronlun |
---|---|
date | Sat, 23 Nov 2013 12:25:13 +0100 |
parents | cdf20166ec45 |
children | 2315fab779ca |
comparison
equal
deleted
inserted
replaced
13399:260ac69dc096 | 13400:86e6d691f2e1 |
---|---|
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" | |
35 #include "utilities/hashtable.hpp" | 34 #include "utilities/hashtable.hpp" |
36 #include "utilities/hashtable.inline.hpp" | 35 #include "utilities/hashtable.inline.hpp" |
37 | 36 |
38 | 37 |
39 // The system dictionary stores all loaded classes and maps: | 38 // The system dictionary stores all loaded classes and maps: |
76 class PlaceholderTable; | 75 class PlaceholderTable; |
77 class LoaderConstraintTable; | 76 class LoaderConstraintTable; |
78 template <MEMFLAGS F> class HashtableBucket; | 77 template <MEMFLAGS F> class HashtableBucket; |
79 class ResolutionErrorTable; | 78 class ResolutionErrorTable; |
80 class SymbolPropertyTable; | 79 class SymbolPropertyTable; |
80 class Ticks; | |
81 | 81 |
82 // Certain classes are preloaded, such as java.lang.Object and java.lang.String. | 82 // Certain classes are preloaded, such as java.lang.Object and java.lang.String. |
83 // They are all "well-known", in the sense that no class loader is allowed | 83 // They are all "well-known", in the sense that no class loader is allowed |
84 // to provide a different definition. | 84 // to provide a different definition. |
85 // | 85 // |
635 | 635 |
636 // Setup link to hierarchy | 636 // Setup link to hierarchy |
637 static void add_to_hierarchy(instanceKlassHandle k, TRAPS); | 637 static void add_to_hierarchy(instanceKlassHandle k, TRAPS); |
638 | 638 |
639 // event based tracing | 639 // event based tracing |
640 static void post_class_load_event(TracingTime start_time, instanceKlassHandle k, | 640 static void post_class_load_event(const Ticks& start_time, instanceKlassHandle k, |
641 Handle initiating_loader); | 641 Handle initiating_loader); |
642 // We pass in the hashtable index so we can calculate it outside of | 642 // We pass in the hashtable index so we can calculate it outside of |
643 // the SystemDictionary_lock. | 643 // the SystemDictionary_lock. |
644 | 644 |
645 // Basic find on loaded classes | 645 // Basic find on loaded classes |