< prev index next >

hotspot/src/share/vm/prims/stackwalk.hpp

Print this page

        

@@ -80,10 +80,13 @@
   static void fill_stackframe(Handle stackFrame, const methodHandle& method, int bci);
 
   static void fill_live_stackframe(Handle stackFrame, const methodHandle& method, int bci,
                                    javaVFrame* jvf, TRAPS);
 
+  static inline bool get_caller_class(int mode) {
+    return (mode & JVM_STACKWALK_GET_CALLER_CLASS) != 0;
+  }
   static inline bool skip_hidden_frames(int mode) {
     return (mode & JVM_STACKWALK_SHOW_HIDDEN_FRAMES) == 0;
   }
   static inline bool need_method_info(int mode) {
     return (mode & JVM_STACKWALK_FILL_CLASS_REFS_ONLY) == 0;
< prev index next >