Mercurial > hg > graal-compiler
comparison src/share/vm/gc_implementation/concurrentMarkSweep/compactibleFreeListSpace.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 | 441e946dc1af |
children | 9f059abe8cf2 |
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. |
2442 | 2442 |
2443 virtual void do_oop(oop* p) { VerifyAllOopsClosure::do_oop_work(p); } | 2443 virtual void do_oop(oop* p) { VerifyAllOopsClosure::do_oop_work(p); } |
2444 virtual void do_oop(narrowOop* p) { VerifyAllOopsClosure::do_oop_work(p); } | 2444 virtual void do_oop(narrowOop* p) { VerifyAllOopsClosure::do_oop_work(p); } |
2445 }; | 2445 }; |
2446 | 2446 |
2447 void CompactibleFreeListSpace::verify(bool ignored) const { | 2447 void CompactibleFreeListSpace::verify() const { |
2448 assert_lock_strong(&_freelistLock); | 2448 assert_lock_strong(&_freelistLock); |
2449 verify_objects_initialized(); | 2449 verify_objects_initialized(); |
2450 MemRegion span = _collector->_span; | 2450 MemRegion span = _collector->_span; |
2451 bool past_remark = (_collector->abstract_state() == | 2451 bool past_remark = (_collector->abstract_state() == |
2452 CMSCollector::Sweeping); | 2452 CMSCollector::Sweeping); |