comparison src/share/vm/memory/universe.cpp @ 845:df6caf649ff7

6700789: G1: Enable use of compressed oops with G1 heaps Summary: Modifications to G1 so as to allow the use of compressed oops. Reviewed-by: apetrusenko, coleenp, jmasa, kvn, never, phh, tonyp
author ysr
date Tue, 14 Jul 2009 15:40:39 -0700
parents bd441136a5ce
children 1a81ea4b45d4
comparison
equal deleted inserted replaced
839:bb18957ad21e 845:df6caf649ff7
1168 heap()->total_full_collections()); 1168 heap()->total_full_collections());
1169 heap()->print_on(st); 1169 heap()->print_on(st);
1170 st->print_cr("}"); 1170 st->print_cr("}");
1171 } 1171 }
1172 1172
1173 void Universe::verify(bool allow_dirty, bool silent) { 1173 void Universe::verify(bool allow_dirty, bool silent, bool option) {
1174 if (SharedSkipVerify) { 1174 if (SharedSkipVerify) {
1175 return; 1175 return;
1176 } 1176 }
1177 1177
1178 // The use of _verify_in_progress is a temporary work around for 1178 // The use of _verify_in_progress is a temporary work around for
1192 _verify_count++; 1192 _verify_count++;
1193 1193
1194 if (!silent) gclog_or_tty->print("[Verifying "); 1194 if (!silent) gclog_or_tty->print("[Verifying ");
1195 if (!silent) gclog_or_tty->print("threads "); 1195 if (!silent) gclog_or_tty->print("threads ");
1196 Threads::verify(); 1196 Threads::verify();
1197 heap()->verify(allow_dirty, silent); 1197 heap()->verify(allow_dirty, silent, option);
1198 1198
1199 if (!silent) gclog_or_tty->print("syms "); 1199 if (!silent) gclog_or_tty->print("syms ");
1200 SymbolTable::verify(); 1200 SymbolTable::verify();
1201 if (!silent) gclog_or_tty->print("strs "); 1201 if (!silent) gclog_or_tty->print("strs ");
1202 StringTable::verify(); 1202 StringTable::verify();