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

Unused TypeFunc declared in OptoRuntime

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 17
    • Fix Version/s: 17
    • Component/s: hotspot
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b18

      Description

      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?

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved: