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

Add logging support to VM

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Duplicate
    • Icon: P4 P4
    • None
    • 5.0
    • core-svc
    • None
    • generic
    • generic

      Add basic logging to JRE. Some suggestions:

      Configuration information
      VM implementation version (as detailed as possible)
      JDK library implementation version (as detailed as possible)
      OS version (as much detail as we can get)
      Hardware information: CPU types/versions and system configuration.
      Physical memory size.
      Initial free memory size.
      Library versions for core libraries (msvcrt, winsock, ...)
      Default locale of OS
      Default locale of JDK
      Hostname
      IP address
      Naming library
      SecurityManager type
      policy file name
      policy file data
      Graphics hardware info (card, drivers)
      Color depth
      Screen resolution
      Default color model
      Library versions for graphics libraries (GDI, ddraw, X11)

      Virtual Machine:
      assertion failures
      out-of-memory conditions
      unhandled exceptions
      class loads
      class unloads
      garbage collections
      heap expansions (and contractions)
      throwing "Error" exceptions
      throwing "Runtime" exceptions
      throwing specific exception types (and their subtypes)
      throwing any exception
      DLL loads (including version info)

      ###@###.### 2002-02-26


      And if the interfaces that are called to emit the logging information into a file
      or to stderr/stdout were in a separate library, like libjvm_logging.so, then the
      native agents could use the same interfaces! ;^)

      ###@###.### 2004-06-01

            mchung Mandy Chung (Inactive)
            jkoenigsunw Janet Koenig (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: