equal
deleted
inserted
replaced
705 int methods_cnt = *(int*)methods_cnt_adr; |
705 int methods_cnt = *(int*)methods_cnt_adr; |
706 int* indexes = (int*)(methods_cnt_adr + 4); |
706 int* indexes = (int*)(methods_cnt_adr + 4); |
707 for (int i = 0; i < methods_cnt; ++i) { |
707 for (int i = 0; i < methods_cnt; ++i) { |
708 int code_id = indexes[i]; |
708 int code_id = indexes[i]; |
709 AOTCompiledMethod* aot = _code_to_aot[code_id]._aot; |
709 AOTCompiledMethod* aot = _code_to_aot[code_id]._aot; |
710 aot->mark_for_deoptimization(false); |
710 if (aot != NULL) { |
|
711 aot->mark_for_deoptimization(false); |
|
712 } |
711 } |
713 } |
712 } |
714 } |
713 } |
715 } |
714 |
716 |
715 void AOTCodeHeap::sweep_dependent_methods(int* indexes, int methods_cnt) { |
717 void AOTCodeHeap::sweep_dependent_methods(int* indexes, int methods_cnt) { |