< prev index next >

src/share/vm/ci/ciReplay.cpp

Print this page

        

*** 27,37 **** #include "ci/ciReplay.hpp" #include "ci/ciSymbol.hpp" #include "ci/ciKlass.hpp" #include "ci/ciUtilities.hpp" #include "compiler/compileBroker.hpp" - #include "gc/shared/referencePendingListLocker.hpp" #include "memory/allocation.inline.hpp" #include "memory/oopFactory.hpp" #include "memory/resourceArea.hpp" #include "oops/oop.inline.hpp" #include "utilities/copy.hpp" --- 27,36 ----
*** 574,586 **** // ciMethodData <klass> <name> <signature> <state> <current mileage> orig <length> # # ... data <length> # # ... oops <length> # ... methods <length> void process_ciMethodData(TRAPS) { Method* method = parse_method(CHECK); if (had_error()) return; /* just copied from Method, to build interpret data*/ ! if (ReferencePendingListLocker::is_locked_by_self()) { ! return; ! } // To be properly initialized, some profiling in the MDO needs the // method to be rewritten (number of arguments at a call for // instance) method->method_holder()->link_class(CHECK); // methodOopDesc::build_interpreter_method_data(method, CHECK); --- 573,583 ---- // ciMethodData <klass> <name> <signature> <state> <current mileage> orig <length> # # ... data <length> # # ... oops <length> # ... methods <length> void process_ciMethodData(TRAPS) { Method* method = parse_method(CHECK); if (had_error()) return; /* just copied from Method, to build interpret data*/ ! // To be properly initialized, some profiling in the MDO needs the // method to be rewritten (number of arguments at a call for // instance) method->method_holder()->link_class(CHECK); // methodOopDesc::build_interpreter_method_data(method, CHECK);
< prev index next >