--- a/hotspot/src/share/vm/runtime/java.cpp Sun Dec 11 12:05:57 2016 -0800
+++ b/hotspot/src/share/vm/runtime/java.cpp Sun Dec 11 19:07:04 2016 -0800
@@ -23,6 +23,7 @@
*/
#include "precompiled.hpp"
+#include "aot/aotLoader.hpp"
#include "classfile/classLoader.hpp"
#include "classfile/stringTable.hpp"
#include "classfile/systemDictionary.hpp"
@@ -280,6 +281,10 @@
#endif
#endif
+ if (PrintAOTStatistics) {
+ AOTLoader::print_statistics();
+ }
+
if (PrintNMethodStatistics) {
nmethod::print_statistics();
}