Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8311214

[REDO] JDK-8047998 Abort the vm if MaxNewSize is not the same as NewSize when MaxHeapSize is the same as InitialHeapSize

XMLWordPrintable

    • gc

      Two tests are failing many times in Tier2 after JDK-8047998:

        10 gc/arguments/TestNewSizeFlags.java
        10 gc/arguments/TestVerifyBeforeAndAfterGCFlags.java

      so 20 failures per Tier2.

      Three tests are failing many times in Tier3 after JDK-8047998:

         4 compiler/runtime/Test8010927.java
         6 jdk/jfr/event/gc/detailed/TestPromotionFailedEventWithDefNew.java
         6 jdk/jfr/event/gc/detailed/TestPromotionFailedEventWithParallelScavenge.java

      so 16 failures per Tier3.

      The failures look like:

      ----------System.err:(18/994)----------
       stdout: [Error occurred during initialization of VM
      The MaxNewSize must be the same as NewSize because the MaxHeapSize and InitialHeapSize are the same.
      ];
       stderr: []
       exitValue = 1

      java.lang.RuntimeException: Expected to get exit value of [0], exit value is: [1]
      at jdk.test.lib.process.OutputAnalyzer.shouldHaveExitValue(OutputAnalyzer.java:490)
      at gc.arguments.TestVerifyBeforeAndAfterGCFlags.testVerifyFlags(TestVerifyBeforeAndAfterGCFlags.java:105)
      at gc.arguments.TestVerifyBeforeAndAfterGCFlags.main(TestVerifyBeforeAndAfterGCFlags.java:69)
      at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
      at java.base/java.lang.reflect.Method.invoke(Method.java:580)
      at com.sun.javatest.regtest.agent.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:333)
      at java.base/java.lang.Thread.run(Thread.java:1570)

      JavaTest Message: Test threw exception: java.lang.RuntimeException
      JavaTest Message: shutting down test

      result: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: Expected to get exit value of [0], exit value is: [1]

            gli Guoxiong Li
            dcubed Daniel Daugherty
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: