1.1 --- a/src/share/vm/gc_implementation/parallelScavenge/psScavenge.cpp Wed Oct 03 08:08:52 2012 -0700 1.2 +++ b/src/share/vm/gc_implementation/parallelScavenge/psScavenge.cpp Wed Oct 03 20:31:41 2012 +0200 1.3 @@ -59,7 +59,7 @@ 1.4 ReferenceProcessor* PSScavenge::_ref_processor = NULL; 1.5 CardTableExtension* PSScavenge::_card_table = NULL; 1.6 bool PSScavenge::_survivor_overflow = false; 1.7 -int PSScavenge::_tenuring_threshold = 0; 1.8 +uint PSScavenge::_tenuring_threshold = 0; 1.9 HeapWord* PSScavenge::_young_generation_boundary = NULL; 1.10 elapsedTimer PSScavenge::_accumulated_time; 1.11 Stack<markOop, mtGC> PSScavenge::_preserved_mark_stack; 1.12 @@ -529,7 +529,7 @@ 1.13 1.14 if (PrintTenuringDistribution) { 1.15 gclog_or_tty->cr(); 1.16 - gclog_or_tty->print_cr("Desired survivor size %ld bytes, new threshold %d (max %d)", 1.17 + gclog_or_tty->print_cr("Desired survivor size %ld bytes, new threshold %u (max %u)", 1.18 size_policy->calculated_survivor_size_in_bytes(), 1.19 _tenuring_threshold, MaxTenuringThreshold); 1.20 }