RFR: 8264972: Unused TypeFunc declared in OptoRuntime
Yi Yang
yyang at openjdk.java.net
Mon Apr 12 07:09:01 UTC 2021
On Mon, 12 Apr 2021 06:58:24 GMT, Tobias Hartmann <thartmann at openjdk.org> wrote:
>> When investigating some C2 related stuff, I noticed that some TypeFunc are declared in OptoRuntime since JDK6:
>>
>> // leaf on stack replacement interpreter accessor types
>> static const TypeFunc* fetch_int_Type();
>> static const TypeFunc* fetch_long_Type();
>> static const TypeFunc* fetch_float_Type();
>> static const TypeFunc* fetch_double_Type();
>> static const TypeFunc* fetch_oop_Type();
>> static const TypeFunc* fetch_monitor_Type();
>>
>> They are neither used nor implemented. It looks like we can remove them(I'm curious about their stories/history.)
>
> Good catch. Looks good and trivial to me.
Thank you Tobias. It's trivial indeed.
-------------
PR: https://git.openjdk.java.net/jdk/pull/3429
More information about the hotspot-compiler-dev
mailing list