Top


定義場所(file name)

hotspot/src/share/vm/runtime/threadLocalStorage.cpp

名前(function name)

void ThreadLocalStorage::set_thread(Thread* thread) {

本体部(body)

  {- -------------------------------------------
  (1) ThreadLocalStorage::pd_set_thread() で TLS への登録処理を行う.
      ---------------------------------------- -}

      pd_set_thread(thread);

  {- -------------------------------------------
  (1) (assert)
      ---------------------------------------- -}

      // The following ensure that any optimization tricks we have tried
      // did not backfire on us:
      guarantee(get_thread()      == thread, "must be the same thread, quickly");
      guarantee(get_thread_slow() == thread, "must be the same thread, slowly");
    }

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