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

Fix broken builds after JDK-8216424

XMLWordPrintable

    • b04

      JDK-8216424 removed the variable _total_visits, but left a use of it causing non-product builds to fail.

      Fix:

      diff --git a/src/hotspot/share/compiler/methodLiveness.cpp b/src/hotspot/share/compiler/methodLiveness.cpp
      --- a/src/hotspot/share/compiler/methodLiveness.cpp
      +++ b/src/hotspot/share/compiler/methodLiveness.cpp
      @@ -340,7 +340,6 @@
       
         while ((block = work_list_get()) != NULL) {
           block->propagate(this);
      - NOT_PRODUCT(_total_visits++;)
         }
       }
       

            pliden Per Liden (Inactive)
            pliden Per Liden (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: