hotspot/src/share/vm/runtime/vframe_hp.cpp
changeset 42650 1f304d0c888b
parent 38133 78b95467b9f1
child 46271 979ebd346ecf
child 43484 9c95dd31d0da
--- a/hotspot/src/share/vm/runtime/vframe_hp.cpp	Sun Dec 11 12:05:57 2016 -0800
+++ b/hotspot/src/share/vm/runtime/vframe_hp.cpp	Sun Dec 11 19:07:04 2016 -0800
@@ -198,7 +198,7 @@
   if (scope() == NULL) {
     CompiledMethod* nm = code();
     Method* method = nm->method();
-    assert(method->is_native(), "");
+    assert(method->is_native() || nm->is_aot(), "Expect a native method or precompiled method");
     if (!method->is_synchronized()) {
       return new GrowableArray<MonitorInfo*>(0);
     }