Unused code in rewriter.hpp

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Unresolved
    • Priority: P4
    • 27
    • Affects Version/s: None
    • Component/s: hotspot

      The following two methods are unused in the Rewriter class in src/hotspot/share/interpreter/rewriter.hpp:

        int cp_entry_to_cp_cache(int i) { assert(has_cp_cache(i), "oob"); return _cp_map.at(i); }
        bool has_cp_cache(int i) { return (uint) i < (uint) _cp_map.length() && _cp_map.at(i) >= 0; }

      The last usage(s) of these methods seems to have been removed in JDK-8301997.

            Assignee:
            Casper Norrbin
            Reporter:
            Joel Sikström
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: