comparison src/share/vm/opto/doCall.cpp @ 20671:9e69e8d1c900

8058148: MaxNodeLimit and LiveNodeCountInliningCutoff Reviewed-by: kvn, roland
author vlivanov
date Mon, 24 Nov 2014 07:29:03 -0800
parents e7b3d177adda
children 7848fc12602b 99edc344d77c
comparison
equal deleted inserted replaced
20670:6a528388c7da 20671:9e69e8d1c900
408 ciInstanceKlass* holder_klass = orig_callee->holder(); 408 ciInstanceKlass* holder_klass = orig_callee->holder();
409 ciKlass* holder = iter().get_declared_method_holder(); 409 ciKlass* holder = iter().get_declared_method_holder();
410 ciInstanceKlass* klass = ciEnv::get_instance_klass_for_declared_method_holder(holder); 410 ciInstanceKlass* klass = ciEnv::get_instance_klass_for_declared_method_holder(holder);
411 assert(declared_signature != NULL, "cannot be null"); 411 assert(declared_signature != NULL, "cannot be null");
412 412
413 // Bump max node limit for JSR292 users
414 if (bc() == Bytecodes::_invokedynamic || orig_callee->is_method_handle_intrinsic()) {
415 C->set_max_node_limit(3*MaxNodeLimit);
416 }
417
413 // uncommon-trap when callee is unloaded, uninitialized or will not link 418 // uncommon-trap when callee is unloaded, uninitialized or will not link
414 // bailout when too many arguments for register representation 419 // bailout when too many arguments for register representation
415 if (!will_link || can_not_compile_call_site(orig_callee, klass)) { 420 if (!will_link || can_not_compile_call_site(orig_callee, klass)) {
416 #ifndef PRODUCT 421 #ifndef PRODUCT
417 if (PrintOpto && (Verbose || WizardMode)) { 422 if (PrintOpto && (Verbose || WizardMode)) {