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
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
- relates to
-
JDK-4593185 use the Java logging API from within J2SE
- Resolved