diff src/share/vm/memory/defNewGeneration.hpp @ 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 da91efe96a93
children a30e7b564541
line wrap: on
line diff
--- a/src/share/vm/memory/defNewGeneration.hpp	Wed Oct 03 08:08:52 2012 -0700
+++ b/src/share/vm/memory/defNewGeneration.hpp	Wed Oct 03 20:31:41 2012 +0200
@@ -43,7 +43,7 @@
 
 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 @@
                                 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();