src/hotspot/share/aot/aotCodeHeap.cpp
changeset 51341 09cc8813ae51
parent 51206 14b870bda24f
child 51444 3e5d28e6de32
equal deleted inserted replaced
51340:818768cd1c6c 51341:09cc8813ae51
   712 }
   712 }
   713 
   713 
   714 void AOTCodeHeap::sweep_method(AOTCompiledMethod *aot) {
   714 void AOTCodeHeap::sweep_method(AOTCompiledMethod *aot) {
   715   int indexes[] = {aot->method_index()};
   715   int indexes[] = {aot->method_index()};
   716   sweep_dependent_methods(indexes, 1);
   716   sweep_dependent_methods(indexes, 1);
   717   vmassert(aot->method()->code() != aot && aot->method()->aot_code() == NULL, "method still active");
   717   vmassert(aot->method()->code() != aot TIERED_ONLY( && aot->method()->aot_code() == NULL), "method still active");
   718 }
   718 }
   719 
   719 
   720 
   720 
   721 bool AOTCodeHeap::load_klass_data(InstanceKlass* ik, Thread* thread) {
   721 bool AOTCodeHeap::load_klass_data(InstanceKlass* ik, Thread* thread) {
   722   ResourceMark rm;
   722   ResourceMark rm;