summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorDaniel Bovensiepen <[email protected]>2013-10-02 00:50:55 +0800
committerDaniel Bovensiepen <[email protected]>2013-10-02 00:50:55 +0800
commit302e20333b5da7f5f5166264c54bee7e3add6652 (patch)
tree9281935bff59e8029ad84c8a24ce04146985967d
parente06a0e39f8bad9c4f2b6f52d8b70345ca63d1d7d (diff)
downloadmruby-302e20333b5da7f5f5166264c54bee7e3add6652.tar.gz
mruby-302e20333b5da7f5f5166264c54bee7e3add6652.zip
Improve Grammar of Documentation
-rw-r--r--src/gc.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/gc.c b/src/gc.c
index 16d187e30..361024af3 100644
--- a/src/gc.c
+++ b/src/gc.c
@@ -28,11 +28,11 @@
mruby's GC is Tri-color Incremental GC with Mark & Sweep.
Algorithm details are omitted.
- Instead, the part about the implementation described below.
+ Instead, the implementation part is described below.
== Object's Color
- Each object to be painted in three colors.
+ Each object can be painted in three colors:
* White - Unmarked.
* Gray - Marked, But the child objects are unmarked.
@@ -68,9 +68,9 @@
== Write Barrier
- mruby implementer, C extension library writer must write a write
+ mruby implementer and C extension library writer must write a write
barrier when writing a pointer to an object on object's field.
- Two different write barrier:
+ Two different write barrier are available:
* mrb_field_write_barrier
* mrb_write_barrier
@@ -88,7 +88,7 @@
* Major GC - same as a full regular GC cycle.
- the difference between "tranditional" generational GC is that, the major GC
+ The difference to a "traditional" generational GC is, that the major GC
in mruby is triggered incrementally in a tri-color manner.