jdk/src/share/classes/sun/management/GcInfoBuilder.java
changeset 11530 a9d059c15b80
parent 5506 202f599c92aa
child 14342 8435a30053c1
equal deleted inserted replaced
11529:e08d565262ce 11530:a9d059c15b80
   102         int numGcInfoItems = gcInfoItemNames.length;
   102         int numGcInfoItems = gcInfoItemNames.length;
   103 
   103 
   104         int itemCount = numGcInfoItems + gcExtItemCount;
   104         int itemCount = numGcInfoItems + gcExtItemCount;
   105         allItemNames = new String[itemCount];
   105         allItemNames = new String[itemCount];
   106         String[] allItemDescs = new String[itemCount];
   106         String[] allItemDescs = new String[itemCount];
   107         OpenType[] allItemTypes = new OpenType[itemCount];
   107         OpenType<?>[] allItemTypes = new OpenType<?>[itemCount];
   108 
   108 
   109         System.arraycopy(gcInfoItemNames, 0, allItemNames, 0, numGcInfoItems);
   109         System.arraycopy(gcInfoItemNames, 0, allItemNames, 0, numGcInfoItems);
   110         System.arraycopy(gcInfoItemNames, 0, allItemDescs, 0, numGcInfoItems);
   110         System.arraycopy(gcInfoItemNames, 0, allItemDescs, 0, numGcInfoItems);
   111         System.arraycopy(gcInfoItemTypes, 0, allItemTypes, 0, numGcInfoItems);
   111         System.arraycopy(gcInfoItemTypes, 0, allItemTypes, 0, numGcInfoItems);
   112 
   112