comparison src/share/vm/gc_implementation/shared/immutableSpace.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 f95d63e2154a
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.
68 tty->print_cr(" [%#-6lx,%#-6lx)", bottom(), end()); 68 tty->print_cr(" [%#-6lx,%#-6lx)", bottom(), end());
69 } 69 }
70 70
71 #endif 71 #endif
72 72
73 void ImmutableSpace::verify(bool allow_dirty) { 73 void ImmutableSpace::verify() {
74 HeapWord* p = bottom(); 74 HeapWord* p = bottom();
75 HeapWord* t = end(); 75 HeapWord* t = end();
76 HeapWord* prev_p = NULL; 76 HeapWord* prev_p = NULL;
77 while (p < t) { 77 while (p < t) {
78 oop(p)->verify(); 78 oop(p)->verify();