comparison src/share/vm/memory/genCollectedHeap.cpp @ 1161:1fc01a2425ce

Merge
author iveresov
date Tue, 12 Jan 2010 13:54:40 -0800
parents 4e6abf09f540
children c4d722788ed6
comparison
equal deleted inserted replaced
1149:0579c695832f 1161:1fc01a2425ce
923 bool GenCollectedHeap::is_in(const void* p) const { 923 bool GenCollectedHeap::is_in(const void* p) const {
924 #ifndef ASSERT 924 #ifndef ASSERT
925 guarantee(VerifyBeforeGC || 925 guarantee(VerifyBeforeGC ||
926 VerifyDuringGC || 926 VerifyDuringGC ||
927 VerifyBeforeExit || 927 VerifyBeforeExit ||
928 PrintAssembly ||
929 tty->count() != 0 || // already printing
928 VerifyAfterGC, "too expensive"); 930 VerifyAfterGC, "too expensive");
929 #endif 931 #endif
930 // This might be sped up with a cache of the last generation that 932 // This might be sped up with a cache of the last generation that
931 // answered yes. 933 // answered yes.
932 for (int i = 0; i < _n_gens; i++) { 934 for (int i = 0; i < _n_gens; i++) {