< prev index next >

test/hotspot/jtreg/gc/cms/TestMBeanCMS.java

8217332: JTREG: Clean up, use generics instead of raw types
     }
 
     public void allocationWork(long target) {
 
         long sizeAllocated = 0;
-        List list = new LinkedList();
+        List<byte[]> list = new LinkedList<>();
         long delay = 50;
         long count = 0;
 
         while (sizeAllocated < target) {
             int size = 1024*1024;
    
< prev index next >