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

gc/TestVerifySubSet.java wasn't expecting the word "threads"

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3
    • Resolution: Duplicate
    • Affects Version/s: 10
    • Fix Version/s: 10
    • Component/s: hotspot
    • Labels:
    • Subcomponent:
      gc

      Description

      java -cp ... -Xmixed -server -XX:+UnlockCommercialFeatures -XX:+UseDeterministicG1GC -XX:+UseG1GC -XX:MaxRAMFraction=8 -XX:+CreateCoredumpOnCrash -XX:+IgnoreUnrecognizedVMOptions -XX:+UnlockDiagnosticVMOptions -XX:+VerifyBeforeGC -XX:+VerifyAfterGC -Xlog:gc+verify=debug -XX:VerifySubSet=hello, threads, codecache, metaspace RunSystemGC
      Output:
      Error occurred during initialization of VM
      VerifySubSet: 'hello' memory sub-system is unknown, please correct it
      Java HotSpot(TM) 64-Bit Server VM warning: If the number of processors is expected to increase from one, then you should configure the number of parallel GC threads appropriately using -XX:ParallelGCThreads=N


      java.lang.RuntimeException: 'Threads' found in stderr

      at jdk.test.lib.process.OutputAnalyzer.shouldNotContain(OutputAnalyzer.java:181)
      at TestVerifySubSet.main(TestVerifySubSet.java:81)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.base/java.lang.reflect.Method.invoke(Method.java:564)
      at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:115)
      at java.base/java.lang.Thread.run(Thread.java:844)

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                jwilhelm Jesper Wilhelmsson
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: