Top


定義場所(file name)

hotspot/src/share/vm/runtime/os.hpp

名前(function name)

  static inline void write_memory_serialize_page(JavaThread *thread) {

本体部(body)

  {- -------------------------------------------
  (1) (変数宣言など)
      (page_offset は, serialize page 中での
       処理対象のスレッド(thread)の書き込み位置)
      ---------------------------------------- -}

        uintptr_t page_offset = ((uintptr_t)thread >>
                                get_serialize_page_shift_count()) &
                                get_serialize_page_mask();

  {- -------------------------------------------
  (1) serialize page の該当箇所に書き込みを行う.
      ---------------------------------------- -}

        *(volatile int32_t *)((uintptr_t)_mem_serialize_page+page_offset) = 1;
      }

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