hotspot/src/share/vm/runtime/frame.hpp
changeset 26821 ce9f82507dc2
parent 25717 7493b8ac31b7
child 29180 50369728b00e
--- a/hotspot/src/share/vm/runtime/frame.hpp	Tue Sep 23 17:24:34 2014 -0700
+++ b/hotspot/src/share/vm/runtime/frame.hpp	Wed Sep 24 12:19:07 2014 -0700
@@ -68,6 +68,15 @@
   // Constructors
   frame();
 
+#ifndef PRODUCT
+  // This is a generic constructor which is only used by pns() in debug.cpp.
+  // pns (i.e. print native stack) uses this constructor to create a starting
+  // frame for stack walking. The implementation of this constructor is platform
+  // dependent (i.e. SPARC doesn't need an 'fp' argument an will ignore it) but
+  // we want to keep the signature generic because pns() is shared code.
+  frame(void* sp, void* fp, void* pc);
+#endif
+
   // Accessors
 
   // pc: Returns the pc at which this frame will continue normally.