mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-21 03:24:38 +02:00
8200729: Conditional compilation of GCs
Reviewed-by: ehelin, coleenp, kvn, ihse
This commit is contained in:
parent
d1cf230fc1
commit
1cb95bd3d1
123 changed files with 661 additions and 447 deletions
|
@ -76,9 +76,9 @@
|
|||
#ifdef COMPILER1
|
||||
#include "c1/c1_Runtime1.hpp"
|
||||
#endif
|
||||
#if INCLUDE_ALL_GCS
|
||||
#if INCLUDE_G1GC
|
||||
#include "gc/g1/g1ThreadLocalData.hpp"
|
||||
#endif // INCLUDE_ALL_GCS
|
||||
#endif // INCLUDE_G1GC
|
||||
|
||||
// Shared stub locations
|
||||
RuntimeStub* SharedRuntime::_wrong_method_blob;
|
||||
|
@ -208,7 +208,7 @@ void SharedRuntime::print_ic_miss_histogram() {
|
|||
}
|
||||
#endif // PRODUCT
|
||||
|
||||
#if INCLUDE_ALL_GCS
|
||||
#if INCLUDE_G1GC
|
||||
|
||||
// G1 write-barrier pre: executed before a pointer store.
|
||||
JRT_LEAF(void, SharedRuntime::g1_wb_pre(oopDesc* orig, JavaThread *thread))
|
||||
|
@ -226,7 +226,7 @@ JRT_LEAF(void, SharedRuntime::g1_wb_post(void* card_addr, JavaThread* thread))
|
|||
G1ThreadLocalData::dirty_card_queue(thread).enqueue(card_addr);
|
||||
JRT_END
|
||||
|
||||
#endif // INCLUDE_ALL_GCS
|
||||
#endif // INCLUDE_G1GC
|
||||
|
||||
|
||||
JRT_LEAF(jlong, SharedRuntime::lmul(jlong y, jlong x))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue