article thumbnail

The Return of the Frame Pointers

Brendan Gregg

This technique saves two instructions in the prologue and epilogue and makes one additional general-purpose register (%rbp) available." Only in extreme circumstances does the cost (in processor time and I-cache footprint) translate to a tangible benefit - circumstances which usually resort to hand-coded assembly anyway.

Java 145