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

TestSelectDefaultGC.java incorrectly expects G1 on non-server class machines

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 9
    • Fix Version/s: 9
    • Component/s: hotspot
    • Subcomponent:
      gc
    • Resolved In Build:
      b115

      Description

      G1 is not the default collector on non-server class machines. hotspot/test/gc/arguments/TestSelectDefaultGC.java seems to think it is.

      java.lang.RuntimeException: ' UseG1GC .*=.* true ' missing from stdout/stderr

      at jdk.test.lib.OutputAnalyzer.shouldMatch(OutputAnalyzer.java:229)
      at TestSelectDefaultGC.assertVMOption(TestSelectDefaultGC.java:40)
      at TestSelectDefaultGC.main(TestSelectDefaultGC.java:54)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:520)
      at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:92)
      at java.lang.Thread.run(Thread.java:804)

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                pliden Per Liden
                Reporter:
                jwilhelm Jesper Wilhelmsson
              • Votes:
                0 Vote for this issue
                Watchers:
                7 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: