< prev index next >

src/share/vm/ci/ciReplay.cpp

Print this page
rev 11747 : [mq]: per.hotspot.patch

*** 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 ----
*** 575,587 **** // 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); --- 574,584 ---- // 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 >