< prev index next >

test/hotspot/jtreg/serviceability/tmtools/jstat/utils/JstatGcNewResults.java

Print this page

        

@@ -1,7 +1,7 @@
 /*
- * Copyright (c) 2015, 2017, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2015, 2018, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
  * under the terms of the GNU General Public License version 2 only, as
  * published by the Free Software Foundation.

@@ -75,14 +75,10 @@
         assertThat(EU <= EC, "EU > EC (utilization > capacity)");
 
         int YGC = getIntValue("YGC");
         float YGCT = getFloatValue("YGCT");
 
-        if (YGC > 0) {
-            assertThat(YGCT > 0, "Number of young generation GC Events is " + YGC + ", but YGCT is 0");
-        }
-
         int TT = getIntValue("TT");
         int MTT = getIntValue("MTT");
         assertThat(TT <= MTT, "TT > MTT (tenuring threshold > maximum tenuring threshold)");
     }
 }
< prev index next >