--- old/src/hotspot/share/aot/aotCodeHeap.cpp 2019-02-07 14:34:55.853545924 -0500 +++ new/src/hotspot/share/aot/aotCodeHeap.cpp 2019-02-07 14:34:55.445545938 -0500 @@ -707,7 +707,9 @@ for (int i = 0; i < methods_cnt; ++i) { int code_id = indexes[i]; AOTCompiledMethod* aot = _code_to_aot[code_id]._aot; - aot->mark_for_deoptimization(false); + if (aot != NULL) { + aot->mark_for_deoptimization(false); + } } } }