[#47747] [ruby-trunk - Bug #8995][Open] バイナリデータを文字列として encode! すると readbyte の結果が変化する — "hsbt (Hiroshi SHIBATA)" <shibata.hiroshi@...>

9 messages 2013/10/08

[ruby-dev:47762] ObjectSpace.trace_object_allocations_debug_start for GC problem

From: SASADA Koichi <ko1@...>
Date: 2013-10-17 03:44:22 UTC
List: ruby-dev #47762
Hi,

I made a new method ObjectSpace.trace_object_allocations_debug_start in
objspace.so extension library.

This methods trace object allocation and show all allocation informatin
at [BUG].

If you have any trouble of GC such as

	[BUG] "... T_NONE ..."

then, try

	require 'objspace'
	ObjectSpace.trace_object_allocations_debug_start

at the beginning of your application. Very long allocation information
are available on [BUG].

-- 
// SASADA Koichi at atdot dot net

In This Thread

Prev Next