8000351: Tenuring threshold should be unsigned

Change the flags and variables related to tenuring threshold to be unsigned

Reviewed-by: jmasa, johnc
This commit is contained in:
Jesper Wilhelmsson 2012-10-03 20:31:41 +02:00
parent 88ab075a6d
commit 3506d44c57
22 changed files with 55 additions and 55 deletions

View file

@ -43,7 +43,7 @@ class DefNewGeneration: public Generation {
protected:
Generation* _next_gen;
int _tenuring_threshold; // Tenuring threshold for next collection.
uint _tenuring_threshold; // Tenuring threshold for next collection.
ageTable _age_table;
// Size of object to pretenure in words; command line provides bytes
size_t _pretenure_size_threshold_words;
@ -325,7 +325,7 @@ protected:
bool parallel = false);
oop copy_to_survivor_space(oop old);
int tenuring_threshold() { return _tenuring_threshold; }
uint tenuring_threshold() { return _tenuring_threshold; }
// Performance Counter support
void update_counters();