Mercurial > hg > truffle
comparison src/share/vm/memory/tenuredGeneration.hpp @ 1888:a7214d79fcf1
6896603: CMS/GCH: collection_attempt_is_safe() ergo should use more recent data
Summary: Deprecated HandlePromotionFailure, removing the ability to turn off that feature, did away with one epoch look-ahead when deciding if a scavenge is likely to fail, relying on current data.
Reviewed-by: jmasa, johnc, poonam
author | ysr |
---|---|
date | Sat, 23 Oct 2010 23:03:49 -0700 |
parents | c18cbe5936b8 |
children | f95d63e2154a |
comparison
equal
deleted
inserted
replaced
1887:cd3ef3fd20dd | 1888:a7214d79fcf1 |
---|---|
99 | 99 |
100 // Statistics | 100 // Statistics |
101 | 101 |
102 virtual void update_gc_stats(int level, bool full); | 102 virtual void update_gc_stats(int level, bool full); |
103 | 103 |
104 virtual bool promotion_attempt_is_safe(size_t max_promoted_in_bytes, | 104 virtual bool promotion_attempt_is_safe(size_t max_promoted_in_bytes) const; |
105 bool younger_handles_promotion_failure) const; | |
106 | 105 |
107 void verify_alloc_buffers_clean(); | 106 void verify_alloc_buffers_clean(); |
108 }; | 107 }; |