hotspot/src/share/vm/gc_implementation/concurrentMarkSweep/compactibleFreeListSpace.cpp
equal
deleted
inserted
replaced
30 #include "gc_implementation/shared/liveRange.hpp" |
30 #include "gc_implementation/shared/liveRange.hpp" |
31 #include "gc_implementation/shared/spaceDecorator.hpp" |
31 #include "gc_implementation/shared/spaceDecorator.hpp" |
32 #include "gc_interface/collectedHeap.inline.hpp" |
32 #include "gc_interface/collectedHeap.inline.hpp" |
33 #include "memory/allocation.inline.hpp" |
33 #include "memory/allocation.inline.hpp" |
34 #include "memory/blockOffsetTable.inline.hpp" |
34 #include "memory/blockOffsetTable.inline.hpp" |
|
35 #include "memory/genCollectedHeap.hpp" |
35 #include "memory/resourceArea.hpp" |
36 #include "memory/resourceArea.hpp" |
36 #include "memory/space.inline.hpp" |
37 #include "memory/space.inline.hpp" |
37 #include "memory/universe.inline.hpp" |
38 #include "memory/universe.inline.hpp" |
38 #include "oops/oop.inline.hpp" |
39 #include "oops/oop.inline.hpp" |
39 #include "runtime/globals.hpp" |
40 #include "runtime/globals.hpp" |
2440 // FLS are to valid objects elsewhere in the heap |
2441 // FLS are to valid objects elsewhere in the heap |
2441 if (FLSVerifyAllHeapReferences) |
2442 if (FLSVerifyAllHeapReferences) |
2442 { |
2443 { |
2443 VerifyAllOopsClosure cl(_collector, this, span, past_remark, |
2444 VerifyAllOopsClosure cl(_collector, this, span, past_remark, |
2444 _collector->markBitMap()); |
2445 _collector->markBitMap()); |
2445 CollectedHeap* ch = Universe::heap(); |
|
2446 |
2446 |
2447 // Iterate over all oops in the heap. Uses the _no_header version |
2447 // Iterate over all oops in the heap. Uses the _no_header version |
2448 // since we are not interested in following the klass pointers. |
2448 // since we are not interested in following the klass pointers. |
2449 ch->oop_iterate_no_header(&cl); |
2449 GenCollectedHeap::heap()->oop_iterate_no_header(&cl); |
2450 } |
2450 } |
2451 |
2451 |
2452 if (VerifyObjectStartArray) { |
2452 if (VerifyObjectStartArray) { |
2453 // Verify the block offset table |
2453 // Verify the block offset table |
2454 _bt.verify(); |
2454 _bt.verify(); |