diff options
author | nari <nari@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-02-13 12:57:16 +0000 |
---|---|---|
committer | nari <nari@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-02-13 12:57:16 +0000 |
commit | 261400e7a9b4e8774a058e9a6f53fc885329c5f8 (patch) | |
tree | 98afd7ff8dc636bd4a8ad1573f6a0c7b6c1cda39 /ChangeLog | |
parent | df77202b372535d58fccc244113fd9944c7b01c0 (diff) | |
download | ruby-261400e7a9b4e8774a058e9a6f53fc885329c5f8.tar.gz |
* gc.c (HEAP_OBJ_LIMIT, HEAP_BITMAP_LIMIT): HEAP_OBJ_LIMIT used
`sizeof(struct heaps_slot)` while heap is currently allocated
with `struct heaps_header`.
HEAP_BITMAP_LIMIT were calculated from
`HEAP_OBJ_LIMIT/sizeof(uintptr_t)` - one Byte for each object,
not one Bit. [Bug #6006]
patched by Sokolov Yura. https://github.com/ruby/ruby/pull/92
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34581 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -1,3 +1,13 @@ +Mon Feb 13 21:52:06 2012 Narihiro Nakamura <authornari@gmail.com> + + * gc.c (HEAP_OBJ_LIMIT, HEAP_BITMAP_LIMIT): HEAP_OBJ_LIMIT used + `sizeof(struct heaps_slot)` while heap is currently allocated + with `struct heaps_header`. + HEAP_BITMAP_LIMIT were calculated from + `HEAP_OBJ_LIMIT/sizeof(uintptr_t)` - one Byte for each object, + not one Bit. [Bug #6006] + patched by Sokolov Yura. https://github.com/ruby/ruby/pull/92 + Mon Feb 13 18:30:32 2012 Nobuyoshi Nakada <nobu@ruby-lang.org> * io.c (io_setstrbuf): defer resizing buffer string until data is |