Mercurial > hg > truffle
comparison src/share/vm/ci/ciMethod.cpp @ 14667:e65d960c7be5
8036100: Default method returns true for a while, and then returns false
Reviewed-by: kvn, jrose
author | vlivanov |
---|---|
date | Tue, 04 Mar 2014 02:33:10 -0800 |
parents | 96d2c94bbdd0 |
children | b51e29501f30 |
comparison
equal
deleted
inserted
replaced
14666:c0774726073e | 14667:e65d960c7be5 |
---|---|
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, |