comparison src/share/vm/prims/methodHandleWalk.cpp @ 2014:4de5f4101cfd

Merge
author iveresov
date Wed, 08 Dec 2010 17:50:49 -0800
parents f2da85a9b08e
children 70427f06ea47
comparison
equal deleted inserted replaced
1990:401fbd7ff77c 2014:4de5f4101cfd
966 symbolOop name = m->name(); 966 symbolOop name = m->name();
967 symbolOop signature = m->signature(); 967 symbolOop signature = m->signature();
968 968
969 if (tailcall) { 969 if (tailcall) {
970 // Actually, in order to make these methods more recognizable, 970 // Actually, in order to make these methods more recognizable,
971 // let's put them in holder classes MethodHandle and InvokeDynamic. 971 // let's put them in holder class MethodHandle. That way stack
972 // That way stack walkers and compiler heuristics can recognize them. 972 // walkers and compiler heuristics can recognize them.
973 _target_klass = (for_invokedynamic() 973 _target_klass = SystemDictionary::MethodHandle_klass();
974 ? SystemDictionary::InvokeDynamic_klass() 974 }
975 : SystemDictionary::MethodHandle_klass());
976 }
977
978 // instanceKlass* ik = instanceKlass::cast(klass);
979 // tty->print_cr("MethodHandleCompiler::make_invoke: %s %s.%s%s", Bytecodes::name(op), ik->external_name(), name->as_C_string(), signature->as_C_string());
980 975
981 // Inline the method. 976 // Inline the method.
982 InvocationCounter* ic = m->invocation_counter(); 977 InvocationCounter* ic = m->invocation_counter();
983 ic->set_carry_flag(); 978 ic->set_carry_flag();
984 979