Issue #8024 has been updated by authorNari (Narihiro Nakamura).


ko1 (Koichi Sasada) wrote:
> ?????帥?障??????????<????c???????c?????????с????????
>  ObjectSpace.each_object 筝?c?? lazy GC 莎激????????????????c??障?????????
>  
>  (1) lazy sweep ???罩≪???????????????ャ?鴻????????ч??????
>  ObjectSpace.each_object ???絎?茵???????????
>  鐚???с???????筝??? sleep ??????????????????????????ц??????????????c???????с????????
>  ?????c??障?????鐚?
>  

?????帥?障???????????篆罩???絎鴻??????????茹c?с????障???????с????????
??ャ?鴻????????у??茵??????????????茹f浦?????????с???????????鐚?

>  (2) ??с???????若?????≦宍????????障??????????????????ObjectSpace.each_object 筝??
>  ??????罕????榊??????????с???????????鐚??????????????????????????????????????т信罩c?????????????
>  ??????????????????????障?????
>  

???????篆罩???綽?荀?????????????障??鐚????с???????????????障??鐚????
?????????ObjectSpace.each_object??筝??с????若???????≦宍??????????????????潟?若?????♂?????若?????????醇?с???????????с???????????????????障???ィ絅??????????潟?若??????????????с???????

----------------------------------------
Feature #8024: Lazy sweep ??? on/off ???????????????????
https://bugs.ruby-lang.org/issues/8024#change-37873

Author: mrkn (Kenta Murata)
Status: Open
Priority: Normal
Assignee: authorNari (Narihiro Nakamura)
Category: core
Target version: 


Lazy sweep ??? on/off ??????罘???純??菴遵????????????????????篏??????障????????
????????????????医??紊????1??ゃ?? GC ???≪?吾?ャ?若??∽??2??ゃ??菴遵???????障?????

??医??紊???違?? RUBY_GC_DISABLE_LAZY_SWEEP ??с?????
????????? 0 篁ュ?????贋?違??荐???????? ruby ???絎?茵???????????
lazy sweep ??? off ???倶????у??茵?????????障?????

GC ??菴??????????????≪?吾?ャ?若??∽?違?? disable_lazy_sweep ??? enable_lazy_sweep ??с?????
???絖??????????lazy_sweep ??? on/off ???????????帥?????????????篏?????障?????

????????????????篏???????潟?c??腟?膩???Lazy sweep ??? on ??????????????????? SEGV ???
綣?腓障?????鴻????潟?若????х?榊????????????????????с?????
SEGV ???榊????>散?????障??腟?????????????????????罧?綽泣???????????医?怨?????障????с????障????????

??????? Lazy sweep ???罩≪?????????荀?????????c???????????c?????????????с????????
篁???篋??綵????腴???ゃ?????????????障????????с???????<????ф??罅????????????????障?????

trunk/2.0.0 ??? ??? https://gist.github.com/mrkn/5096076

1.9.3 ??? ??? https://gist.github.com/mrkn/5096071


-- 
http://bugs.ruby-lang.org/