equal
deleted
inserted
replaced
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(); |