From: Yui NARUSE Date: 2012-02-14T17:02:51+09:00 Subject: [ruby-core:42600] [ruby-trunk - Bug #6006][Assigned] Fix calculation of HEAP_OBJ_LIMIT and HEAP_BITMAP_LIMIT Issue #6006 has been updated by Yui NARUSE. Status changed from Closed to Assigned Narihiro Nakamura wrote: > This issue was solved with changeset r34581. > * 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 This seems to break CentOS 5.6 64bit. http://c5664.rubyci.org/~chkbuild/ruby-trunk/log/20120213T130301Z.diff.html.gz But it doesn't always happen... http://c5664.rubyci.org/~chkbuild/ruby-trunk/recent.html ---------------------------------------- Bug #6006: Fix calculation of HEAP_OBJ_LIMIT and HEAP_BITMAP_LIMIT https://bugs.ruby-lang.org/issues/6006 Author: Yura Sokolov Status: Assigned Priority: Normal Assignee: Narihiro Nakamura Category: Target version: 2.0.0 ruby -v: ruby 2.0.0dev (2012-02-11 trunk 34555) [i686-linux] https://github.com/ruby/ruby/pull/92 -- http://bugs.ruby-lang.org/