equal
deleted
inserted
replaced
2277 ResourceMark rm; |
2277 ResourceMark rm; |
2278 assert(SafepointSynchronize::is_at_safepoint(), "should be at safepoint"); |
2278 assert(SafepointSynchronize::is_at_safepoint(), "should be at safepoint"); |
2279 assert(Thread::current() == VMThread::vm_thread(), "should be in vm thread"); |
2279 assert(Thread::current() == VMThread::vm_thread(), "should be in vm thread"); |
2280 guarantee(!is_gc_active(), "collection is not reentrant"); |
2280 guarantee(!is_gc_active(), "collection is not reentrant"); |
2281 assert(regions_accounted_for(), "Region leakage!"); |
2281 assert(regions_accounted_for(), "Region leakage!"); |
2282 ++_gc_time_stamp; |
2282 |
|
2283 increment_gc_time_stamp(); |
2283 |
2284 |
2284 if (g1_policy()->in_young_gc_mode()) { |
2285 if (g1_policy()->in_young_gc_mode()) { |
2285 assert(check_young_list_well_formed(), |
2286 assert(check_young_list_well_formed(), |
2286 "young list should be well formed"); |
2287 "young list should be well formed"); |
2287 } |
2288 } |