about summary refs log tree commit homepage
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2018-08-11 04:09:57 +0000
committerEric Wong <e@80x24.org>2018-08-11 04:09:57 +0000
commit5120b83117179f81c7c73c41c122da0f6f5cbdb7 (patch)
tree79c2c384cea7417b19d4a666c55c9c5c6625dcc9
parentf2155aca16e5786a1d1189d5eb10458111b78014 (diff)
downloadmwrap-5120b83117179f81c7c73c41c122da0f6f5cbdb7.tar.gz
This release enables tracking of memalign allocations for
"struct heap_page_body" in the Ruby GC.  This can be useful
for tracking deathspans (time between free and re-allocation)
of heap page bodies which can cause fragmentation in some
malloc implementations, including glibc.

The documentation for it is available at:

  https://80x24.org/mwrap/Mwrap/HeapPageBody.html

And a live demo runs at:

  https://80x24.org/MWRAP/heap_pages

This release also includes global counters for
 Mwrap.total_bytes_allocated and Mwrap.total_bytes_freed

10 changes since v2.0.0 (2018-07-20):

      add olddoc.yml to generate links in page footers
      add .olddoc.yml to MANIFEST
      gemspec: use "git describe" output for prereleases
      add global counters for total bytes allocated/freed
      keep stats for memalign-ed heap_page_body in Ruby
      remove "memalign:" MWRAP option
      allow dump_heap: mask via MWRAP env
      tweak hpb stats destructor output
      struct acc: use 64-bit counters
      doc: 2.1 pre-release updates
-rw-r--r--mwrap.gemspec2
1 files changed, 1 insertions, 1 deletions
diff --git a/mwrap.gemspec b/mwrap.gemspec
index 2c01a68..877c80d 100644
--- a/mwrap.gemspec
+++ b/mwrap.gemspec
@@ -12,7 +12,7 @@ desc = `git describe --abbrev=4 HEAD`.strip.tr('-', '.').delete_prefix('v')
 
 Gem::Specification.new do |s|
   s.name = 'mwrap'
-  s.version = desc.empty? ? '2.0.0' : desc
+  s.version = desc.empty? ? '2.1.0' : desc
   s.homepage = 'https://80x24.org/mwrap/'
   s.authors = ["Ruby hackers"]
   s.summary = 'LD_PRELOAD malloc wrapper for Ruby'