8226822: GC interface for C1 runtime calls
Reviewed-by: neliasso, roland
This commit is contained in:
parent
c4213848c0
commit
4b821f00f3
@ -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
|
||||
|
||||
|
@ -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) {}
|
||||
};
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user