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

jdk/jfr/event/runtime/TestVMInfoEvent.java fails: Error occurred during initialization of VM Multiple garbage collectors selected

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P3 P3
    • 15
    • 15
    • hotspot
    • jfr
    • generic
    • generic

      Specifying a GC on the command line leads to:

      $ make run-test-only JTREG="VM_OPTIONS=-XX:+UseG1GC" TEST="jdk/jfr/event/runtime/TestVMInfoEvent.java"
      ...
      ACTION: main -- Failed. Unexpected exit from test [exit code: 1]
      REASON: User specified action: run main/othervm -XX:Flags=TestVMInfoEvent.flags -Xmx500m jdk.jfr.event.runtime.TestVMInfoEvent arg1 arg2
      TIME: 0.028 seconds
      messages:
      command: main -XX:Flags=TestVMInfoEvent.flags -Xmx500m jdk.jfr.event.runtime.TestVMInfoEvent arg1 arg2
      reason: User specified action: run main/othervm -XX:Flags=TestVMInfoEvent.flags -Xmx500m jdk.jfr.event.runtime.TestVMInfoEvent arg1 arg2
      Mode: othervm [/othervm specified]
      Additional options from @modules: --add-modules jdk.jfr,java.management
      elapsed time (seconds): 0.028
      configuration:
      Boot Layer
        add modules: jdk.jfr java.management

      STDOUT:
      Error occurred during initialization of VM
      Multiple garbage collectors selected

            mseledtsov Mikhailo Seledtsov
            twisti Christian Thalinger
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: