Map inventory2 = jvmti.produceInventory();
validateInstances(jvmti, FailoverValve2.class, inventory2, 1);
validateInstances(jvmti, ClientConsumer.class, inventory2, 1);
assertTrue("Test produced unexpected objects", jvmti.compareInventories(System.out,
inventory1, inventory2, null, null,
new InventoryDataPoint[]{new InventoryDataPoint(java.lang.ref.SoftReference.class, 10),
new InventoryDataPoint(jvmti.getClassByName("java.io.ObjectStreamClass$WeakClassKey"), 100),
new InventoryDataPoint(jvmti.getClassByName("java.util.concurrent.ConcurrentHashMap$HashEntry"), 100),
new InventoryDataPoint(jvmti.getClassByName("java.util.WeakHashMap$Entry"), 500)