summaryrefslogtreecommitdiffhomepage
path: root/src/gc.c
AgeCommit message (Collapse)Author
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
2013-05-18Fixed the each object callback to be more consistent with other callbacks.Ryan Scott
2013-05-17Changed the each_object callback so that a pointer is passed for the object, ↵Ryan Scott
instead of the struct.
2013-05-17Changed the object_count so that it only iterates over the RBasic object, ↵Ryan Scott
not the full RVALUE known by the GC
2013-05-17First implementation of ObjectSpace moved outside of gc.cRyan Scott
2013-05-12Change in formatting for os_count_objects to be consistent with other functions.Ryan Scott
2013-05-12ObjectSpace.count_objects was incorrectly checking if an object was already ↵Ryan Scott
freed. Amended the count_objects test to ensure the correct distinction
2013-05-12Implemented ObjectSpace.count_objects to count the number of allocated ↵Ryan Scott
objects for each type
2013-04-29change return value of mrb_free from void* to voidYukihiro "Matz" Matsumoto
2013-04-29rename hash related gc functionsYukihiro "Matz" Matsumoto
2013-04-29fix mrb_string_shared memory leaksYukihiro "Matz" Matsumoto
2013-04-28mrb_str_new_static(): zero copy string creationYukihiro "Matz" Matsumoto
2013-04-25rename every ARGS_XXX to MRB_ARGS_XXX; ref #1206Yukihiro "Matz" Matsumoto
2013-04-22Use mrb_bool for the 'b' format specifier of mrb_get_argsh2so5
2013-04-01Add the care for malloc failed.Masaki Muranaka
At the first time, mrb_realloc raise RuntimeError. At the time fails twice in a row, it causes panic.
2013-03-29Rearrange SIZE_MAX. It is supported also VC++ since its version10. And there ↵Masaki Muranaka
seems SIZE_MAX is defined in stdint.h. And it possibly (depends on the version of VC++) conflicts with SIZE_MAX in limits.h. This patch is no need if I did not support VC++.
2013-03-29Sort include files. Some redundant includes are removed.Masaki Muranaka
2013-03-26remove all MRB_TT_MAIN from sourceYukihiro Matz Matsumoto
2013-03-25Make mrb_top_self return a real instance.Carson McDonald
2013-03-24Use size_t instead of int. This is for portability.Yukihiro Matz Matsumoto
2013-03-19rename mrb_true_or_false_value() to mrb_bool_value()Yukihiro Matz Matsumoto