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_info(classresolve)("%s %s %s:%d (reflection)", from, to, source_file, line_number); |
79 log_debug(classresolve)("%s %s %s:%d (reflection)", from, to, source_file, line_number); |
80 } else { |
80 } else { |
81 log_info(classresolve)("%s %s (reflection)", from, to); |
81 log_debug(classresolve)("%s %s (reflection)", from, to); |
82 } |
82 } |
83 } |
83 } |
84 } |
84 } |
85 |
85 |
86 |
86 |
767 const Klass* k = SystemDictionary::resolve_or_fail(name, |
767 const Klass* k = SystemDictionary::resolve_or_fail(name, |
768 Handle(THREAD, loader), |
768 Handle(THREAD, loader), |
769 Handle(THREAD, protection_domain), |
769 Handle(THREAD, protection_domain), |
770 true, |
770 true, |
771 CHECK_NULL); |
771 CHECK_NULL); |
772 if (log_is_enabled(Info, classresolve)) { |
772 if (log_is_enabled(Debug, classresolve)) { |
773 trace_class_resolution(k); |
773 trace_class_resolution(k); |
774 } |
774 } |
775 return k->java_mirror(); |
775 return k->java_mirror(); |
776 } |
776 } |
777 |
777 |
822 SystemDictionary::resolve_or_fail(signature, |
822 SystemDictionary::resolve_or_fail(signature, |
823 Handle(THREAD, k->class_loader()), |
823 Handle(THREAD, k->class_loader()), |
824 Handle(THREAD, k->protection_domain()), |
824 Handle(THREAD, k->protection_domain()), |
825 true, CHECK_(Handle())); |
825 true, CHECK_(Handle())); |
826 |
826 |
827 if (log_is_enabled(Info, classresolve)) { |
827 if (log_is_enabled(Debug, classresolve)) { |
828 trace_class_resolution(result); |
828 trace_class_resolution(result); |
829 } |
829 } |
830 |
830 |
831 oop nt = result->java_mirror(); |
831 oop nt = result->java_mirror(); |
832 return Handle(THREAD, nt); |
832 return Handle(THREAD, nt); |