comparison src/share/vm/gc_implementation/parNew/parNewGeneration.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 ca0a78017dc7
children f2110083203d
comparison
equal deleted inserted replaced
7608:689e1218d7fe 7609:a30e7b564541
345 void set_avoid_promotion_undo(bool v) { _avoid_promotion_undo = v; } 345 void set_avoid_promotion_undo(bool v) { _avoid_promotion_undo = v; }
346 346
347 bool survivor_overflow() { return _survivor_overflow; } 347 bool survivor_overflow() { return _survivor_overflow; }
348 void set_survivor_overflow(bool v) { _survivor_overflow = v; } 348 void set_survivor_overflow(bool v) { _survivor_overflow = v; }
349 349
350 // Adjust the tenuring threshold. See the implementation for
351 // the details of the policy.
352 virtual void adjust_desired_tenuring_threshold();
353
354 public: 350 public:
355 ParNewGeneration(ReservedSpace rs, size_t initial_byte_size, int level); 351 ParNewGeneration(ReservedSpace rs, size_t initial_byte_size, int level);
356 352
357 ~ParNewGeneration() { 353 ~ParNewGeneration() {
358 for (uint i = 0; i < ParallelGCThreads; i++) 354 for (uint i = 0; i < ParallelGCThreads; i++)