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

C2: Remove unused enum in CallGenerator

    XMLWordPrintable

    Details

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

      Description

      Static code inspection complains the enum below is unused.

      diff -r 13fdf97f0a8f src/hotspot/share/opto/callGenerator.hpp
      --- a/src/hotspot/share/opto/callGenerator.hpp Mon Aug 24 09:35:23 2020 +0200
      +++ b/src/hotspot/share/opto/callGenerator.hpp Tue Aug 25 09:23:47 2020 +0200
      @@ -34,15 +34,10 @@
       //---------------------------CallGenerator-------------------------------------
       // The subclasses of this class handle generation of ideal nodes for
       // call sites and method entry points.
       
       class CallGenerator : public ResourceObj {
      - public:
      - enum {
      - xxxunusedxxx
      - };
      -
        private:
         ciMethod* _method; // The method being called.
       
        protected:
         CallGenerator(ciMethod* method) : _method(method) {}

        Attachments

          Activity

            People

            Assignee:
            shade Aleksey Shipilev
            Reporter:
            shade Aleksey Shipilev
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: