equal
deleted
inserted
replaced
74 if (caller != NULL) { |
74 if (caller != NULL) { |
75 const char * from = caller->external_name(); |
75 const char * from = caller->external_name(); |
76 const char * to = to_class->external_name(); |
76 const char * to = to_class->external_name(); |
77 // print in a single call to reduce interleaving between threads |
77 // print in a single call to reduce interleaving between threads |
78 if (source_file != NULL) { |
78 if (source_file != NULL) { |
79 log_debug(classresolve)("%s %s %s:%d (reflection)", from, to, source_file, line_number); |
79 log_debug(class, resolve)("%s %s %s:%d (reflection)", from, to, source_file, line_number); |
80 } else { |
80 } else { |
81 log_debug(classresolve)("%s %s (reflection)", from, to); |
81 log_debug(class, resolve)("%s %s (reflection)", from, to); |
82 } |
82 } |
83 } |
83 } |
84 } |
84 } |
85 |
85 |
86 |
86 |
759 const Klass* k = SystemDictionary::resolve_or_fail(name, |
759 const Klass* k = SystemDictionary::resolve_or_fail(name, |
760 Handle(THREAD, loader), |
760 Handle(THREAD, loader), |
761 Handle(THREAD, protection_domain), |
761 Handle(THREAD, protection_domain), |
762 true, |
762 true, |
763 CHECK_NULL); |
763 CHECK_NULL); |
764 if (log_is_enabled(Debug, classresolve)) { |
764 if (log_is_enabled(Debug, class, resolve)) { |
765 trace_class_resolution(k); |
765 trace_class_resolution(k); |
766 } |
766 } |
767 return k->java_mirror(); |
767 return k->java_mirror(); |
768 } |
768 } |
769 |
769 |
814 SystemDictionary::resolve_or_fail(signature, |
814 SystemDictionary::resolve_or_fail(signature, |
815 Handle(THREAD, k->class_loader()), |
815 Handle(THREAD, k->class_loader()), |
816 Handle(THREAD, k->protection_domain()), |
816 Handle(THREAD, k->protection_domain()), |
817 true, CHECK_(Handle())); |
817 true, CHECK_(Handle())); |
818 |
818 |
819 if (log_is_enabled(Debug, classresolve)) { |
819 if (log_is_enabled(Debug, class, resolve)) { |
820 trace_class_resolution(result); |
820 trace_class_resolution(result); |
821 } |
821 } |
822 |
822 |
823 oop nt = result->java_mirror(); |
823 oop nt = result->java_mirror(); |
824 return Handle(THREAD, nt); |
824 return Handle(THREAD, nt); |