diff src/share/vm/code/compiledIC.cpp @ 15069:d1b948f9db34

restore compiledic assert until source of failures understood
author Tom Rodriguez <tom.rodriguez@oracle.com>
date Fri, 11 Apr 2014 10:30:52 -0700
parents 5c71dcf0915d
children 9f7eac122d61
line wrap: on
line diff
--- a/src/share/vm/code/compiledIC.cpp	Fri Apr 11 18:07:12 2014 +0200
+++ b/src/share/vm/code/compiledIC.cpp	Fri Apr 11 10:30:52 2014 -0700
@@ -231,8 +231,8 @@
   // for calling directly to vep without using the inline cache (i.e., cached_value == NULL)
 #ifdef ASSERT
   CodeBlob* caller = CodeCache::find_blob_unsafe(instruction_address());
-  bool is_c1_method = caller->is_compiled_by_c1();
-  assert( is_c1_method ||
+  bool is_c1_or_graal_method = caller->is_compiled_by_c1() || caller->is_compiled_by_graal();
+  assert( is_c1_or_graal_method ||
          !is_monomorphic ||
          is_optimized() ||
          (cached_metadata() != NULL && cached_metadata()->is_klass()), "sanity check");