hotspot/src/share/vm/gc_implementation/g1/g1CollectedHeap.cpp
changeset 1385 1751733b089b
parent 1384 163a4d4fa951
child 1386 e20a51f0d970
equal deleted inserted replaced
1384:163a4d4fa951 1385:1751733b089b
  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   }