-XX:MarkSweepAlwaysCompactCount=0 crashes the JVM
Bengt Rutisson
bengt.rutisson at oracle.com
Thu Nov 10 23:14:17 UTC 2011
Hi Ramki,
Thanks for letting us know about this! :-)
On 2011-11-10 19:10, Srinivas Ramakrishna wrote:
>
> 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).
Since I am initial evaluator at the moment I went a head and filed
7110718 for this. Hopefully it will soon show up here:
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=7110718
I could easily reproduce the problem and you provided good information
about how to fix it. So, I am sure we can fix it, but if you have a
patch available it would of course be great if you could share it.
Thanks,
Bengt
>
> thanks!
> -- ramki
More information about the hotspot-gc-dev
mailing list