1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/ext
ko1 d1674ef67b * gc.c: add support to estimate increase of oldspace memory usage.
This is another approach to solve an issue discussed at r43530.
  This feature is diabled as default.
  This feature measures an increment of memory consuption by oldgen
  objects. It measures memory consumption for each objects when
  the object is promoted. However, measurement of memory consumption
  is not accurate now. So that this measurement is `estimation'.
  To implement this feature, move memsize_of() function from
  ext/objspace/objspace.c and expose rb_obj_memsize_of().
  Some memsize() functions for T_DATA (T_TYPEDDATA) have problem to
  measure memory size, so that we ignores T_DATA objects now.
  For example, some functions skip NULL check for pointer.
  The macro RGENGC_ESTIMATE_OLDSPACE enables/disables this feature,
  and turned off as default.
  We need to compare 3gen GC and this feature carefully.
  (it is possible to enable both feature)
  We need a help to compare them.
* internal.h: expose rb_obj_memsize_of().
* ext/objspace/objspace.c: use rb_obj_memsize_of() function.
* cont.c (fiber_memsize): fix to check NULL.
* variable.c (autoload_memsize): ditto.
* vm.c (vm_memsize): ditto.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43532 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-11-05 04:51:01 +00:00
..
-test- * ext/-test-/file/depend, ext/-test-/postponed_job/depend, 2013-10-28 12:36:23 +00:00
bigdecimal * add RUBY_TYPED_FREE_IMMEDIATELY to data types which only use 2013-10-29 11:16:54 +00:00
continuation
coverage * common.mk, ext/objspace/depend, ext/coverage/depend, 2013-10-28 03:43:17 +00:00
curses * ext/curses/curses.c: [DOC] Cleaned up formatting consistency of rdoc 2013-10-16 22:12:43 +00:00
date * common.mk, ext/objspace/depend, ext/coverage/depend, 2013-10-28 03:43:17 +00:00
dbm * ext/dbm/dbm.c: [DOC] Fix wrong constant name in DBM by @edward 2013-10-04 10:56:27 +00:00
digest * ext/digest/digest.c: [DOC] typo in overview by @chastell 2013-09-26 13:04:27 +00:00
dl ext/win32: move 2013-07-13 03:24:28 +00:00
etc etc.c: encodings 2013-08-03 00:46:10 +00:00
fcntl * lib/mkmf.rb: Add ruby/ruby.h, ruby/missing.h, ruby/intern.h, 2013-04-13 00:46:29 +00:00
fiber
fiddle * ext/fiddle/*: [DOC] More doc on dlopen and RTLD_DEFAULT from r42186 2013-07-26 05:06:57 +00:00
gdbm * safe.c (rb_set_safe_level, safe_setter): raise an ArgumentError 2013-06-12 14:20:51 +00:00
io * ext/io/nonblock/nonblock.c: [DOC] Document io/nonblock by reprah 2013-10-16 20:54:23 +00:00
json Eliminate less-than-zero checks for unsigned variables 2013-09-12 13:37:11 +00:00
mathn
nkf * remove trailing spaces. 2013-04-29 08:06:06 +00:00
objspace * gc.c: add support to estimate increase of oldspace memory usage. 2013-11-05 04:51:01 +00:00
openssl openssl: work around of dependency 2013-10-28 06:32:24 +00:00
pathname * array.c (rb_ary_splice): use RARRAY_PTR_USE() without WB because 2013-08-26 05:47:27 +00:00
psych * ext/psych/lib/psych/visitors/yaml_tree.rb: make less garbage when 2013-10-29 18:25:57 +00:00
pty * ext/pty/pty.c (get_device_once): FreeBSD 10-current and 9-stable 2013-05-25 12:34:50 +00:00
racc/cparse * ext/racc/cparse/cparse.c: use rb_ary_entry() and 2013-06-10 20:06:53 +00:00
readline * ext/readline/readline.c (readline_getc): Consider 2013-10-29 03:09:00 +00:00
ripper * NEWS: Add note about frozen string literals 2013-09-02 07:11:41 +00:00
sdbm * safe.c (rb_set_safe_level, safe_setter): raise an ArgumentError 2013-06-12 14:20:51 +00:00
socket * ext/socket/ifaddr.c (rsock_getifaddrs): fix possible memory leak. 2013-10-02 12:41:28 +00:00
stringio * add RUBY_TYPED_FREE_IMMEDIATELY to data types which only use 2013-10-29 11:16:54 +00:00
strscan * add RUBY_TYPED_FREE_IMMEDIATELY to data types which only use 2013-10-29 11:16:54 +00:00
syslog Add facility to Syslog::Logger. 2013-07-26 11:15:06 +00:00
thread * ext/thread/thread.c (ALIAS_GLOBAL_CONST): fix typo, GLOBCAL. 2013-10-02 18:20:17 +00:00
tk mkmf.rb: fix framework option 2013-10-14 02:07:51 +00:00
win32 win32/registry.rb: size in bytes 2013-09-24 07:41:17 +00:00
win32ole * ext/win32ole/win32ole.c (folevariant_initialize): check type of 2013-09-08 05:06:20 +00:00
zlib * ext/zlib/zlib.c (zstream_run): Fix handling of deflate streams that 2013-08-28 20:36:21 +00:00
.document * ext/.document: add object_tracing.c to document file 2013-06-18 11:38:10 +00:00
extmk.rb extmk.rb: static extensions 2013-07-28 11:10:52 +00:00
Setup * ext/syck: removed. Fixes [ruby-core:43360] 2012-08-22 17:43:16 +00:00
Setup.atheos * ext/syck: removed. Fixes [ruby-core:43360] 2012-08-22 17:43:16 +00:00
Setup.emx configure.in: find Setup file automatically 2013-02-25 04:12:45 +00:00
Setup.nacl * ext/syck: removed. Fixes [ruby-core:43360] 2012-08-22 17:43:16 +00:00
Setup.nt * ext/Setup.nt: this file has not been used by default. 2013-02-25 15:54:00 +00:00