From cd371c46ddc1f508082da0d246ac9bfe70937404 Mon Sep 17 00:00:00 2001 From: ko1 Date: Fri, 21 Aug 2015 11:30:24 +0000 Subject: * ext/objspace/objspace.c: add a new method ObjectSpace.count_symbols. [Feature #11158] * symbol.c (rb_sym_immortal_count): added to count immortal symbols. * symbol.h: ditto. * test/objspace/test_objspace.rb: add a test for this method. * NEWS: describe about this method. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51654 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- NEWS | 1 + 1 file changed, 1 insertion(+) (limited to 'NEWS') diff --git a/NEWS b/NEWS index 7bdf9b8bd8..1803ed99a8 100644 --- a/NEWS +++ b/NEWS @@ -106,6 +106,7 @@ with all sufficient information, see the ChangeLog file. GC overhead * ObjectSpace (objspace) + * ObjectSpace.count_symbols is added. * ObjectSpace.count_imemo_objects is added. * ObjectSpace.internal_class_of is added. * ObjectSpace.internal_super_of is added. -- cgit v1.2.3