Top


定義場所(file name)

hotspot/src/os/windows/vm/os_windows.cpp

説明(description)

// Returns an estimate of the current stack pointer. Result must be guaranteed // to point into the calling threads stack, and be no lower than the current // stack pointer.

名前(function name)

address os::current_stack_pointer() {

本体部(body)

  {- -------------------------------------------
  (1) 適当に局所変数を宣言し, そのアドレスをリターンするだけ.
      ---------------------------------------- -}

      int dummy;
      address sp = (address)&dummy;
      return sp;
    }

This document is available under the GNU GENERAL PUBLIC LICENSE Version 2.