summaryrefslogtreecommitdiffhomepage
path: root/src/gc.c
AgeCommit message (Collapse)Author
2014-01-07remove superfluous includescremno
- reduce compile time by a little bit (full-core: ~0.7s for me) - thanks to 'include-what-you-use' for some help - include Standard C header files before any other (coding style)
2014-01-02Merge pull request #1637 from h2so5/extended-arena-sizeYukihiro "Matz" Matsumoto
Fix extended arena check in gc_protect
2014-01-02Fix extended arena check in gc_protecth2so5
2014-01-02remove various preprocessor conditionalscremno
- HAVE_IEEEFP_H is nowhere defined or needed at all - FreeBSD < 4 is unsupported since years - MSVC workaround (around what exactly?)
2013-11-22Make mrb->arena variable sized. Use MRB_GC_FIXED_ARENA for old behavior.Yukihiro "Matz" Matsumoto
You will not see "arena overflow" error anymore, but I encourage gem authors to check your gems with MRB_GC_FIXED_ARENA to avoid memory broat.
2013-11-08allow irep to be GCedYukihiro "Matz" Matsumoto
2013-11-07irep->pool not to be GCedYukihiro "Matz" Matsumoto
2013-11-07modified to use irep->reps to reference child ireps. preparation forYukihiro "Matz" Matsumoto
removing irep array from mrb_state. note that instructions OP_LAMBDA, OP_EXEC and OP_EPUSH are incompatible, and dumped mrb format has changed.
2013-11-04add Fiber.currentYukihiro "Matz" Matsumoto
2013-10-02Improve Grammar of DocumentationDaniel Bovensiepen
2013-08-14check d->type before accessing d->type->dfree; #1474 #858Yukihiro "Matz" Matsumoto
2013-08-09clean up the warnings when GC_PROFILE is onfleuria
2013-08-09remove duplicated incremental_gc_until() in generational GC; #1449Yukihiro "Matz" Matsumoto
2013-08-09add comments for major GCfleuria
2013-08-08finish half-baked GC cycle before starting full GC; #1447Yukihiro "Matz" Matsumoto
2013-08-08allow turning off GC generational mode by default by ↵Yukihiro "Matz" Matsumoto
MRB_GC_TURN_OFF_GENERATIONAL; #1447
2013-08-07fix #1442fleuria
in the marking root phase, we only marked the root context, but leaving the current context unmarked. when we execute a fiber, the current context would be changed and trigger this issue.
2013-08-01revise the comment in mrb_full_gc()fleuria
the old comment "clean all the black object as old" looks confusing, it looks like "transform black object to old object", but indeed black is old,
2013-08-01add comment for clear_all_old()fleuria
2013-07-25replace gc_assert with mrb_assertfleuria
2013-07-24remove an unused local variableYukihiro "Matz" Matsumoto
2013-07-24revise gc_mark_gray_list() not to cause SEGV on Ubuntu 32bitYukihiro "Matz" Matsumoto
2013-07-24restore once removed mrb_garbage_collect()Yukihiro "Matz" Matsumoto
2013-07-24Merge pull request #1407 from Fleurer/gc-introduce-incremental-gc-stepYukihiro "Matz" Matsumoto
separate out `incremental_gc_step()` from `mrb_incremental_gc()`, and misc minor rename
2013-07-24fix warningfleuria
2013-07-24rename variable_gray_list to atomic_gray_listfleuria
2013-07-24introduce gc_mark_gray_list(), and cleanup redaunt code with itfleuria
2013-07-24gc: replace comment "a round of GC" to "a GC cycle"fleuria
2013-07-24rename mrb_garbage_collect() to mrb_full_gc()fleuria
2013-07-24introduce incremental_gc_step()fleuria
2013-07-23gc: add comments for Generational Modefleuria
2013-07-22revise the Two White Parts comments in gc.cfleuria
2013-07-21Merge pull request #1392 from Fleurer/gc-rename-advance-phaseYukihiro "Matz" Matsumoto
rename advance_phace() to incremental_gc_until(), and cleanup some redundant codes with it.
2013-07-22change else formattingYukihiro "Matz" Matsumoto
2013-07-19cleanup redundant codes with incremental_gc_until()fleuria
2013-07-19rename advance_phase to incremental_gc_untilfleuria
in fact advance_phace() is not really a "phase", but can be used as an utility function.
2013-07-14Replace 0 with NULL because set NULL in sturct pointer.Jun Hiroe
2013-07-12mark stacks in final_marking; close #1359; close #1362Yukihiro "Matz" Matsumoto
2013-07-12factor out context stack markingYukihiro "Matz" Matsumoto
2013-07-02Merge pull request #1330 from suzukaze/refactor-gc-cYukihiro "Matz" Matsumoto
Refactor mrb_realloc() func in gc.c.
2013-07-01Refactor mrb_realloc() func in gc.c.Jun Hiroe
2013-07-01Fix unsigned/signed warning.Carson McDonald
2013-06-28refactor mrb_realloc()fleuria
remove the redundant codes with mrb_malloc_simple()
2013-06-25add mrb_malloc_simple() that returns NULL on errorYukihiro "Matz" Matsumoto
2013-06-20Fix compile warning for abortkyab
2013-06-11Check parameters strictly.Masaki Muranaka
calloc in C99 is expected to return NULL when nelem * len == 0.
2013-05-26Add MRB_WORD_BOXING mode (represent mrb_value as a word)kimu_shu
2013-05-26fix fiber GC problemYukihiro "Matz" Matsumoto
2013-05-22garbage collect context (fiber) properlyYukihiro "Matz" Matsumoto
2013-05-20primary mruby fiber implementationYukihiro "Matz" Matsumoto