hotspot/src/os/windows/vm/os_windows.cpp
changeset 40383 1ebc8c5aed30
parent 40010 e32d5e545789
child 40655 9f644073d3a0
--- a/hotspot/src/os/windows/vm/os_windows.cpp	Mon Aug 15 13:06:50 2016 -0700
+++ b/hotspot/src/os/windows/vm/os_windows.cpp	Mon Aug 15 13:13:48 2016 -0700
@@ -318,9 +318,6 @@
 // only supported on Windows XP or later.
 //
 int os::get_native_stack(address* stack, int frames, int toSkip) {
-#ifdef _NMT_NOINLINE_
-  toSkip++;
-#endif
   int captured = RtlCaptureStackBackTrace(toSkip + 1, frames, (PVOID*)stack, NULL);
   for (int index = captured; index < frames; index ++) {
     stack[index] = NULL;