src/share/vm/gc_implementation/concurrentMarkSweep/compactibleFreeListSpace.cpp

changeset 3711
b632e80fc9dc
parent 3357
441e946dc1af
child 3730
9f059abe8cf2
equal deleted inserted replaced
3710:5c86f8211d1e 3711: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);

mercurial