Top


定義場所(file name)

hotspot/src/share/vm/gc_implementation/g1/vm_operations_g1.cpp

名前(function name)

VM_G1IncCollectionPause::VM_G1IncCollectionPause(
                                      unsigned int   gc_count_before,
                                      size_t         word_size,
                                      bool           should_initiate_conc_mark,
                                      double         target_pause_time_ms,
                                      GCCause::Cause gc_cause)

本体部(body)

  {- -------------------------------------------
  (1) スーパークラスの初期化
      ---------------------------------------- -}

      : VM_G1OperationWithAllocRequest(gc_count_before, word_size),

  {- -------------------------------------------
  (1) フィールドの初期化
      ---------------------------------------- -}

        _should_initiate_conc_mark(should_initiate_conc_mark),
        _target_pause_time_ms(target_pause_time_ms),
        _full_collections_completed_before(0) {

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

      guarantee(target_pause_time_ms > 0.0,
                err_msg("target_pause_time_ms = %1.6lf should be positive",
                        target_pause_time_ms));
      guarantee(word_size == 0 || gc_cause == GCCause::_g1_inc_collection_pause,
                "we can only request an allocation if the GC cause is for "
                "an incremental GC pause");

  {- -------------------------------------------
  (1) フィールドの初期化
      ---------------------------------------- -}

      _gc_cause = gc_cause;
    }

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