Top


定義場所(file name)

hotspot/src/share/vm/gc_implementation/parallelScavenge/psParallelCompact.hpp

名前(function name)

inline void ParallelCompactData::RegionData::add_live_obj(size_t words)
{

本体部(body)

  {- -------------------------------------------
  (1) Atomic::add() で, _dc_and_los フィールドの値をアトミックに引数(以下の words)分だけ増加させる.
      ---------------------------------------- -}

      assert(words <= (size_t)los_mask - live_obj_size(), "overflow");
      Atomic::add((int) words, (volatile int*) &_dc_and_los);
    }

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