mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-18 18:14:38 +02:00
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:
parent
88ab075a6d
commit
3506d44c57
22 changed files with 55 additions and 55 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue