equal
deleted
inserted
replaced
810 volatile size_t _evacuation_failure_alot_count; |
810 volatile size_t _evacuation_failure_alot_count; |
811 |
811 |
812 // Set whether G1EvacuationFailureALot should be in effect |
812 // Set whether G1EvacuationFailureALot should be in effect |
813 // for the current GC (based upon the type of GC and which |
813 // for the current GC (based upon the type of GC and which |
814 // command line flags are set); |
814 // command line flags are set); |
815 inline bool evacuation_failure_alot_for_gc_type(bool gcs_are_young, |
815 inline bool evacuation_failure_alot_for_gc_type(bool for_young_gc, |
816 bool during_initial_mark, |
816 bool during_initial_mark, |
817 bool during_marking); |
817 bool mark_or_rebuild_in_progress); |
818 |
818 |
819 inline void set_evacuation_failure_alot_for_current_gc(); |
819 inline void set_evacuation_failure_alot_for_current_gc(); |
820 |
820 |
821 // Return true if it's time to cause an evacuation failure. |
821 // Return true if it's time to cause an evacuation failure. |
822 inline bool evacuation_should_fail(); |
822 inline bool evacuation_should_fail(); |