Mercurial > hg > truffle
comparison src/share/vm/code/compiledIC.cpp @ 20432:aff6ccb506cb
8056154: JVM crash with EXCEPTION_ACCESS_VIOLATION when there are many threads running
Summary: Don't make compiled MH intrinsics not entrant when redefining classes
Reviewed-by: kvn, vlivanov
author | iveresov |
---|---|
date | Fri, 05 Sep 2014 14:39:45 -0700 |
parents | 2c6ef90f030a |
children | 7848fc12602b |
comparison
equal
deleted
inserted
replaced
20428:4d8781a35525 | 20432:aff6ccb506cb |
---|---|
593 info._to_interpreter = false; | 593 info._to_interpreter = false; |
594 info._entry = m_code->verified_entry_point(); | 594 info._entry = m_code->verified_entry_point(); |
595 } else { | 595 } else { |
596 // Callee is interpreted code. In any case entering the interpreter | 596 // Callee is interpreted code. In any case entering the interpreter |
597 // puts a converter-frame on the stack to save arguments. | 597 // puts a converter-frame on the stack to save arguments. |
598 assert(!m->is_method_handle_intrinsic(), "Compiled code should never call interpreter MH intrinsics"); | |
598 info._to_interpreter = true; | 599 info._to_interpreter = true; |
599 info._entry = m()->get_c2i_entry(); | 600 info._entry = m()->get_c2i_entry(); |
600 } | 601 } |
601 } | 602 } |
602 | 603 |