< prev index next >

src/hotspot/share/gc/parallel/mutableNUMASpace.cpp

Print this page
rev 47819 : imported patch 10.07.open.rebase_20171110.dcubed

*** 27,36 **** --- 27,37 ---- #include "gc/shared/collectedHeap.hpp" #include "gc/shared/spaceDecorator.hpp" #include "oops/oop.inline.hpp" #include "runtime/atomic.hpp" #include "runtime/thread.inline.hpp" + #include "runtime/threadSMR.hpp" #include "utilities/align.hpp" MutableNUMASpace::MutableNUMASpace(size_t alignment) : MutableSpace(alignment), _must_use_large_pages(false) { _lgrp_spaces = new (ResourceObj::C_HEAP, mtGC) GrowableArray<LGRPSpace*>(0, true); _page_size = os::vm_page_size();
*** 285,295 **** } FREE_C_HEAP_ARRAY(int, lgrp_ids); if (changed) { ! for (JavaThread *thread = Threads::first(); thread; thread = thread->next()) { thread->set_lgrp_id(-1); } } return true; } --- 286,296 ---- } FREE_C_HEAP_ARRAY(int, lgrp_ids); if (changed) { ! for (JavaThreadIteratorWithHandle jtiwh; JavaThread *thread = jtiwh.next(); ) { thread->set_lgrp_id(-1); } } return true; }
< prev index next >