JDK-6501045 : The calculation for excessive GC overhead should ignore explicity GC's.
  • Type: Enhancement
  • Component: hotspot
  • Sub-Component: gc
  • Affected Version: 7
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2006-12-05
  • Updated: 2010-04-02
  • Resolved: 2007-01-17
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.
JDK 6 JDK 7 Other
6u4Fixed 7Fixed hs10Fixed
The calculation of the GC overhead for the UseGCOverheadLimit option
includes the GC costs for all full GC's.  This calculation should not
include explicit GC's (System.gc()) because those have been requested
by the application and such an action should not induce an out-of-memory
because of excessive GC costs.

SUGGESTED FIX /net/prt-archiver/data/archived_workspaces/main/gc_baseline/2007/20070108150331.jmasa.gc_baseline_6501045/workspace/webrevs/webrev-2007.01.08

EVALUATION Skip the check for gc overhead if the collection is a gc is requested by the user.