8226822: GC interface for C1 runtime calls

Reviewed-by: neliasso, roland
This commit is contained in:
Roman Kennke 2019-07-04 17:02:17 +02:00
parent c4213848c0
commit 4b821f00f3
2 changed files with 8 additions and 0 deletions

View File

@ -294,6 +294,12 @@ const char* Runtime1::name_for_address(address entry) {
if (entry == entry_for((StubID)id)) return name_for((StubID)id);
}
BarrierSetC1* bsc1 = BarrierSet::barrier_set()->barrier_set_c1();
const char* name = bsc1->rtcall_name_for_address(entry);
if (name != NULL) {
return name;
}
#define FUNCTION_CASE(a, f) \
if ((intptr_t)a == CAST_FROM_FN_PTR(intptr_t, f)) return #f

View File

@ -137,6 +137,8 @@ public:
virtual LIR_Opr resolve(LIRGenerator* gen, DecoratorSet decorators, LIR_Opr obj);
virtual const char* rtcall_name_for_address(address entry) { return NULL; }
virtual void generate_c1_runtime_stubs(BufferBlob* buffer_blob) {}
};