src/hotspot/share/gc/shenandoah/shenandoahCodeRoots.cpp
changeset 59290 97d13893ec3c
parent 59252 623722a6aeb9
child 59296 9186be5c78ba
equal deleted inserted replaced
59289:c887851da33d 59290:97d13893ec3c
    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++) {