equal
deleted
inserted
replaced
27 #include "gc/shenandoah/shenandoahHeap.inline.hpp" |
27 #include "gc/shenandoah/shenandoahHeap.inline.hpp" |
28 #include "gc/shenandoah/shenandoahCodeRoots.hpp" |
28 #include "gc/shenandoah/shenandoahCodeRoots.hpp" |
29 #include "gc/shenandoah/shenandoahUtils.hpp" |
29 #include "gc/shenandoah/shenandoahUtils.hpp" |
30 #include "memory/resourceArea.hpp" |
30 #include "memory/resourceArea.hpp" |
31 #include "memory/universe.hpp" |
31 #include "memory/universe.hpp" |
|
32 #include "runtime/atomic.hpp" |
32 |
33 |
33 ShenandoahParallelCodeCacheIterator::ShenandoahParallelCodeCacheIterator(const GrowableArray<CodeHeap*>* heaps) { |
34 ShenandoahParallelCodeCacheIterator::ShenandoahParallelCodeCacheIterator(const GrowableArray<CodeHeap*>* heaps) { |
34 _length = heaps->length(); |
35 _length = heaps->length(); |
35 _iters = NEW_C_HEAP_ARRAY(ShenandoahParallelCodeHeapIterator, _length, mtGC); |
36 _iters = NEW_C_HEAP_ARRAY(ShenandoahParallelCodeHeapIterator, _length, mtGC); |
36 for (int h = 0; h < _length; h++) { |
37 for (int h = 0; h < _length; h++) { |