hotspot/src/share/vm/memory/genCollectedHeap.cpp
changeset 6176 4d9030fe341f
parent 5906 b8d07a1a73e8
child 6759 67b1a69ef5aa
equal deleted inserted replaced
6175:86dbf3cacacc 6176:4d9030fe341f
   939   guarantee(VerifyBeforeGC   ||
   939   guarantee(VerifyBeforeGC   ||
   940             VerifyDuringGC   ||
   940             VerifyDuringGC   ||
   941             VerifyBeforeExit ||
   941             VerifyBeforeExit ||
   942             PrintAssembly    ||
   942             PrintAssembly    ||
   943             tty->count() != 0 ||   // already printing
   943             tty->count() != 0 ||   // already printing
   944             VerifyAfterGC, "too expensive");
   944             VerifyAfterGC    ||
       
   945     VMError::fatal_error_in_progress(), "too expensive");
       
   946 
   945   #endif
   947   #endif
   946   // This might be sped up with a cache of the last generation that
   948   // This might be sped up with a cache of the last generation that
   947   // answered yes.
   949   // answered yes.
   948   for (int i = 0; i < _n_gens; i++) {
   950   for (int i = 0; i < _n_gens; i++) {
   949     if (_gens[i]->is_in(p)) return true;
   951     if (_gens[i]->is_in(p)) return true;