--- a/hotspot/src/share/vm/gc/parallel/psTasks.cpp Sun Dec 11 12:05:57 2016 -0800
+++ b/hotspot/src/share/vm/gc/parallel/psTasks.cpp Sun Dec 11 19:07:04 2016 -0800
@@ -23,6 +23,7 @@
*/
#include "precompiled.hpp"
+#include "aot/aotLoader.hpp"
#include "classfile/systemDictionary.hpp"
#include "code/codeCache.hpp"
#include "gc/parallel/cardTableExtension.hpp"
@@ -101,6 +102,7 @@
{
MarkingCodeBlobClosure each_scavengable_code_blob(&roots_to_old_closure, CodeBlobToOopClosure::FixRelocations);
CodeCache::scavenge_root_nmethods_do(&each_scavengable_code_blob);
+ AOTLoader::oops_do(&roots_closure);
}
break;