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

DiagnosticCommands (jcmd) should accept %p in output filenames and substitute PID

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 24
    • None
    • core-svc
    • None
    • b09

      In jcmd commands (Diagnostic Commands) which accept an output filename parameter, it would be useful if the commad recognised the %p pattern, and substituted the PID.

      We have other components that behave in this way (e.g. -XX:OnError) and we have the code in Arguments::copy_expand_pid().

      This should be applied to all current DiagnosticCommands that create an ouptut file, and should be the pattern for new commands.

            szaldana Sonia Zaldana Calles
            kevinw Kevin Walls
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: