8043070: nmethod::verify_interrupt_point() shouldn't enter safepoint

Introduce not_installed state for nmethods

Reviewed-by: dlong
This commit is contained in:
Igor Veresov 2017-11-20 19:00:22 -08:00
parent 61a6cba43c
commit 2811fa2e82
8 changed files with 24 additions and 17 deletions

View file

@ -64,6 +64,8 @@ bool CompiledMethod::is_method_handle_return(address return_pc) {
const char* CompiledMethod::state() const {
int state = get_state();
switch (state) {
case not_installed:
return "not installed";
case in_use:
return "in use";
case not_used: