< prev index next >

test/hotspot/jtreg/testlibrary_tests/ir_framework/tests/TestIRMatching.java

Print this page
*** 766,12 ***
          x = 3; // long
          myClass.x = 4; // int
      }
  
      @Test
!     @IR(counts = {IRNode.STORE_OF_FIELD, "myClassEmpty", "1", IRNode.STORE_OF_CLASS, "GoodCount", "1",
!                   IRNode.STORE_OF_CLASS, "/GoodCount", "1", IRNode.STORE_OF_CLASS, "MyClassEmpty", "0"},
          failOn = {IRNode.STORE_OF_CLASS, "MyClassEmpty"})
      public void good6() {
          myClassEmpty = new MyClassEmpty();
      }
  
--- 766,21 ---
          x = 3; // long
          myClass.x = 4; // int
      }
  
      @Test
!     @IR(counts = {
!             IRNode.STORE_OF_FIELD, "myClassEmpty", "1",
+             IRNode.STORE_OF_CLASS, "oodCount", "0",
+             IRNode.STORE_OF_CLASS, "GoodCount", "1",
+             IRNode.STORE_OF_CLASS, "/GoodCount", "1",
+             IRNode.STORE_OF_CLASS, "tests/GoodCount", "1",
+             IRNode.STORE_OF_CLASS, "/tests/GoodCount", "1",
+             IRNode.STORE_OF_CLASS, "ir_framework/tests/GoodCount", "1",
+             IRNode.STORE_OF_CLASS, "/ir_framework/tests/GoodCount", "0",
+             IRNode.STORE_OF_CLASS, "MyClassEmpty", "0"
+         },
          failOn = {IRNode.STORE_OF_CLASS, "MyClassEmpty"})
      public void good6() {
          myClassEmpty = new MyClassEmpty();
      }
  
< prev index next >