JDK-6243251 : Document serviceability fixes in 1.4.2_09 release notes
  • Type: Enhancement
  • Component: docs
  • Sub-Component: guides
  • Affected Version: 1.4.2_09
  • Priority: P2
  • Status: Resolved
  • Resolution: Fixed
  • OS: other
  • CPU: generic
  • Submitted: 2005-03-19
  • Updated: 2011-12-20
  • Resolved: 2005-06-23
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
1.4.2_09 b03Fixed
Related Reports
Relates :  
Relates :  
Relates :  
Relates :  
The update release 1.4.2_09 will include some serviceability improvement backports from JDK5.0.
The user visable changes these improvements bring should be documented in the release notes.
There will be additional flags, command line options, and changes to some error message outputs.

The core revisions are detailed at:

The most significant flag change is adding the "OnError" flag. Descriptive information
can be brought back from 5.0.

###@###.### 2005-03-19 23:27:13 GMT

(Piggy-backing on the same and relevant bug report): B
ackports of the "-XX:OnFirstJavaOutOfMemoryError"  flag 
as well as the jmap utility from JDK5.0 need mention / 
description in JDK1.4.2_09 materials.
###@###.### 2005-03-29 18:55:37 GMT

EVALUATION Alan Bateman wrote concisely in his putback comment: Fixed 6204527: Need mechanism to run user-defined script/command when OutOfMemoryError is thrown To help diagnose the cause of an OutOfMemoryError we have added a new flag (OnFirstJavaOutOfMemoryError) which can be used to specify a sequence of commands or scripts to execute the first time OOME is thrown. Like the OnError option, commands are seperated using a semicolon, and %p is expanded to be the pid of the VM. Here are some examples to demonstrate how the flag can be used: This example generates a HPROF heap dump: -XX:OnFirstJavaOutOfMemoryError="jmap -heap:format=b %p" This example saves a summary of the objects in the perm gen to a file and also grabs a core file: -XX:OnFirstJavaOutOfMemoryError="jmap -permstat %p > %p.out; gcore %p" ###@###.### 2005-04-25 16:58:29 GMT