comparison src/share/vm/memory/universe.cpp @ 6008:b632e80fc9dc

4988100: oop_verify_old_oop appears to be dead Summary: removed oop_verify_old_oop and allow_dirty. Also reviewed by: alexlamsl@gmail.com Reviewed-by: jmasa, jwilhelm
author brutisso
date Mon, 16 Apr 2012 08:57:18 +0200
parents 09d00c18e323
children d2a62e0f25eb
comparison
equal deleted inserted replaced
6007:5c86f8211d1e 6008:b632e80fc9dc
1 /* 1 /*
2 * Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved. 2 * Copyright (c) 1997, 2012, Oracle and/or its affiliates. All rights reserved.
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 * 4 *
5 * This code is free software; you can redistribute it and/or modify it 5 * This code is free software; you can redistribute it and/or modify it
6 * under the terms of the GNU General Public License version 2 only, as 6 * under the terms of the GNU General Public License version 2 only, as
7 * published by the Free Software Foundation. 7 * published by the Free Software Foundation.
1324 heap()->print_extended_on(st); 1324 heap()->print_extended_on(st);
1325 } 1325 }
1326 st->print_cr("}"); 1326 st->print_cr("}");
1327 } 1327 }
1328 1328
1329 void Universe::verify(bool allow_dirty, bool silent, VerifyOption option) { 1329 void Universe::verify(bool silent, VerifyOption option) {
1330 if (SharedSkipVerify) { 1330 if (SharedSkipVerify) {
1331 return; 1331 return;
1332 } 1332 }
1333 1333
1334 // The use of _verify_in_progress is a temporary work around for 1334 // The use of _verify_in_progress is a temporary work around for
1348 _verify_count++; 1348 _verify_count++;
1349 1349
1350 if (!silent) gclog_or_tty->print("[Verifying "); 1350 if (!silent) gclog_or_tty->print("[Verifying ");
1351 if (!silent) gclog_or_tty->print("threads "); 1351 if (!silent) gclog_or_tty->print("threads ");
1352 Threads::verify(); 1352 Threads::verify();
1353 heap()->verify(allow_dirty, silent, option); 1353 heap()->verify(silent, option);
1354 1354
1355 if (!silent) gclog_or_tty->print("syms "); 1355 if (!silent) gclog_or_tty->print("syms ");
1356 SymbolTable::verify(); 1356 SymbolTable::verify();
1357 if (!silent) gclog_or_tty->print("strs "); 1357 if (!silent) gclog_or_tty->print("strs ");
1358 StringTable::verify(); 1358 StringTable::verify();