JDK-6672698 : mangle_unused_area() should not remangle the entire heap at each collection.
Type:Bug
Component:hotspot
Sub-Component:gc
Affected Version:7
Priority:P3
Status:Resolved
Resolution:Fixed
OS:generic
CPU:generic
Submitted:2008-03-07
Updated:2010-05-09
Resolved:2008-08-29
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.
mangle_unused() writes a pattern into the unused part of the heap in debug mode.
If the heap is large, this can cause excessively long GC's to the point
that tests timeout.
EVALUATION
managle_unused_area() only mangles from top to end in a space. Set some
artificial limit on the amount that will be mangled at each collection.