comparison src/share/vm/graal/graalRuntime.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 bb2447c64055
children d4684b468e93
comparison
equal deleted inserted replaced
9337:e1200d5141fa 9338:0266549ff6e0
132 static OopMapSet* generate_stub_call(GraalStubAssembler* sasm, Register result, address entry, 132 static OopMapSet* generate_stub_call(GraalStubAssembler* sasm, Register result, address entry,
133 Register arg1 = noreg, Register arg2 = noreg, Register arg3 = noreg); 133 Register arg1 = noreg, Register arg2 = noreg, Register arg3 = noreg);
134 134
135 // runtime entry points 135 // runtime entry points
136 static void new_instance(JavaThread* thread, Klass* klass); 136 static void new_instance(JavaThread* thread, Klass* klass);
137 static void new_array(JavaThread* thread, Klass* klass, jint length);
138 static void new_multi_array(JavaThread* thread, Klass* klass, int rank, jint* dims); 137 static void new_multi_array(JavaThread* thread, Klass* klass, int rank, jint* dims);
139 138
140 static void unimplemented_entry(JavaThread* thread, StubID id); 139 static void unimplemented_entry(JavaThread* thread, StubID id);
141 140
142 static address exception_handler_for_pc(JavaThread* thread); 141 static address exception_handler_for_pc(JavaThread* thread);
162 LOG_OBJECT_ADDRESS = 0x04 161 LOG_OBJECT_ADDRESS = 0x04
163 }; 162 };
164 static void log_object(JavaThread* thread, oop msg, jint flags); 163 static void log_object(JavaThread* thread, oop msg, jint flags);
165 164
166 public: 165 public:
166 static void new_array(JavaThread* thread, Klass* klass, jint length);
167 // initialization 167 // initialization
168 static void initialize(BufferBlob* blob); 168 static void initialize(BufferBlob* blob);
169 169
170 // stubs 170 // stubs
171 static CodeBlob* blob_for (StubID id); 171 static CodeBlob* blob_for (StubID id);