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

jinfo -flag <flag name> functionality doesn't work with core files

XMLWordPrintable

    • b01
    • generic
    • generic

      export JAVA_HOME=....

      $JAVA_HOME/bin/java -jar $JAVA_HOME/demo/jfc/Notepad/Notepad.jar -XX:+Print &
      PID=$!
      gcore -o /tmp/core $PID
      kill $PID
      $JAVA_HOME/bin/jinfo -flag PrintGC $JAVA_HOME/bin/java /tmp/core.$PID

      <Here Usage message is printed>

      but something like "+PrintGC" expected.

      $JAVA_HOME/bin/jinfo $JAVA_HOME/bin/java /tmp/core.$PID

      works fine.

            sla Staffan Larsen (Inactive)
            imikhailsunw Igor Mikhailuk (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: