< prev index next >

src/os/windows/vm/os_windows.cpp

Print this page

        

*** 316,328 **** // RtlCaptureStackBackTrace Windows API may not exist prior to Windows XP. // So far, this method is only used by Native Memory Tracking, which is // 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; } return captured; --- 316,325 ----
< prev index next >