equal
deleted
inserted
replaced
33 #include "memory/metaspaceShared.hpp" |
33 #include "memory/metaspaceShared.hpp" |
34 #include "memory/resourceArea.hpp" |
34 #include "memory/resourceArea.hpp" |
35 #include "prims/jvmtiEnvBase.hpp" |
35 #include "prims/jvmtiEnvBase.hpp" |
36 #include "prims/jvmtiRedefineClasses.hpp" |
36 #include "prims/jvmtiRedefineClasses.hpp" |
37 #include "runtime/handles.inline.hpp" |
37 #include "runtime/handles.inline.hpp" |
38 #include "trace/traceMacros.hpp" |
38 #include "utilities/macros.hpp" |
|
39 #if INCLUDE_JFR |
|
40 #include "jfr/support/jfrKlassExtension.hpp" |
|
41 #endif |
|
42 |
39 |
43 |
40 // called during initial loading of a shared class |
44 // called during initial loading of a shared class |
41 InstanceKlass* KlassFactory::check_shared_class_file_load_hook( |
45 InstanceKlass* KlassFactory::check_shared_class_file_load_hook( |
42 InstanceKlass* ik, |
46 InstanceKlass* ik, |
43 Symbol* class_name, |
47 Symbol* class_name, |
226 |
230 |
227 if (result->should_store_fingerprint()) { |
231 if (result->should_store_fingerprint()) { |
228 result->store_fingerprint(stream->compute_fingerprint()); |
232 result->store_fingerprint(stream->compute_fingerprint()); |
229 } |
233 } |
230 |
234 |
231 TRACE_KLASS_CREATION(result, parser, THREAD); |
235 JFR_ONLY(ON_KLASS_CREATION(result, parser, THREAD);) |
232 |
236 |
233 #if INCLUDE_CDS |
237 #if INCLUDE_CDS |
234 if (DumpSharedSpaces) { |
238 if (DumpSharedSpaces) { |
235 ClassLoader::record_result(result, stream, THREAD); |
239 ClassLoader::record_result(result, stream, THREAD); |
236 #if INCLUDE_JVMTI |
240 #if INCLUDE_JVMTI |