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

Provide VM.events diagnostic command

    XMLWordPrintable

Details

    • CSR
    • Resolution: Approved
    • P4
    • 13
    • hotspot
    • None
    • svc
    • behavioral
    • minimal
    • This is a new command to be added to an upcoming JDK release; there are no compatibility problems expected.
    • add/remove/modify command line option
    • JDK

    Description

      Summary

      Add a VM.events command to jcmd to display event logs.

      Problem

      Event logs are a valuable problem analysis tool. Right now the only way to see them is via hs-err file in case the VM died, or as part of the VM.info output.

      Solution

      Add a command to jcmd to print out event logs. The proposed name is "VM.events".

      It should have the following features:

      • ability to select a single event log (by default, all should be printed)

      • ability to limit the number of printed events (by default, all events in the selected event log should be printed)

      Specification

      VM.events [log="log name"] [max="number"]

      optional option log=.. would select for a single named event log.
      optional option max=.. would limit the number of events printed.

      Events shall be printed in chronological reverse order (youngest events first).

      Attachments

        Issue Links

          Activity

            People

              stuefe Thomas Stuefe
              stuefe Thomas Stuefe
              Christoph Langer, David Holmes
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: