Mercurial > hg > graal-jvmci-8
comparison src/share/vm/graal/graalRuntime.hpp @ 9595:db2125285960
replaced wb_pre_call and wb_post_call assembler stubs with compiled stubs (GRAAL-81)
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Tue, 07 May 2013 01:53:01 +0200 |
parents | 743326387173 |
children | aa8f3fc0a9a9 |
comparison
equal
deleted
inserted
replaced
9594:743326387173 | 9595:db2125285960 |
---|---|
76 | 76 |
77 // Holds all assembly stubs and VM | 77 // Holds all assembly stubs and VM |
78 // runtime routines needed by code code generated | 78 // runtime routines needed by code code generated |
79 // by Graal. | 79 // by Graal. |
80 #define GRAAL_STUBS(stub, last_entry) \ | 80 #define GRAAL_STUBS(stub, last_entry) \ |
81 stub(wb_pre_call) \ | |
82 stub(wb_post_call) \ | |
83 last_entry(number_of_ids) | 81 last_entry(number_of_ids) |
84 | 82 |
85 #define DECLARE_STUB_ID(x) x ## _id , | 83 #define DECLARE_STUB_ID(x) x ## _id , |
86 #define DECLARE_LAST_STUB_ID(x) x | 84 #define DECLARE_LAST_STUB_ID(x) x |
87 #define STUB_NAME(x) #x " GraalRuntime stub", | 85 #define STUB_NAME(x) #x " GraalRuntime stub", |
130 LOG_OBJECT_NEWLINE = 0x01, | 128 LOG_OBJECT_NEWLINE = 0x01, |
131 LOG_OBJECT_STRING = 0x02, | 129 LOG_OBJECT_STRING = 0x02, |
132 LOG_OBJECT_ADDRESS = 0x04 | 130 LOG_OBJECT_ADDRESS = 0x04 |
133 }; | 131 }; |
134 static void log_object(JavaThread* thread, oop msg, jint flags); | 132 static void log_object(JavaThread* thread, oop msg, jint flags); |
135 static void wb_pre_call(JavaThread* thread, oopDesc* obj); | 133 static void write_barrier_pre(JavaThread* thread, oopDesc* obj); |
136 static void wb_post_call(JavaThread* thread, oopDesc* obj, void* card); | 134 static void write_barrier_post(JavaThread* thread, oopDesc* obj, void* card); |
137 | 135 |
138 // initialization | 136 // initialization |
139 static void initialize(BufferBlob* blob); | 137 static void initialize(BufferBlob* blob); |
140 | 138 |
141 // stubs | 139 // stubs |