[ruby-core:87595] Re: [Ruby trunk Bug#14858] Introduce 2nd GC heap named Transient heap

From: Eric Wong <normalperson@...>
Date: 2018-06-22 08:08:27 UTC
List: ruby-core #87595
ko1@atdot.net wrote:
> Thank you. It should be fixed.
> (I'll use `posix_memalign` for `blocks_alloc_header_to_block`)

OK, but be careful with over-using memalign, it can cause more
fragmentation.

> BTW, why small size mamp is harmful?
> Making small page table entries?

Yes, and overall syscall overhead.

Also, I think TRANSIENT_HEAP_ALLOC_MAX should be dynamic or
even unlimited (SSIZE_MAX) to work well with strings.

Unsubscribe: <mailto:ruby-core-request@ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>

In This Thread

Prev Next