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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 9
    • 9
    • hotspot
    • gc
    • b115

      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)

            pliden Per Liden (Inactive)
            jwilhelm Jesper Wilhelmsson
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: