1.1 --- a/src/share/vm/classfile/classLoader.cpp Thu Feb 02 00:29:28 2017 +0000 1.2 +++ b/src/share/vm/classfile/classLoader.cpp Mon Feb 06 23:36:58 2017 +0300 1.3 @@ -1627,7 +1627,6 @@ 1.4 if (nm != NULL && !m->is_method_handle_intrinsic()) { 1.5 // Throw out the code so that the code cache doesn't fill up 1.6 nm->make_not_entrant(); 1.7 - m->clear_code(); 1.8 } 1.9 CompileBroker::compile_method(m, InvocationEntryBci, CompLevel_full_optimization, 1.10 methodHandle(), 0, "CTW", THREAD); 1.11 @@ -1646,7 +1645,6 @@ 1.12 if (nm != NULL && !m->is_method_handle_intrinsic()) { 1.13 // Throw out the code so that the code cache doesn't fill up 1.14 nm->make_not_entrant(); 1.15 - m->clear_code(); 1.16 } 1.17 } 1.18 }