< prev index next >

src/java.base/share/classes/java/lang/ref/FinalizerHistogram.java

Print this page

        

@@ -70,11 +70,11 @@
                    the chances of false retention with a conservative GC */
                 referent = null;
             }
         });
 
-        Entry fhe[] = countMap.values().toArray(new Entry[countMap.size()]);
+        Entry[] fhe = countMap.values().toArray(new Entry[countMap.size()]);
         Arrays.sort(fhe,
                 Comparator.comparingInt(Entry::getInstanceCount).reversed());
         return fhe;
     }
 }
< prev index next >