repo.or.cz
/
rbx.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
history
|
raw
|
HEAD
Tag unstable CGI specs.
[rbx.git]
/
kernel
/
bootstrap
/
gc.rb
blob
c2ccd266dd9e48ecd0042676899637822db8b9b0
1
class GC
2
def self.start
3
run(false)
4
end
5
6
def self.run(tenure)
7
Ruby.primitive :gc_start
8
raise PrimitiveFailure, "primitive failed"
9
end
10
11
def self.collect_references(obj)
12
Ruby.primitive :gc_collect_references
13
raise PrimitiveFailure, "primitive failed"
14
end
15
end