diff -r 522d6486f410 -r 8cca7fbe77b8 hotspot/src/share/vm/classfile/systemDictionary.cpp --- 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(); }