comparison src/share/vm/graal/graalCodeInstaller.hpp @ 9338:0266549ff6e0

added support from compiled stubs to be installed as RuntimeStubs and to be able to directly call C/C++ runtime functions (GRAAL-81) replaced NewArraySlowStubCall with NewArrayRuntimeCall using this support
author Doug Simon <doug.simon@oracle.com>
date Fri, 26 Apr 2013 18:36:41 +0200
parents 2979aaac95af
children 18632807db02
comparison
equal deleted inserted replaced
9337:e1200d5141fa 9338:0266549ff6e0
49 }; 49 };
50 50
51 Arena _arena; 51 Arena _arena;
52 52
53 oop _comp_result; 53 oop _comp_result;
54 oop _name; 54 oop _stubName;
55 arrayOop _sites; 55 arrayOop _sites;
56 arrayOop _exception_handlers; 56 arrayOop _exception_handlers;
57 CodeOffsets _offsets; 57 CodeOffsets _offsets;
58 58
59 arrayOop _code; 59 arrayOop _code;
74 Dependencies* _dependencies; 74 Dependencies* _dependencies;
75 ExceptionHandlerTable _exception_handler_table; 75 ExceptionHandlerTable _exception_handler_table;
76 76
77 public: 77 public:
78 78
79 // constructor used to create a method 79 CodeInstaller(Handle& comp_result, methodHandle method, GraalEnv::CodeInstallResult& result, CodeBlob*& cb, Handle installed_code, Handle triggered_deoptimizations);
80 CodeInstaller(Handle& comp_result, methodHandle method, GraalEnv::CodeInstallResult& result, nmethod*& nm, Handle installed_code, Handle triggered_deoptimizations);
81
82 // constructor used to create a stub
83 CodeInstaller(Handle& target_method, BufferBlob*& blob, jlong& id);
84 80
85 static address runtime_call_target_address(oop runtime_call); 81 static address runtime_call_target_address(oop runtime_call);
86 82
87 private: 83 private:
88 // extract the fields of the CompilationResult 84 // extract the fields of the CompilationResult