diff -r e9c6bbf513e5 -r 2091069b6851 hotspot/src/share/vm/c1/c1_GraphBuilder.cpp --- a/hotspot/src/share/vm/c1/c1_GraphBuilder.cpp Wed Sep 28 18:40:50 2016 +0300 +++ b/hotspot/src/share/vm/c1/c1_GraphBuilder.cpp Mon Oct 03 21:48:21 2016 -0400 @@ -1929,7 +1929,7 @@ // number of implementors for decl_interface is 0 or 1. If // it's 0 then no class implements decl_interface and there's // no point in inlining. - if (!holder->is_loaded() || decl_interface->nof_implementors() != 1 || decl_interface->has_default_methods()) { + if (!holder->is_loaded() || decl_interface->nof_implementors() != 1 || decl_interface->has_nonstatic_concrete_methods()) { singleton = NULL; } } @@ -4308,7 +4308,7 @@ void GraphBuilder::profile_call(ciMethod* callee, Value recv, ciKlass* known_holder, Values* obj_args, bool inlined) { assert(known_holder == NULL || (known_holder->is_instance_klass() && (!known_holder->is_interface() || - ((ciInstanceKlass*)known_holder)->has_default_methods())), "should be default method"); + ((ciInstanceKlass*)known_holder)->has_nonstatic_concrete_methods())), "should be non-static concrete method"); if (known_holder != NULL) { if (known_holder->exact_klass() == NULL) { known_holder = compilation()->cha_exact_type(known_holder);