< prev index next >

src/hotspot/share/prims/jvmtiRedefineClasses.cpp

Print this page

        

*** 230,242 **** if (_any_class_has_resolved_methods) { bool trace_name_printed = false; ResolvedMethodTable::adjust_method_entries(&trace_name_printed); } ! // Set flag indicating that some invariants are no longer true. // See jvmtiExport.hpp for detailed explanation. ! JvmtiExport::set_has_redefined_a_class(); // check_class() is optionally called for product bits, but is // always called for non-product bits. #ifdef PRODUCT if (log_is_enabled(Trace, redefine, class, obsolete, metadata)) { --- 230,242 ---- if (_any_class_has_resolved_methods) { bool trace_name_printed = false; ResolvedMethodTable::adjust_method_entries(&trace_name_printed); } ! // Increment flag indicating that some invariants are no longer true. // See jvmtiExport.hpp for detailed explanation. ! JvmtiExport::increment_redefinition_count(); // check_class() is optionally called for product bits, but is // always called for non-product bits. #ifdef PRODUCT if (log_is_enabled(Trace, redefine, class, obsolete, metadata)) {
< prev index next >