mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-20 19:14:38 +02:00
7091764: Tiered: enable aastore profiling
Turn on aastore profiling Reviewed-by: jrose, twisti
This commit is contained in:
parent
e3faa527bd
commit
9661feecbc
4 changed files with 16 additions and 7 deletions
|
@ -1394,8 +1394,15 @@ void LIR_List::instanceof(LIR_Opr result, LIR_Opr object, ciKlass* klass, LIR_Op
|
|||
}
|
||||
|
||||
|
||||
void LIR_List::store_check(LIR_Opr object, LIR_Opr array, LIR_Opr tmp1, LIR_Opr tmp2, LIR_Opr tmp3, CodeEmitInfo* info_for_exception) {
|
||||
append(new LIR_OpTypeCheck(lir_store_check, object, array, tmp1, tmp2, tmp3, info_for_exception));
|
||||
void LIR_List::store_check(LIR_Opr object, LIR_Opr array, LIR_Opr tmp1, LIR_Opr tmp2, LIR_Opr tmp3,
|
||||
CodeEmitInfo* info_for_exception, ciMethod* profiled_method, int profiled_bci) {
|
||||
LIR_OpTypeCheck* c = new LIR_OpTypeCheck(lir_store_check, object, array, tmp1, tmp2, tmp3, info_for_exception);
|
||||
if (profiled_method != NULL) {
|
||||
c->set_profiled_method(profiled_method);
|
||||
c->set_profiled_bci(profiled_bci);
|
||||
c->set_should_profile(true);
|
||||
}
|
||||
append(c);
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue