src/share/vm/gc/parallel/pcTasks.cpp
Index Unified diffs Context diffs Sdiffs Wdiffs Patch New Old Previous File Next File
*** old/src/share/vm/gc/parallel/pcTasks.cpp	Mon Oct 31 17:46:47 2016
--- new/src/share/vm/gc/parallel/pcTasks.cpp	Mon Oct 31 17:46:47 2016

*** 36,45 **** --- 36,46 ---- #include "memory/resourceArea.hpp" #include "memory/universe.hpp" #include "oops/objArrayKlass.inline.hpp" #include "oops/oop.inline.hpp" #include "prims/jvmtiExport.hpp" + #include "aot/aotLoader.hpp" #include "runtime/fprofiler.hpp" #include "runtime/jniHandles.hpp" #include "runtime/thread.hpp" #include "runtime/vmThread.hpp" #include "services/management.hpp"
*** 125,134 **** --- 126,138 ---- break; case code_cache: // Do not treat nmethods as strong roots for mark/sweep, since we can unload them. //CodeCache::scavenge_root_nmethods_do(CodeBlobToOopClosure(&mark_and_push_closure)); + if (UseAOT) { + AOTLoader::oops_do(&mark_and_push_closure); + } break; default: fatal("Unknown root type"); }

src/share/vm/gc/parallel/pcTasks.cpp
Index Unified diffs Context diffs Sdiffs Wdiffs Patch New Old Previous File Next File