RFR: 8264972: Unused TypeFunc declared in OptoRuntime
Yi Yang
yyang at openjdk.java.net
Mon Apr 12 03:34:05 UTC 2021
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 not used nor implemented. It looks like we can remove them(I'm curious about their stories/history.)
-------------
Commit messages:
- remove unused TypeFunc
Changes: https://git.openjdk.java.net/jdk/pull/3429/files
Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=3429&range=00
Issue: https://bugs.openjdk.java.net/browse/JDK-8264972
Stats: 8 lines in 1 file changed: 0 ins; 8 del; 0 mod
Patch: https://git.openjdk.java.net/jdk/pull/3429.diff
Fetch: git fetch https://git.openjdk.java.net/jdk pull/3429/head:pull/3429
PR: https://git.openjdk.java.net/jdk/pull/3429
More information about the hotspot-compiler-dev
mailing list