36件ヒット
[1-36件を表示]
(0.010秒)
ライブラリ
- ビルトイン (16)
モジュール
- GC (16)
キーワード
-
NEWS for Ruby 2
. 4 . 0 (8) -
NEWS for Ruby 2
. 7 . 0 (5) -
NEWS for Ruby 3
. 0 . 0 (4) -
NEWS for Ruby 3
. 1 . 0 (3) -
auto
_ compact (3) -
auto
_ compact= (3) -
verify
_ compaction _ references (5)
検索結果
先頭5件
-
GC
. compact -> Hash (39107.0) -
ヒープをコンパクションします。
...ヒープをコンパクションします。
詳細は15626を参照してください。
@see GC.verify_compaction_references... -
GC
. auto _ compact=(bool) (27191.0) -
GC.compact をフルGCで行うかどうかを制御します。
...
GC.compact をフルGCで行うかどうかを制御します。
true を設定するとフルGCのタイミングででヒープをコンパクションします。
この機能を有効にするとフルGCのパフォーマンスが低下します。
デフォルトは false です。
詳細......は17176を参照してください。
@param bool フルGCでコンパクションするかどうかを true か false で設定します。
@see GC.compact GC.auto_compact... -
GC
. verify _ compaction _ references(toward: nil , double _ heap: nil) -> Hash (27130.0) -
コンパクションの参照の一貫性を検証します。
...にして、
全ての移動を確実にするためにヒープをコンパクションして、全ての参照を更新して、
それからフルGCを実行します。
もし T_MOVED への参照をもつオブジェクトがあれば、マークスタックにプッシュされて、
SEGV が......起きるでしょう。
@param toward nil か :empty を指定します。
@param double_heap ヒープサイズを2倍にするかどうかを真偽値で指定します。
@return GC.compact の返り値と同じです。
@see GC.compact... -
GC
. auto _ compact -> bool (27113.0) -
auto compaction が有効化どうかを返します。
...auto compaction が有効化どうかを返します。
@return auto compaction が有効な場合 true を返します。
そうでなければ false を返します。
@see GC.auto_compact=... -
NEWS for Ruby 3
. 1 . 0 (72.0) -
NEWS for Ruby 3.1.0 このドキュメントは前回リリース以降のバグ修正を除くユーザーに影響のある機能の変更のリストです。
...< A; end
A.subclasses #=> [D, B]
B.subclasses #=> [C]
C.subclasses #=> []
//}
* Enumerable
* 新規メソッド
* Enumerable#compactが追加されました。 17312
* Enumerable#tallyがカウント集計用のハッシュオブジェクトを任意で渡せるように......rator::Lazy#compact が追加されました。 17312
* File
* 変更されたメソッド
* File.dirname がパスの階層を取り除く任意の引数を渡せるようになりました。 12194
* GC
* 新規メソッド
* GC.measure_total_time = true でGCの計測を......あります。デフォルトで有効になっています。 GC.measure_total_time は現在の設定を返します。 GC.stat[:time] または GC.stat(:time) は、測定された時間をミリ秒で返します。 10917
* GC.total_time が計測された時間をナノ秒で返します... -
NEWS for Ruby 3
. 0 . 0 (54.0) -
NEWS for Ruby 3.0.0 このドキュメントは前回リリース以降のバグ修正を除くユーザーに影響のある機能の変更のリストです。
...e evaluated code. 4352 17419
* ConditionVariable
* ConditionVariable#wait may now invoke the `block`/`unblock` scheduler hooks in a non-blocking context. 16786
* Dir
* Dir.glob and Dir.[] now sort the results by default, and accept the `sort:` keyword option. 8709
* ENV
* ENV.exce......ation of Fiber#transfer is relaxed. 17221
* GC
* GC.auto_compact= and GC.auto_compact have been added to control when compaction runs. Setting `auto_compact=` to `true` will cause compaction to occur during major collections. At the moment, compaction adds significant overhead to major colle......267
* Queue / SizedQueue
* Queue#pop, SizedQueue#push and related methods may now invoke the `block`/`unblock` scheduler hooks in a non-blocking context. 16786
* Ractor
* New class added to enable parallel execution. See rdoc-ref:ractor.md for more details.
* Random
* `Random::DEFA... -
NEWS for Ruby 2
. 4 . 0 (18.0) -
NEWS for Ruby 2.4.0 このドキュメントは前回リリース以降のバグ修正を除くユーザーに影響のある機能の変更のリストです。
...け付けるようになりました。
half には :even, :up, :down が指定可能です。 12548 12958 12953
* Hash
* Hash#compact, Hash#compact! を追加 11818
* Hash#transform_values Hash#transform_values! を追加 12512
* Integer
* Fixnum と Bignum は Integer に......show_version() will no longer exits the process, if
RUBY_SHOW_COPYRIGHT_TO_DIE is set to 0. This will be the default in
the future.
* rb_gc_adjust_memory_usage() [Feature #12690]
=== サポートするプラットフォームの変更
* FreeBSD < 4 はもうサポートしていま... -
NEWS for Ruby 2
. 7 . 0 (18.0) -
NEWS for Ruby 2.7.0 このドキュメントは前回リリース以降のバグ修正を除くユーザーに影響のある機能の変更のリストです。
...wメソッドが :receiver オプションを受け付けるように
なりました。 15751
* GC
* 新規メソッド
* ヒープをコンパクションするGC.compactメソッドが追加されました。
このメソッドはヒープの生きているオブジ...