review request 7140866: assert(covered) failed: Card for end of new region not committed
dean.long at oracle.com
Wed Feb 15 05:02:52 UTC 2012
On 2/14/2012 4:30 PM, Srinivas Ramakrishna wrote:
> Looks good to me.
> -- ramki (openjdk: ysr)
> On Mon, Feb 13, 2012 at 2:09 PM, Dean Long <dean.long at oracle.com
> <mailto:dean.long at oracle.com>> wrote:
> The problem happens when trying to use a shared archive. If for
> some reason mapping the shared file fails,
> we call
> to undo the earlier call to
> Unfortunately the resize code is not prepared to deal with a
> zero-sized region so an assert fails.
> Rather than touch the resize code, this fix changes the caller to
> only call resize_covered_region()
> once after the shared file is mapped.
> Tested fix on a particular linux arm platform where the mmap fails
> 100% of the time due to a different issue.
> Ran -Xshare:dump first then a few GC tests.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the hotspot-gc-dev