JDK-6730514 : assertion failure in mangling code when expanding by 0 bytes
Type:Bug
Component:hotspot
Sub-Component:gc
Affected Version:7
Priority:P3
Status:Resolved
Resolution:Fixed
OS:generic
CPU:generic
Submitted:2008-07-28
Updated:2010-04-02
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.
SUGGESTED FIX
Guard the assertion against executing if the requested expand() results if
a request for 0 bytes of expansion. Change the expand() code to align down
a requested number of bytes if the align up would wrap around.
28-07-2008
EVALUATION
The problem is that a call to expand() by 0 bytes was made where the 0 bytes
value was the result of an align up of the requested bytes and the align up
caused a wrap around to 0.