summaryrefslogtreecommitdiffhomepage
path: root/src/gc.c
AgeCommit message (Expand)Author
2017-07-18Simplify `mrb_gc_arena_restore()` to reduce overhead.Yukihiro "Matz" Matsumoto
2017-07-12Avoid float operation to shrink arena buffer size.Yukihiro "Matz" Matsumoto
2017-06-22No need to mark stacks of terminated fibers; fix #3720Yukihiro "Matz" Matsumoto
2017-06-17Merge pull request #3706 from MasahikoSawada/fix_typoYukihiro "Matz" Matsumoto
2017-06-17Mark the GC arena in `final_marking_phase`.Yukihiro "Matz" Matsumoto
2017-06-17Mark the root context in `final_marking_phase`.Yukihiro "Matz" Matsumoto
2017-06-17Mark global variables in `final_marking_phase`; fix #3704Yukihiro "Matz" Matsumoto
2017-06-17Correct comments in gc.cYukihiro "Matz" Matsumoto
2017-06-17Fix a typo in gc.c.Masahiko Sawada
2017-06-16Allow `break` from a block called by `mrb_yield`; close #3359Yukihiro "Matz" Matsumoto
2017-06-16Use `MRB_THROW` instead of `mrb_exc_raise`.Yukihiro "Matz" Matsumoto
2017-06-15Mark the exception object in the final marking phase; ref #3702Yukihiro "Matz" Matsumoto
2017-06-03Prohibit changing generational mode during GC disabled; fix #3689Yukihiro "Matz" Matsumoto
2017-06-01Avoid invoking GC when disabled or iterating; fix #3681Yukihiro "Matz" Matsumoto
2017-06-01Simplify ensure stack management; fix #3683Yukihiro "Matz" Matsumoto
2017-05-31Simplify the logic in `mrb_realloc`; ref #3679Yukihiro "Matz" Matsumoto
2017-05-29Mark the current context (not root) in final marking.Yukihiro "Matz" Matsumoto
2017-05-25Revert 01f7825; fix #3650Yukihiro "Matz" Matsumoto
2017-05-25Avoid marking possibly freed stack; #3550 #3612Yukihiro "Matz" Matsumoto
2017-05-23Simplify backtrace mechanism; fix #3633 #3634 #3644Yukihiro "Matz" Matsumoto
2017-05-23Remove class info from backtrace lines.Yukihiro "Matz" Matsumoto
2017-05-23Use index in `each_object`.Yukihiro "Matz" Matsumoto
2017-04-25Stop invoking GC before `each_object` to avoid test failure; #3616Yukihiro "Matz" Matsumoto
2017-04-25Prevent GC during `each_object`; fix #3616Yukihiro "Matz" Matsumoto
2017-04-25Should terminate nested iterations in each_object; ref #3359Yukihiro "Matz" Matsumoto
2017-04-25Revert "Disable GC during `gc_each_objects()`; fix #3616"Yukihiro "Matz" Matsumoto
2017-04-25Use fiber marking instead of `mark_context`.Yukihiro "Matz" Matsumoto
2017-04-22Keep reference to mrb_context from env; fix #3619Yukihiro "Matz" Matsumoto
2017-04-21Revert e8dca6b03; fix #3550Yukihiro "Matz" Matsumoto
2017-04-21Revert ae4217e81; fix #3619Yukihiro "Matz" Matsumoto
2017-04-20Disable GC during `gc_each_objects()`; fix #3616Yukihiro "Matz" Matsumoto
2017-04-20Allow `mrb_objspace_each_objects()` to break iteration; ref #3359Yukihiro "Matz" Matsumoto
2017-04-18Fixed a wrong condition; fix #3550Yukihiro "Matz" Matsumoto
2017-04-18Revert 6dd1a57; fix #3612; ref #3550Yukihiro "Matz" Matsumoto
2017-04-17Mark whole root objects in final_marking_phase(); fix #3603Yukihiro "Matz" Matsumoto
2017-04-11Shared TT_ENV may need to be marked; fix #3550Yukihiro "Matz" Matsumoto
2017-04-10Protect arguments from GC; fix #3597Yukihiro "Matz" Matsumoto
2017-04-10Clear unused stack region that may refer freed objects; fix #3596Yukihiro "Matz" Matsumoto
2017-04-10Skip stack marking at all if c->stack is NULL.Yukihiro "Matz" Matsumoto
2017-04-05Use stderr for debug prints in DEBUG(); fix #3584Yukihiro "Matz" Matsumoto
2017-04-03Protect ensure clause lambdas from GC; fix #3491Yukihiro "Matz" Matsumoto
2017-04-03Add `struct REnv` to union `RVALUE`; ref #3534Yukihiro "Matz" Matsumoto
2017-03-04Avoid tracing shared TT_ENV object.Yukihiro "Matz" Matsumoto
2017-02-15Preallocate SystemStackError; ref #3421Yukihiro "Matz" Matsumoto
2017-02-08Mark classes referenced from saved backtrace.Yukihiro "Matz" Matsumoto
2017-02-04No need to make env unshared in the finalization; fix #3425Yukihiro "Matz" Matsumoto
2017-02-04Mark `mrb->backtrace.exc` as GC root; fix #3388Yukihiro "Matz" Matsumoto
2016-12-10Merge pull request #3329 from bouk/reuseYukihiro "Matz" Matsumoto
2016-12-10gc.c: dead_slot is boolean; ref #3339Yukihiro "Matz" Matsumoto
2016-12-10do not destroy a page with an active TT_ENV (e.g. an env referred from TT_FIBER)Kazuho Oku