< prev index next >

src/hotspot/share/ci/ciMethod.cpp

Print this page

        

*** 931,940 **** --- 931,947 ---- check_is_loaded(); VM_ENTRY_MARK; return get_Method()->is_ignored_by_security_stack_walk(); } + // ------------------------------------------------------------------ + // ciMethod::needs_clinit_barrier + // + bool ciMethod::needs_clinit_barrier() const { + check_is_loaded(); + return is_static() && !holder()->is_initialized(); + } // ------------------------------------------------------------------ // invokedynamic support // ------------------------------------------------------------------
< prev index next >