CRR (XS): 7091032: G1: assert failure when NewRatio is used

Tony Printezis tony.printezis at
Thu Sep 15 15:59:48 UTC 2011

Hi all,

I'd like to get a couple of code review for this very small change to 
avoid an assert failure when NewRatio is explicitly set 
(size_to_region_num() takes a size parameter in bytes, so passing a 
region number is incorrect):

I also changed a tty->print_cr statement into a warning to be consistent 
with what we do in similar situations.



More information about the hotspot-gc-dev mailing list