comparison src/share/vm/runtime/javaCalls.cpp @ 9023:f94bb5d20e5d

Rename MethodInvalidatedException to InvalidInstalledCodeException (and make it a checked exception). Make sure that a compiled code object can always be directly called without first doing a check on the native method pointer.
author Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
date Thu, 11 Apr 2013 17:36:46 +0200
parents b8f261ba79c6
children cefad50507d8
comparison
equal deleted inserted replaced
9002:7844a36d0216 9023:f94bb5d20e5d
410 if (nm != NULL) { 410 if (nm != NULL) {
411 if (nm->is_alive()) { 411 if (nm->is_alive()) {
412 ((JavaThread*) THREAD)->set_graal_alternate_call_target(nm->verified_entry_point()); 412 ((JavaThread*) THREAD)->set_graal_alternate_call_target(nm->verified_entry_point());
413 entry_point = method->adapter()->get_i2c_entry(); 413 entry_point = method->adapter()->get_i2c_entry();
414 } else { 414 } else {
415 THROW(vmSymbols::MethodInvalidatedException()); 415 THROW(vmSymbols::com_oracle_graal_api_code_InvalidInstalledCodeException());
416 } 416 }
417 } 417 }
418 #endif 418 #endif
419 419
420 // do call 420 // do call