Garbage collector tuning in Ruby 1.9

后端 未结 2 576
说谎
说谎 2021-02-04 03:26

I know about GC.enable/disable, but is there any way of controlling the Ruby 1.9 garbage collector in more detail?

When profiling my code

2条回答
  •  情深已故
    2021-02-04 04:02

    No.

    There is no way to tune the 1.9.0–1.9.2 GC. However, you can compile a custom VM that exposes more or less the same tuning parameters as REE with this patch.

提交回复
热议问题