diff src/os_cpu/bsd_x86/vm/os_bsd_x86.cpp @ 7987:12285410684f

8006508: Wrong frame constructor is called in os_linux_x86.cpp Reviewed-by: dholmes, coleenp Contributed-by: Jeremy Manson <jeremymanson@google.com>
author dholmes
date Mon, 04 Feb 2013 23:53:10 -0500
parents d2f8c38e543d
children 71f13276159d
line wrap: on
line diff
--- a/src/os_cpu/bsd_x86/vm/os_bsd_x86.cpp	Mon Feb 04 08:26:02 2013 -0500
+++ b/src/os_cpu/bsd_x86/vm/os_bsd_x86.cpp	Mon Feb 04 23:53:10 2013 -0500
@@ -372,7 +372,7 @@
                 CAST_FROM_FN_PTR(address, os::current_frame));
   if (os::is_first_C_frame(&myframe)) {
     // stack is not walkable
-    return frame(NULL, NULL, NULL);
+    return frame();
   } else {
     return os::get_sender_for_C_frame(&myframe);
   }