mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-22 03:54:33 +02:00
8036100: Default method returns true for a while, and then returns false
Reviewed-by: kvn, jrose
This commit is contained in:
parent
1dbe60a475
commit
fc6e8666a1
2 changed files with 63 additions and 0 deletions
|
@ -724,6 +724,11 @@ ciMethod* ciMethod::find_monomorphic_target(ciInstanceKlass* caller,
|
|||
|
||||
VM_ENTRY_MARK;
|
||||
|
||||
// Disable CHA for default methods for now
|
||||
if (root_m->get_Method()->is_default_method()) {
|
||||
return NULL;
|
||||
}
|
||||
|
||||
methodHandle target;
|
||||
{
|
||||
MutexLocker locker(Compile_lock);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue