hotspot/src/share/vm/classfile/systemDictionary.cpp
changeset 26580 8cca7fbe77b8
parent 26181 b8d61f186627
child 26583 2ef7b85da46b
--- a/hotspot/src/share/vm/classfile/systemDictionary.cpp	Fri Sep 05 11:23:47 2014 -0700
+++ b/hotspot/src/share/vm/classfile/systemDictionary.cpp	Fri Sep 05 14:39:45 2014 -0700
@@ -2290,6 +2290,9 @@
   }
 
   assert(spe != NULL && spe->method() != NULL, "");
+  assert(!UseCompiler || (spe->method()->has_compiled_code() &&
+         spe->method()->code()->entry_point() == spe->method()->from_compiled_entry()),
+         "MH intrinsic invariant");
   return spe->method();
 }