comparison src/share/vm/gc_implementation/shared/mutableSpace.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 20bfb6d15a94
children da91efe96a93
comparison
equal deleted inserted replaced
6007:5c86f8211d1e 6008:b632e80fc9dc
1 /* 1 /*
2 * Copyright (c) 2001, 2010, Oracle and/or its affiliates. All rights reserved. 2 * Copyright (c) 2001, 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.
244 MutableSpace::print_short_on(st); 244 MutableSpace::print_short_on(st);
245 st->print_cr(" [" INTPTR_FORMAT "," INTPTR_FORMAT "," INTPTR_FORMAT ")", 245 st->print_cr(" [" INTPTR_FORMAT "," INTPTR_FORMAT "," INTPTR_FORMAT ")",
246 bottom(), top(), end()); 246 bottom(), top(), end());
247 } 247 }
248 248
249 void MutableSpace::verify(bool allow_dirty) { 249 void MutableSpace::verify() {
250 HeapWord* p = bottom(); 250 HeapWord* p = bottom();
251 HeapWord* t = top(); 251 HeapWord* t = top();
252 HeapWord* prev_p = NULL; 252 HeapWord* prev_p = NULL;
253 while (p < t) { 253 while (p < t) {
254 oop(p)->verify(); 254 oop(p)->verify();