るりまサーチ

最速Rubyリファレンスマニュアル検索!
22件ヒット [1-22件を表示] (0.072秒)
トップページ > クエリ:-[x] > クエリ:merge[x] > モジュール:GC[x]

別のキーワード

  1. _builtin -
  2. open-uri open
  3. irb/input-method new
  4. irb/input-method gets
  5. matrix -

ライブラリ

検索結果

GC.latest_gc_info(key) -> object (107.0)

最新のGCの情報を返します。

...最新のGCの情報を返します。

@param result_hash 戻り値のためのハッシュを指定します。省略した場合は新
しくハッシュを作成します。result_hash の内容は上書き
されます。

@param key 得られる情報か...
...//emlist[例][ruby]{
latest = GC.latest_gc_info
latest # => {:major_by=>nil, :gc_by=>:newobj, :have_finalizer=>false, :immediate_sweep=>false, :state=>:sweeping}

stat = GC.stat
merge
d = GC.latest_gc_info(stat)
merge
d == latest.merge(stat) # => true

GC
.latest_gc_info(:gc_by) # => :newobj
//}...

GC.latest_gc_info(result_hash = {}) -> Hash (107.0)

最新のGCの情報を返します。

...最新のGCの情報を返します。

@param result_hash 戻り値のためのハッシュを指定します。省略した場合は新
しくハッシュを作成します。result_hash の内容は上書き
されます。

@param key 得られる情報か...
...//emlist[例][ruby]{
latest = GC.latest_gc_info
latest # => {:major_by=>nil, :gc_by=>:newobj, :have_finalizer=>false, :immediate_sweep=>false, :state=>:sweeping}

stat = GC.stat
merge
d = GC.latest_gc_info(stat)
merge
d == latest.merge(stat) # => true

GC
.latest_gc_info(:gc_by) # => :newobj
//}...