diff --git a/doc/extension.ja.rdoc b/doc/extension.ja.rdoc index bde907c916..b768733365 100644 --- a/doc/extension.ja.rdoc +++ b/doc/extension.ja.rdoc @@ -780,9 +780,9 @@ RUBY_TYPED_WB_PROTECTED :: メソッドの実装に適切にライトバリアを挿入する責任があります. さもなくばRubyは実行時にクラッシュする可能性があります. - ライトバリアについてはdoc/extension.ja.rdocのAppendix D - "世代別GC"も参照してください. - + ライトバリアについては{世代別 + GC}[rdoc-ref:@Appendix+D.+-E4-B8-96-E4-BB-A3-E5-88-A5GC] + も参照してください. Cの構造体の割当と対応するオブジェクトの生成を同時に行うマク ロとして以下のものが提供されています. diff --git a/doc/extension.rdoc b/doc/extension.rdoc index f0e12f27f2..db4145ca18 100644 --- a/doc/extension.rdoc +++ b/doc/extension.rdoc @@ -747,13 +747,14 @@ RUBY_TYPED_WB_PROTECTED :: barriers in all implementations of methods of that object as appropriate. Otherwise Ruby might crash while running. - More about write barriers can be found in "Generational GC" in - Appendix D. + More about write barriers can be found in {Generational + GC}[rdoc-ref:@Appendix+D.+Generational+GC]. RUBY_TYPED_FROZEN_SHAREABLE :: - This flag indicates that the object is shareable object - if the object is frozen. See Appendix F more details. + This flag indicates that the object is shareable object if the object + is frozen. See {Ractor support}[rdoc-ref:@Appendix+F.+Ractor+support] + more details. If this flag is not set, the object can not become a shareable object by Ractor.make_shareable() method.