29 #include "prims/methodHandles.hpp" |
29 #include "prims/methodHandles.hpp" |
30 #include "interpreter/bytecode.hpp" |
30 #include "interpreter/bytecode.hpp" |
31 #include "memory/resourceArea.hpp" |
31 #include "memory/resourceArea.hpp" |
32 #include "runtime/mutexLocker.hpp" |
32 #include "runtime/mutexLocker.hpp" |
33 |
33 |
34 CompiledMethod::CompiledMethod(Method* method, const char* name, const CodeBlobLayout& layout, int frame_complete_offset, int frame_size, ImmutableOopMapSet* oop_maps, bool caller_must_gc_arguments) |
34 CompiledMethod::CompiledMethod(Method* method, const char* name, CompilerType type, const CodeBlobLayout& layout, int frame_complete_offset, int frame_size, ImmutableOopMapSet* oop_maps, bool caller_must_gc_arguments) |
35 : CodeBlob(name, layout, frame_complete_offset, frame_size, oop_maps, caller_must_gc_arguments), |
35 : CodeBlob(name, type, layout, frame_complete_offset, frame_size, oop_maps, caller_must_gc_arguments), |
36 _method(method), _mark_for_deoptimization_status(not_marked) { |
36 _method(method), _mark_for_deoptimization_status(not_marked) { |
37 init_defaults(); |
37 init_defaults(); |
38 } |
38 } |
39 |
39 |
40 CompiledMethod::CompiledMethod(Method* method, const char* name, int size, int header_size, CodeBuffer* cb, int frame_complete_offset, int frame_size, OopMapSet* oop_maps, bool caller_must_gc_arguments) |
40 CompiledMethod::CompiledMethod(Method* method, const char* name, CompilerType type, int size, int header_size, CodeBuffer* cb, int frame_complete_offset, int frame_size, OopMapSet* oop_maps, bool caller_must_gc_arguments) |
41 : CodeBlob(name, CodeBlobLayout((address) this, size, header_size, cb), cb, frame_complete_offset, frame_size, oop_maps, caller_must_gc_arguments), |
41 : CodeBlob(name, type, CodeBlobLayout((address) this, size, header_size, cb), cb, frame_complete_offset, frame_size, oop_maps, caller_must_gc_arguments), |
42 _method(method), _mark_for_deoptimization_status(not_marked) { |
42 _method(method), _mark_for_deoptimization_status(not_marked) { |
43 init_defaults(); |
43 init_defaults(); |
44 } |
44 } |
45 |
45 |
46 void CompiledMethod::init_defaults() { |
46 void CompiledMethod::init_defaults() { |