@ Benchmark @ BenchmarkMode ( Mode . Throughput ) public StackFrame stackWalkerWithInnerClass ( ) { return StackWalker . getInstance ( ) . walk ( new StackFrameExtractor ( 1 ) ) ; }
Benchmarks extracting a stack frame from stack walker by using a static inner class .