Mercurial > hg > truffle
comparison src/share/vm/runtime/sharedRuntime.cpp @ 8001:db9981fd3124
8005915: Unify SERIALGC and INCLUDE_ALTERNATE_GCS
Summary: Rename INCLUDE_ALTERNATE_GCS to INCLUDE_ALL_GCS and replace SERIALGC with INCLUDE_ALL_GCS.
Reviewed-by: coleenp, stefank
author | jprovino |
---|---|
date | Wed, 23 Jan 2013 13:02:39 -0500 |
parents | 0c8717a92b2d |
children | df8462fbe585 |
comparison
equal
deleted
inserted
replaced
7619:46e60405583b | 8001:db9981fd3124 |
---|---|
54 #include "runtime/vframeArray.hpp" | 54 #include "runtime/vframeArray.hpp" |
55 #include "utilities/copy.hpp" | 55 #include "utilities/copy.hpp" |
56 #include "utilities/dtrace.hpp" | 56 #include "utilities/dtrace.hpp" |
57 #include "utilities/events.hpp" | 57 #include "utilities/events.hpp" |
58 #include "utilities/hashtable.inline.hpp" | 58 #include "utilities/hashtable.inline.hpp" |
59 #include "utilities/macros.hpp" | |
59 #include "utilities/xmlstream.hpp" | 60 #include "utilities/xmlstream.hpp" |
60 #ifdef TARGET_ARCH_x86 | 61 #ifdef TARGET_ARCH_x86 |
61 # include "nativeInst_x86.hpp" | 62 # include "nativeInst_x86.hpp" |
62 # include "vmreg_x86.inline.hpp" | 63 # include "vmreg_x86.inline.hpp" |
63 #endif | 64 #endif |
210 tty->print_cr ("Total IC misses: %7d", tot_misses); | 211 tty->print_cr ("Total IC misses: %7d", tot_misses); |
211 } | 212 } |
212 } | 213 } |
213 #endif // PRODUCT | 214 #endif // PRODUCT |
214 | 215 |
215 #ifndef SERIALGC | 216 #if INCLUDE_ALL_GCS |
216 | 217 |
217 // G1 write-barrier pre: executed before a pointer store. | 218 // G1 write-barrier pre: executed before a pointer store. |
218 JRT_LEAF(void, SharedRuntime::g1_wb_pre(oopDesc* orig, JavaThread *thread)) | 219 JRT_LEAF(void, SharedRuntime::g1_wb_pre(oopDesc* orig, JavaThread *thread)) |
219 if (orig == NULL) { | 220 if (orig == NULL) { |
220 assert(false, "should be optimized out"); | 221 assert(false, "should be optimized out"); |
228 // G1 write-barrier post: executed after a pointer store. | 229 // G1 write-barrier post: executed after a pointer store. |
229 JRT_LEAF(void, SharedRuntime::g1_wb_post(void* card_addr, JavaThread* thread)) | 230 JRT_LEAF(void, SharedRuntime::g1_wb_post(void* card_addr, JavaThread* thread)) |
230 thread->dirty_card_queue().enqueue(card_addr); | 231 thread->dirty_card_queue().enqueue(card_addr); |
231 JRT_END | 232 JRT_END |
232 | 233 |
233 #endif // !SERIALGC | 234 #endif // INCLUDE_ALL_GCS |
234 | 235 |
235 | 236 |
236 JRT_LEAF(jlong, SharedRuntime::lmul(jlong y, jlong x)) | 237 JRT_LEAF(jlong, SharedRuntime::lmul(jlong y, jlong x)) |
237 return x * y; | 238 return x * y; |
238 JRT_END | 239 JRT_END |