Integrated: 8264972: Unused TypeFunc declared in OptoRuntime

Yi Yang yyang at
Mon Apr 12 08:45:16 UTC 2021

On Mon, 12 Apr 2021 03:18:33 GMT, Yi Yang <yyang at> 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.)

This pull request has now been integrated.

Changeset: ecef1fc8
Author:    Yi Yang <yyang at>
Committer: Aleksey Shipilev <shade at>
Stats:     8 lines in 1 file changed: 0 ins; 8 del; 0 mod

8264972: Unused TypeFunc declared in OptoRuntime

Reviewed-by: thartmann, shade



More information about the hotspot-compiler-dev mailing list