Project

General

Profile

Feature #9761

Updated by nobu (Nobuyoshi Nakada) over 3 years ago

I hope `TRY_WITH_GC()` TRY\_WITH\_GC() may use `ruby_gc_stress` ruby\_gc\_stress value.

Currently, `ruby_gc_stress` ruby\_gc\_stress doesn't affect simple `xmalloc()`/`xrealloc()`/`xcalloc()`. xmalloc()/xrealloc()/xcalloc().
It is usefull to make these functions under gc-stress.
For example, #9657 is difficult to reproduce on trunk because there is not object creation but memory allocation after `BigDecimal_new()`. BigDecimal\_new().

Back