1132 if (DumpSharedSpaces) { |
1132 if (DumpSharedSpaces) { |
1133 tty->print_cr("Preload Error: Failed to load %s", class_name); |
1133 tty->print_cr("Preload Error: Failed to load %s", class_name); |
1134 } |
1134 } |
1135 return h; |
1135 return h; |
1136 } |
1136 } |
|
1137 |
|
1138 #if INCLUDE_JFR |
|
1139 { |
|
1140 InstanceKlass* ik = result(); |
|
1141 ON_KLASS_CREATION(ik, parser, THREAD); |
|
1142 result = instanceKlassHandle(ik); |
|
1143 } |
|
1144 #endif |
|
1145 |
1137 h = context.record_result(classpath_index, e, result, THREAD); |
1146 h = context.record_result(classpath_index, e, result, THREAD); |
1138 } else { |
1147 } else { |
1139 if (DumpSharedSpaces) { |
1148 if (DumpSharedSpaces) { |
1140 tty->print_cr("Preload Warning: Cannot find %s", class_name); |
1149 tty->print_cr("Preload Warning: Cannot find %s", class_name); |
1141 } |
1150 } |