[前][次][番号順一覧][スレッド一覧]

ruby-changes:31768

From: tmm1 <ko1@a...>
Date: Tue, 26 Nov 2013 06:46:34 +0900 (JST)
Subject: [ruby-changes:31768] tmm1:r43847 (trunk): * NEWS: Add ObjectSpace.after_gc_{start, end}_hook=

tmm1	2013-11-26 06:46:00 +0900 (Tue, 26 Nov 2013)

  New Revision: 43847

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=43847

  Log:
    * NEWS: Add ObjectSpace.after_gc_{start,end}_hook=
    * ext/objspace/objspace_dump.c: [DOC] catch up dump/dump_all to r43679

  Modified files:
    trunk/ChangeLog
    trunk/NEWS
    trunk/ext/objspace/objspace_dump.c
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 43846)
+++ ChangeLog	(revision 43847)
@@ -1,3 +1,8 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Tue Nov 26 06:42:50 2013  Aman Gupta <ruby@t...>
+
+	* NEWS: Add ObjectSpace.after_gc_{start,end}_hook=
+	* ext/objspace/objspace_dump.c: [DOC] catch up dump/dump_all to r43679
+
 Tue Nov 26 04:12:10 2013  Eric Hodel  <drbrain@s...>
 
 	* lib/rubygems:  Update to RubyGems master 612f85a.  Notable changes:
Index: ext/objspace/objspace_dump.c
===================================================================
--- ext/objspace/objspace_dump.c	(revision 43846)
+++ ext/objspace/objspace_dump.c	(revision 43847)
@@ -330,8 +330,8 @@ dump_result(struct dump_config *dc, VALU https://github.com/ruby/ruby/blob/trunk/ext/objspace/objspace_dump.c#L330
 /*
  *  call-seq:
  *    ObjectSpace.dump(obj[, output: :string]) # => "{ ... }"
- *    ObjectSpace.dump(obj, output: :file) # => "/tmp/rubyobj000000"
- *    ObjectSpace.dump(obj, output: :stdout) # => nil
+ *    ObjectSpace.dump(obj, output: :file)     # => #<File:/tmp/rubyobj20131125-88733-1xkfmpv.json>
+ *    ObjectSpace.dump(obj, output: :stdout)   # => nil
  *
  *  Dump the contents of a ruby object as JSON.
  *
@@ -359,7 +359,7 @@ objspace_dump(int argc, VALUE *argv, VAL https://github.com/ruby/ruby/blob/trunk/ext/objspace/objspace_dump.c#L359
 
 /*
  *  call-seq:
- *    ObjectSpace.dump_all([output: :file]) # => "/tmp/rubyheap000000"
+ *    ObjectSpace.dump_all([output: :file]) # => #<File:/tmp/rubyheap20131125-88469-laoj3v.json>
  *    ObjectSpace.dump_all(output: :stdout) # => nil
  *    ObjectSpace.dump_all(output: :string) # => "{...}\n{...}\n..."
  *
Index: NEWS
===================================================================
--- NEWS	(revision 43846)
+++ NEWS	(revision 43847)
@@ -185,6 +185,8 @@ with all sufficient information, see the https://github.com/ruby/ruby/blob/trunk/NEWS#L185
     * ObjectSpace.allocation_method_id
     * ObjectSpace.allocation_generation
     * ObjectSpace.reachable_objects_from_root
+    * ObjectSpace.after_gc_start_hook=
+    * ObjectSpace.after_gc_end_hook=
     * ObjectSpace.dump
     * ObjectSpace.dump_all
 

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]