changeset 24109:1e693dba88e4

call_site_target_value dependency can be invalidated with counter changing
author Tom Rodriguez <tom.rodriguez@oracle.com>
date Tue, 21 Feb 2017 16:57:23 -0800
parents aacab1fa8044
children a8378ff1936d
files src/share/vm/jvmci/jvmciEnv.cpp
diffstat 1 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/share/vm/jvmci/jvmciEnv.cpp	Wed Feb 15 15:47:43 2017 +0100
+++ b/src/share/vm/jvmci/jvmciEnv.cpp	Tue Feb 21 16:57:23 2017 -0800
@@ -435,7 +435,10 @@
       stringStream st(buffer, O_BUFLEN);
       deps.print_dependency(witness, true, &st);
       *failure_detail = st.as_string();
-      if (env == NULL || counter_changed || deps.type() == Dependencies::evol_method) {
+      if (env == NULL || counter_changed ||
+          deps.type() == Dependencies::evol_method || deps.type() == Dependencies::call_site_target_value) {
+        // evol_method and call_site_target_value can become invalid without
+        // changes to the system dictionary so just report them as a failure.
         return JVMCIEnv::dependencies_failed;
       } else {
         // The dependencies were invalid at the time of installation