summaryrefslogtreecommitdiffhomepage
path: root/src/gc.c
AgeCommit message (Collapse)Author
2014-06-03Fix typos in gckatmutua
2014-05-03Fix indentJun Hiroe
2014-04-29stack may be unclearedYukihiro "Matz" Matsumoto
2014-04-29fiber context may be NULLYukihiro "Matz" Matsumoto
2014-04-27forgot to remove abort()Yukihiro "Matz" Matsumoto
2014-04-27mark may be missed when eval() is calledYukihiro "Matz" Matsumoto
2014-04-24Fix MSVC warning for gc.ckyab
2014-04-01Use MRB_ENV_STACK_SHARED_P to check `cioff` field of REnv.take_cheeze
2014-04-01Use MRB_ENV_STACK_LEN instead of accessing `flags` directly to get REnv's ↵take_cheeze
stack length.
2014-03-18mark root fiber object; close #1865Yukihiro "Matz" Matsumoto
2014-03-10add comments at end of include guardcubicdaiya
2014-02-28remove break altogether in ci loopYukihiro "Matz" Matsumoto
2014-02-27should not continue loop when ci = NULLYukihiro "Matz" Matsumoto
2014-02-09Merge pull request #1674 from cremno/mrb_bool-FALSE-TRUEYukihiro "Matz" Matsumoto
use mrb_bool, FALSE and TRUE more
2014-02-06introduce mrb_str_new_lit() to create strings from C string litralsYukihiro "Matz" Matsumoto
2014-01-31use mrb_bool, FALSE and TRUE morecremno
It doesn't matter to me if one is using FALSE/TRUE instead of 1/0 but I prefer a type (alias) which emphasizes boolean vars to int. I changed 1/0 to FALSE/TRUE anyway.
2014-01-31rework mruby-objectspace and gc.[ch]cremno
- functions should have C linkage (for C++ code) - add prefix to each_object_callback - use more appropriate variable types / initialization - ObjectSpace::count_objects has 1 opt. arg. - prefer mrb_intern_lit to mrb_intern_cstr for str. lit. - mruby/value.h is included by mruby.h - adjust coding style
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.