Mercurial > hg > truffle
comparison src/share/vm/gc_implementation/parallelScavenge/psOldGen.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 | c9ca3f51cf41 |
children | da91efe96a93 |
comparison
equal
deleted
inserted
replaced
6007:5c86f8211d1e | 6008:b632e80fc9dc |
---|---|
1 /* | 1 /* |
2 * Copyright (c) 2001, 2011, 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. |
475 assert(virtual_space()->committed_size() <= virtual_space()->reserved_size(), | 475 assert(virtual_space()->committed_size() <= virtual_space()->reserved_size(), |
476 "Space invariant"); | 476 "Space invariant"); |
477 } | 477 } |
478 #endif | 478 #endif |
479 | 479 |
480 void PSOldGen::verify(bool allow_dirty) { | 480 void PSOldGen::verify() { |
481 object_space()->verify(allow_dirty); | 481 object_space()->verify(); |
482 } | 482 } |
483 class VerifyObjectStartArrayClosure : public ObjectClosure { | 483 class VerifyObjectStartArrayClosure : public ObjectClosure { |
484 PSOldGen* _gen; | 484 PSOldGen* _gen; |
485 ObjectStartArray* _start_array; | 485 ObjectStartArray* _start_array; |
486 | 486 |