summaryrefslogtreecommitdiff
path: root/gc.rb
diff options
context:
space:
mode:
authorPeter Zhu <[email protected]>2024-09-17 10:33:47 -0400
committerPeter Zhu <[email protected]>2024-09-18 12:58:05 -0400
commitf8e1c93fe1433b039caa48f87440a938781c00fc ()
tree26e8d683d72c3060423be8e3ded2fb178faf5fca /gc.rb
parent461c48960da24fbc47735b47814a6b175c107209 (diff)
Move more of GC.latest_gc_info into Ruby
Notes: Merged: https://.com/ruby/ruby/pull/11636
-rw-r--r--gc.rb10
1 files changed, 9 insertions, 1 deletions
@@ -320,7 +320,15 @@ module GC
# it is overwritten and returned.
# This is intended to avoid probe effect.
def self.latest_gc_info hash_or_key = nil
- Primitive.gc_latest_gc_info hash_or_key
end
# call-seq: