comparison src/share/vm/gc_implementation/g1/g1CollectorPolicy.hpp @ 4834:6a78aa6ac1ff

7132311: G1: assert((s == klass->oop_size(this)) || (Universe::heap()->is_gc_active() && ((is_typeArray()... Summary: Move the check for when to call collect() to before we do a humongous object allocation Reviewed-by: stefank, tonyp
author brutisso
date Mon, 23 Jan 2012 20:36:16 +0100
parents 9509c20bba28
children eff609af17d7
comparison
equal deleted inserted replaced
4833:57025542827f 4834:6a78aa6ac1ff
797 797
798 BarrierSet::Name barrier_set_name() { return BarrierSet::G1SATBCTLogging; } 798 BarrierSet::Name barrier_set_name() { return BarrierSet::G1SATBCTLogging; }
799 799
800 GenRemSet::Name rem_set_name() { return GenRemSet::CardTable; } 800 GenRemSet::Name rem_set_name() { return GenRemSet::CardTable; }
801 801
802 bool need_to_start_conc_mark(const char* source); 802 bool need_to_start_conc_mark(const char* source, size_t alloc_word_size = 0);
803 803
804 // Update the heuristic info to record a collection pause of the given 804 // Update the heuristic info to record a collection pause of the given
805 // start time, where the given number of bytes were used at the start. 805 // start time, where the given number of bytes were used at the start.
806 // This may involve changing the desired size of a collection set. 806 // This may involve changing the desired size of a collection set.
807 807