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

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

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      b01
    • CPU:
      generic
    • OS:
      generic

      Description

      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.

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved:
                Imported:
                Indexed: