Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8264972

Unused TypeFunc declared in OptoRuntime

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 17
    • 17
    • hotspot
    • b18

      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?

            yyang Yi Yang
            yyang Yi Yang
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: