< prev index next >

src/share/vm/code/nmethod.cpp

Print this page

        

*** 528,538 **** // Fill in default values for various flag fields void nmethod::init_defaults() { _state = in_use; _unloading_clock = 0; - _marked_for_reclamation = 0; _has_flushed_dependencies = 0; _has_unsafe_access = 0; _has_method_handle_invokes = 0; _lazy_critical_native = 0; _has_wide_vectors = 0; --- 528,537 ----
*** 1563,1574 **** void nmethod::flush() { // Note that there are no valid oops in the nmethod anymore. assert(!is_osr_method() || is_unloaded() || is_zombie(), "osr nmethod must be unloaded or zombie before flushing"); assert(is_zombie() || is_osr_method(), "must be a zombie method"); - assert(is_marked_for_reclamation() || is_osr_method(), "must be marked for reclamation"); - assert (!is_locked_by_vm(), "locked methods shouldn't be flushed"); assert_locked_or_safepoint(CodeCache_lock); // completely deallocate this method Events::log(JavaThread::current(), "flushing nmethod " INTPTR_FORMAT, p2i(this)); --- 1562,1571 ----
< prev index next >