hotspot/src/share/vm/interpreter/interpreterRuntime.cpp
changeset 33198 b37ad9fbf681
parent 33148 68fa8b6c4340
parent 33160 c59f1676d27e
child 33230 23bb11a5cf4e
--- a/hotspot/src/share/vm/interpreter/interpreterRuntime.cpp	Thu Oct 15 13:28:22 2015 +0200
+++ b/hotspot/src/share/vm/interpreter/interpreterRuntime.cpp	Sat Oct 17 19:40:30 2015 -0400
@@ -479,6 +479,17 @@
     }
   } while (should_repeat == true);
 
+#if INCLUDE_JVMCI
+  if (UseJVMCICompiler && h_method->method_data() != NULL) {
+    ResourceMark rm(thread);
+    ProfileData* pdata = h_method->method_data()->allocate_bci_to_data(current_bci, NULL);
+    if (pdata != NULL && pdata->is_BitData()) {
+      BitData* bit_data = (BitData*) pdata;
+      bit_data->set_exception_seen();
+    }
+  }
+#endif
+
   // notify JVMTI of an exception throw; JVMTI will detect if this is a first
   // time throw or a stack unwinding throw and accordingly notify the debugger
   if (JvmtiExport::can_post_on_exceptions()) {