Mercurial > hg > truffle
comparison src/share/vm/interpreter/interpreterRuntime.cpp @ 4979:18a5539bf19b
More diff vs hsx24 optimizations.
author | Thomas Wuerthinger <thomas.wuerthinger@oracle.com> |
---|---|
date | Mon, 27 Feb 2012 21:43:51 +0100 |
parents | 33df1aeaebbf |
children | 957c266d8bc5 |
comparison
equal
deleted
inserted
replaced
4978:99d3d8a72252 | 4979:18a5539bf19b |
---|---|
443 should_repeat = true; | 443 should_repeat = true; |
444 } | 444 } |
445 } | 445 } |
446 } while (should_repeat == true); | 446 } while (should_repeat == true); |
447 | 447 |
448 #ifdef GRAAL | |
448 if (h_method->method_data() != NULL) { | 449 if (h_method->method_data() != NULL) { |
449 ResourceMark rm(thread); | 450 ResourceMark rm(thread); |
450 ProfileData* pdata = h_method->method_data()->allocate_bci_to_data(current_bci); | 451 ProfileData* pdata = h_method->method_data()->allocate_bci_to_data(current_bci); |
451 if (pdata != NULL) { | 452 if (pdata != NULL) { |
452 int tstate0 = pdata->trap_state(); | 453 int tstate0 = pdata->trap_state(); |
454 if (tstate1 != tstate0) { | 455 if (tstate1 != tstate0) { |
455 pdata->set_trap_state(tstate1); | 456 pdata->set_trap_state(tstate1); |
456 } | 457 } |
457 } | 458 } |
458 } | 459 } |
460 #endif | |
459 | 461 |
460 // notify JVMTI of an exception throw; JVMTI will detect if this is a first | 462 // notify JVMTI of an exception throw; JVMTI will detect if this is a first |
461 // time throw or a stack unwinding throw and accordingly notify the debugger | 463 // time throw or a stack unwinding throw and accordingly notify the debugger |
462 if (JvmtiExport::can_post_on_exceptions()) { | 464 if (JvmtiExport::can_post_on_exceptions()) { |
463 JvmtiExport::post_exception_throw(thread, h_method(), bcp(thread), h_exception()); | 465 JvmtiExport::post_exception_throw(thread, h_method(), bcp(thread), h_exception()); |