hotspot/src/share/vm/code/compiledMethod.cpp
changeset 42040 70ec5a09a0d5
parent 39430 ab7acda033f4
child 42650 1f304d0c888b
equal deleted inserted replaced
42039:db627462f2c9 42040:70ec5a09a0d5
    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() {