From 4ef2f0d2249171f8f0902d8c31e9411ec34561ce Mon Sep 17 00:00:00 2001 From: tmm1 Date: Sun, 24 Nov 2013 01:20:54 +0000 Subject: [PATCH] * NEWS: Add details about new debugging features and APIs. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43826 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 4 ++++ NEWS | 15 +++++++++++++++ 2 files changed, 19 insertions(+) diff --git a/ChangeLog b/ChangeLog index 9477f5c266..d928c94420 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +Sun Nov 24 10:18:15 2013 Aman Gupta + + * NEWS: Add details about new debugging features and APIs. + Sun Nov 24 09:37:20 2013 Andrew Vit * lib/csv.rb: Optimize header hashes by freezing string keys. diff --git a/NEWS b/NEWS index 0fe3fa5d89..75c2ff84c5 100644 --- a/NEWS +++ b/NEWS @@ -185,6 +185,8 @@ with all sufficient information, see the ChangeLog file. * ObjectSpace.allocation_method_id * ObjectSpace.allocation_generation * ObjectSpace.reachable_objects_from_root + * ObjectSpace.dump + * ObjectSpace.dump_all * OpenSSL::BN * extended methods: @@ -314,3 +316,16 @@ with all sufficient information, see the ChangeLog file. * rb_gc_set_params() is deprecated. This is only used in Ruby internal. * rb_gc_count() added. This returns the number of times GC occurred. + +* rb_postponed_job_register() added. Takes a function callback which is invoked + when the VM is in a consistent state, i.e. to perform work from a C signal + handler. + +* rb_profile_frames() added. Provides low-cost access to the current ruby stack + for callstack profiling. + +* rb_tracepoint_new() supports new internal events accessible only from C: + * RUBY_INTERNAL_EVENT_NEWOBJ + * RUBY_INTERNAL_EVENT_FREEOBJ + * RUBY_INTERNAL_EVENT_GC_START + * RUBY_INTERNAL_EVENT_GC_END