Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mruby
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Libraries
mruby
Commits
302e2033
Commit
302e2033
authored
Oct 02, 2013
by
Daniel Bovensiepen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Improve Grammar of Documentation
parent
e06a0e39
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
src/gc.c
src/gc.c
+5
-5
No files found.
src/gc.c
View file @
302e2033
...
...
@@ -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.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment