Mercurial > hg > truffle
comparison src/share/vm/graal/graalRuntime.hpp @ 9352:d4684b468e93
made NewInstanceStub a RuntimeStub that directly calls the C runtime (GRAAL-81)
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Sat, 27 Apr 2013 00:32:22 +0200 |
parents | 0266549ff6e0 |
children | 3a94641c9e69 |
comparison
equal
deleted
inserted
replaced
9351:4bf3af9abdfb | 9352:d4684b468e93 |
---|---|
131 | 131 |
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); | |
137 static void new_multi_array(JavaThread* thread, Klass* klass, int rank, jint* dims); | 136 static void new_multi_array(JavaThread* thread, Klass* klass, int rank, jint* dims); |
138 | 137 |
139 static void unimplemented_entry(JavaThread* thread, StubID id); | 138 static void unimplemented_entry(JavaThread* thread, StubID id); |
140 | 139 |
141 static address exception_handler_for_pc(JavaThread* thread); | 140 static address exception_handler_for_pc(JavaThread* thread); |
161 LOG_OBJECT_ADDRESS = 0x04 | 160 LOG_OBJECT_ADDRESS = 0x04 |
162 }; | 161 }; |
163 static void log_object(JavaThread* thread, oop msg, jint flags); | 162 static void log_object(JavaThread* thread, oop msg, jint flags); |
164 | 163 |
165 public: | 164 public: |
165 static void new_instance(JavaThread* thread, Klass* klass); | |
166 static void new_array(JavaThread* thread, Klass* klass, jint length); | 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 |