-XX:MarkSweepAlwaysCompactCount=0 crashes the JVM

Srinivas Ramakrishna ysr1729 at gmail.com
Thu Nov 10 18:10:41 UTC 2011


It's because MaxSweepAlwaysCompactCount is used to divide the (serial old)
gc count and gives a divide
by zero exception when set to zero. Perhaps the flag should be set to a
minimum value of 1 in
Arguments::check_vm_args_consistency()? If folks agree, could someone file
a CR (and
if you prefer i can submit a simple patch).

thanks!
-- ramki
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/hotspot-gc-dev/attachments/20111110/3e10dadf/attachment.htm>


More information about the hotspot-gc-dev mailing list