comparison src/share/vm/ci/ciMethod.cpp @ 17521:e46f2ee62e78

8036100: Default method returns true for a while, and then returns false Reviewed-by: kvn, jrose
author vlivanov
date Mon, 03 Mar 2014 16:10:26 -0800
parents b2ee5dc63353
children 89152779163c d8a0bb6f62a5
comparison
equal deleted inserted replaced
17520:54f0c207dc35 17521:e46f2ee62e78
722 722
723 if (!UseCHA) return NULL; 723 if (!UseCHA) return NULL;
724 724
725 VM_ENTRY_MARK; 725 VM_ENTRY_MARK;
726 726
727 // Disable CHA for default methods for now
728 if (root_m->get_Method()->is_default_method()) {
729 return NULL;
730 }
731
727 methodHandle target; 732 methodHandle target;
728 { 733 {
729 MutexLocker locker(Compile_lock); 734 MutexLocker locker(Compile_lock);
730 Klass* context = actual_recv->get_Klass(); 735 Klass* context = actual_recv->get_Klass();
731 target = Dependencies::find_unique_concrete_method(context, 736 target = Dependencies::find_unique_concrete_method(context,