diff src/share/vm/memory/defNewGeneration.hpp @ 7609:a30e7b564541

8005972: ParNew should not update the tenuring threshold when promotion failed has occurred Reviewed-by: ysr, johnc, jwilhelm
author brutisso
date Mon, 14 Jan 2013 21:30:45 +0100
parents 22b8d3d181d9
children 001ec9515f84
line wrap: on
line diff
--- a/src/share/vm/memory/defNewGeneration.hpp	Mon Jan 14 09:58:52 2013 +0100
+++ b/src/share/vm/memory/defNewGeneration.hpp	Mon Jan 14 21:30:45 2013 +0100
@@ -124,7 +124,9 @@
     _should_allocate_from_space = true;
   }
 
- protected:
+  // Tenuring
+  void adjust_desired_tenuring_threshold();
+
   // Spaces
   EdenSpace*       _eden_space;
   ContiguousSpace* _from_space;