This is my channel for stuff that I think is fun and cool. Thanks for coming!
Opens in a new windowOpens an external siteOpens an external site in a new window Hi everyone! How are you doing? It's me, Aaron (some people know me on the internet as Tenderlove)! I hope you're doing well. ❤️ Since we're coming up on the end of the year, I thought it might be a good idea to take a moment to reflect on cool stuff that's happened or is happening in the Ruby community right now. Ac
概要 原著者の許諾を得て翻訳・公開いたします。 英語記事: Visualizing Your Ruby Heap 原文公開日: 2017/09/27 著者: Aaron Patterson サイト: http://tenderlovemaking.com/ 前回の記事では、Rubyのオブジェクトがどのようにメモリ上に展開されるかについて軽く触れました。そのときの情報を元に、今回はRubyヒープのダンプを取ってそのヒープの配置や断片化をビジュアル表示するプログラムを書くことにします。 Rubyオブジェクトのレイアウトをざっと復習 単なる復習: Rubyオブジェクトは固定幅です。つまり、あらゆるRubyオブジェクトのサイズは同一(40バイト)になります。オブジェクトは実際にはmallocで割り当てられるのではなく、ページの内部に配置されます。 1つのRubyプロセスには多数のページが含まれ、1
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く