6

It's a phrase I've been hearing a lot recently as I've been trying to improve performance of my application.

See here and here for examples of what I mean.

Usually the way it's mentioned is something like this: "It's slow because it involves a stack walk"

What does a stack walk mean/ what does it mean to walk the stack?

Community
  • 1
  • 1
Aequitas
  • 1,875
  • 1
  • 19
  • 43
  • 1
    The first half dozen answers when I enter "Stack walk" into google all seem pretty relevant. Any specific question you have that you can't find on google? – John3136 Aug 06 '15 at 03:09
  • @John3136 could you link me one. I didn't find anything relevant? besides if SO doesn't have an Q/A for it, then it should. – Aequitas Aug 06 '15 at 03:17
  • For any one reaching this question may be interested in : http://openjdk.java.net/jeps/259 – Jayan Aug 06 '15 at 05:03
  • IMHO, we should leave this question open (or make it a wiki entry) – Jayan Aug 06 '15 at 05:04

1 Answers1

7

The process of Accessing ,Traversal and Filtering of a stack trace can be referred as stack walking. Or in other words we can say that processing a stack trace in any form can be referred as stack walking.A stack trace also called stack backtrace or stack traceback is a report of the active stack frames at a certain point in time during the execution of a program.

Refer to Wikipedia and OpenJDK Documentaion for further details.

OshoParth
  • 1,402
  • 2
  • 17
  • 38