提交 b02da740 编写于 作者: I iveresov

8057750: CTW should not make MH intrinsics not entrant

Summary: Do not make MH intrinsics not entrant in CTW
Reviewed-by: kvn, vlivanov
上级 38fd234f
......@@ -1609,7 +1609,7 @@ void ClassLoader::compile_the_world_in(char* name, Handle loader, TRAPS) {
if (TieredCompilation && TieredStopAtLevel >= CompLevel_full_optimization) {
// Clobber the first compile and force second tier compilation
nmethod* nm = m->code();
if (nm != NULL) {
if (nm != NULL && !m->is_method_handle_intrinsic()) {
// Throw out the code so that the code cache doesn't fill up
nm->make_not_entrant();
m->clear_code();
......@@ -1628,7 +1628,7 @@ void ClassLoader::compile_the_world_in(char* name, Handle loader, TRAPS) {
}
nmethod* nm = m->code();
if (nm != NULL) {
if (nm != NULL && !m->is_method_handle_intrinsic()) {
// Throw out the code so that the code cache doesn't fill up
nm->make_not_entrant();
m->clear_code();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册