Mercurial > hg > truffle
comparison src/share/vm/gc_implementation/parallelScavenge/psScavenge.cpp @ 6818:22b8d3d181d9
8000351: Tenuring threshold should be unsigned
Summary: Change the flags and variables related to tenuring threshold to be unsigned
Reviewed-by: jmasa, johnc
author | jwilhelm |
---|---|
date | Wed, 03 Oct 2012 20:31:41 +0200 |
parents | f81a7c0c618d |
children | 4202510ee0fe |
comparison
equal
deleted
inserted
replaced
6817:f81a7c0c618d | 6818:22b8d3d181d9 |
---|---|
57 HeapWord* PSScavenge::_to_space_top_before_gc = NULL; | 57 HeapWord* PSScavenge::_to_space_top_before_gc = NULL; |
58 int PSScavenge::_consecutive_skipped_scavenges = 0; | 58 int PSScavenge::_consecutive_skipped_scavenges = 0; |
59 ReferenceProcessor* PSScavenge::_ref_processor = NULL; | 59 ReferenceProcessor* PSScavenge::_ref_processor = NULL; |
60 CardTableExtension* PSScavenge::_card_table = NULL; | 60 CardTableExtension* PSScavenge::_card_table = NULL; |
61 bool PSScavenge::_survivor_overflow = false; | 61 bool PSScavenge::_survivor_overflow = false; |
62 int PSScavenge::_tenuring_threshold = 0; | 62 uint PSScavenge::_tenuring_threshold = 0; |
63 HeapWord* PSScavenge::_young_generation_boundary = NULL; | 63 HeapWord* PSScavenge::_young_generation_boundary = NULL; |
64 elapsedTimer PSScavenge::_accumulated_time; | 64 elapsedTimer PSScavenge::_accumulated_time; |
65 Stack<markOop, mtGC> PSScavenge::_preserved_mark_stack; | 65 Stack<markOop, mtGC> PSScavenge::_preserved_mark_stack; |
66 Stack<oop, mtGC> PSScavenge::_preserved_oop_stack; | 66 Stack<oop, mtGC> PSScavenge::_preserved_oop_stack; |
67 CollectorCounters* PSScavenge::_counters = NULL; | 67 CollectorCounters* PSScavenge::_counters = NULL; |
527 _tenuring_threshold, | 527 _tenuring_threshold, |
528 survivor_limit); | 528 survivor_limit); |
529 | 529 |
530 if (PrintTenuringDistribution) { | 530 if (PrintTenuringDistribution) { |
531 gclog_or_tty->cr(); | 531 gclog_or_tty->cr(); |
532 gclog_or_tty->print_cr("Desired survivor size %ld bytes, new threshold %d (max %d)", | 532 gclog_or_tty->print_cr("Desired survivor size %ld bytes, new threshold %u (max %u)", |
533 size_policy->calculated_survivor_size_in_bytes(), | 533 size_policy->calculated_survivor_size_in_bytes(), |
534 _tenuring_threshold, MaxTenuringThreshold); | 534 _tenuring_threshold, MaxTenuringThreshold); |
535 } | 535 } |
536 | 536 |
537 if (UsePerfData) { | 537 if (UsePerfData) { |