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

jinfo doesn't detect dynamic vm flags changing

    XMLWordPrintable

    Details

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

      Backports

        Description

        > cd $JAVA_HOME

        > java -Xmx128m -XX:-PrintGC -Dvmsqe.test -jar demo/jfc/Notepad/Notepad.jar &
        > PID = $!
        > bin/jinfo -flag +PrintGC $PID

        > bin/jinfo -flags 31852

        Attaching to process ID 31852, please wait...
        Warning: the type "CMSCollector" (declared in the remote VM in VMStructs::localHotSpotVMTypes) had its size declared as 948 twice. Continuing.
        Warning: the type "CMSCollector*" (declared in the remote VM in VMStructs::localHotSpotVMTypes) had its size declared as 4 twice. Continuing.
        Debugger attached successfully.
        Client compiler detected.
        JVM version is 1.7.0-ea-b07

        -Xmx128m -XX:-PrintGC -Dvmsqe.test
        ^^^^^^^^^^^^

        but
        > /usr/local/java/1.7.0/b07/bin/jinfo -flag PrintGC 31852
        -XX:+PrintGC
        ^^^^^^^^^^^^
        <delete description from other bug>
        <delete description from other bug>

          Attachments

            Issue Links

              Activity

                People

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

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Imported:
                    Indexed: