mwrap user+dev discussion/patches/pulls/bugs/help
 help / color / mirror / code / Atom feed
Search results ordered by [date|relevance]  view[summary|nested|Atom feed]
thread overview below | download mbox.gz: |
* mwrap-perl changes merged
@ 2023-01-08  5:18  6% Eric Wong
  0 siblings, 0 replies; 2+ results
From: Eric Wong @ 2023-01-08  5:18 UTC (permalink / raw)
  To: mwrap-public

pushed to https://80x24.org/mwrap.git

commit b5ab9be6686aa778a4cfd7622c598736b9c42321
parent 4356beb8237a92b3 (picohttpparser: fix __SSE_4_2__ CPP check, 2023-01-07)
parent 2c25edb01139365f (undefine Mwrap::SourceLocation.allocate, 2023-01-07)
Date:   Sun Jan 8 05:03:26 2023 +0000

    Merge changes from the Perl side

    This contains many changes from https://80x24.org/mwrap-perl.git

    * Built-in RCU-friendly version of dlmalloc, no more fragile dlsym(3m)
      resolution of malloc-family functions in the constructor

    * Allocations are now backed by O_TMPFILE on $TMPDIR on modern Linux.
      Since mwrap increases memory usage greatly and I needed to use it
      on a system where I needed more VM space but lacked the ability
      to add swap.

    * Configurable C backtrace level via MWRAP=bt:$DEPTH where $DEPTH
      is a non-negative integer.  Be careful about increasing it, even
      a depth of 3-4 can be orders-of-magnitude more expensive in
      time and space.  This can be changed dynamically at runtime via
      local HTTP (see below).

    * Embedded per-process local-socket-only HTTP server obsoletes
      MwrapRack when combined with mwrap-rproxy from the Perl dist
      (set `MWRAP=socket_dir:/dir/of/sockets')
      See https://80x24.org/mwrap-perl/20221210015518.272576-4-e@80x24.org/
      for more info.

      It now supports downloading CSV (suitable for importing into sqlite 3.32.0+)

    * License switched to GPL-3+ to be compatible with GNU binutils
      since we may take code from addr2line in the future.

    * libxxhash supported if XXH3_64bits is available.

^ permalink raw reply	[relevance 6%]

* [PATCH] undefine Mwrap::SourceLocation.allocate
@ 2023-01-07 20:13  7% Eric Wong
  0 siblings, 0 replies; 2+ results
From: Eric Wong @ 2023-01-07 20:13 UTC (permalink / raw)
  To: mwrap-public

This quiets `undefining the allocator of T_DATA class Mwrap::SourceLocation'
warnings.
---
 ext/mwrap/mwrap.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/ext/mwrap/mwrap.c b/ext/mwrap/mwrap.c
index 6875486..160007f 100644
--- a/ext/mwrap/mwrap.c
+++ b/ext/mwrap/mwrap.c
@@ -1115,6 +1115,7 @@ void Init_mwrap(void)
 	 * This class is only available since mwrap 2.0.0+.
 	 */
 	cSrcLoc = rb_define_class_under(mod, "SourceLocation", rb_cObject);
+	rb_undef_alloc_func(cSrcLoc);
 	rb_define_singleton_method(mod, "dump", mwrap_dump, -1);
 	rb_define_singleton_method(mod, "reset", mwrap_reset, 0);
 	rb_define_singleton_method(mod, "clear", mwrap_clear, 0);

^ permalink raw reply related	[relevance 7%]

Results 1-2 of 2 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2023-01-07 20:13  7% [PATCH] undefine Mwrap::SourceLocation.allocate Eric Wong
2023-01-08  5:18  6% mwrap-perl changes merged Eric Wong

Code repositories for project(s) associated with this public inbox

	https://80x24.org/mwrap.git/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).