equal
deleted
inserted
replaced
27 #include "ci/ciReplay.hpp" |
27 #include "ci/ciReplay.hpp" |
28 #include "ci/ciSymbol.hpp" |
28 #include "ci/ciSymbol.hpp" |
29 #include "ci/ciKlass.hpp" |
29 #include "ci/ciKlass.hpp" |
30 #include "ci/ciUtilities.hpp" |
30 #include "ci/ciUtilities.hpp" |
31 #include "compiler/compileBroker.hpp" |
31 #include "compiler/compileBroker.hpp" |
32 #include "gc/shared/referencePendingListLocker.hpp" |
|
33 #include "memory/allocation.inline.hpp" |
32 #include "memory/allocation.inline.hpp" |
34 #include "memory/oopFactory.hpp" |
33 #include "memory/oopFactory.hpp" |
35 #include "memory/resourceArea.hpp" |
34 #include "memory/resourceArea.hpp" |
36 #include "oops/oop.inline.hpp" |
35 #include "oops/oop.inline.hpp" |
37 #include "utilities/copy.hpp" |
36 #include "utilities/copy.hpp" |
575 // ciMethodData <klass> <name> <signature> <state> <current mileage> orig <length> # # ... data <length> # # ... oops <length> # ... methods <length> |
574 // ciMethodData <klass> <name> <signature> <state> <current mileage> orig <length> # # ... data <length> # # ... oops <length> # ... methods <length> |
576 void process_ciMethodData(TRAPS) { |
575 void process_ciMethodData(TRAPS) { |
577 Method* method = parse_method(CHECK); |
576 Method* method = parse_method(CHECK); |
578 if (had_error()) return; |
577 if (had_error()) return; |
579 /* just copied from Method, to build interpret data*/ |
578 /* just copied from Method, to build interpret data*/ |
580 if (ReferencePendingListLocker::is_locked_by_self()) { |
579 |
581 return; |
|
582 } |
|
583 // To be properly initialized, some profiling in the MDO needs the |
580 // To be properly initialized, some profiling in the MDO needs the |
584 // method to be rewritten (number of arguments at a call for |
581 // method to be rewritten (number of arguments at a call for |
585 // instance) |
582 // instance) |
586 method->method_holder()->link_class(CHECK); |
583 method->method_holder()->link_class(CHECK); |
587 // methodOopDesc::build_interpreter_method_data(method, CHECK); |
584 // methodOopDesc::build_interpreter_method_data(method, CHECK); |