hotspot/src/cpu/x86/vm/frame_x86.cpp
changeset 15801 fefae82e1067
parent 14579 7f6ce6e3dd80
child 15937 fd3d2d0175f9
--- a/hotspot/src/cpu/x86/vm/frame_x86.cpp	Fri Feb 22 10:16:51 2013 -0800
+++ b/hotspot/src/cpu/x86/vm/frame_x86.cpp	Tue Feb 26 14:09:52 2013 +0100
@@ -91,6 +91,12 @@
         return false;
       }
     }
+
+    // Could just be some random pointer within the codeBlob
+    if (!_cb->code_contains(_pc)) {
+      return false;
+    }
+
     // Entry frame checks
     if (is_entry_frame()) {
       // an entry frame must have a valid fp.