hotspot/src/share/vm/opto/output.cpp
changeset 42650 1f304d0c888b
parent 42063 dca9294d9f59
child 45965 e29c1363af9a
child 46630 75aa3e39d02c
--- a/hotspot/src/share/vm/opto/output.cpp	Sun Dec 11 12:05:57 2016 -0800
+++ b/hotspot/src/share/vm/opto/output.cpp	Sun Dec 11 19:07:04 2016 -0800
@@ -292,6 +292,10 @@
           if (mcall->is_MachCallJava() && mcall->as_MachCallJava()->_method) {
             stub_size  += CompiledStaticCall::to_interp_stub_size();
             reloc_size += CompiledStaticCall::reloc_to_interp_stub();
+#if INCLUDE_AOT
+            stub_size  += CompiledStaticCall::to_aot_stub_size();
+            reloc_size += CompiledStaticCall::reloc_to_aot_stub();
+#endif
           }
         } else if (mach->is_MachSafePoint()) {
           // If call/safepoint are adjacent, account for possible