Better HN
topnewbestaskshowjobs
Log inSign up

joelsiks

69 karma · joined Mar 29, 2025 (1y ago) · 8 submissions

Submissions

1.

When Ldaxr Doesn't Work: Exclusive Accesses and Cacheability on AArch64(joelsiks.com ↗)

25 points · by joelsiks · 1mo ago · 4 comments

2.

JIT Compilers and Cache Coherency(joelsiks.com ↗)

5 points · by joelsiks · 7mo ago · discuss

comment 8mo ago · link · parent

Opening up strong with a gigantic merge of the stuff they've been working on in their own fork: https://github.com/jemalloc/jemalloc/pull/2863

comment 8mo ago · link · parent

I did mention it briefly in the post, but you can opt-in for a fixed-size statically allocated buffer by configuring libstdc++ with --enable-libstdcxx-static-eh-pool. Also, you can opt-out of the pool entirely by configuring the number of objects in the pool to zero with the environment variable GLIBCXX_TUNABLES=glibcxx.eh_pool.obj_count=0.

comment 8mo ago · link · parent

The exact implementation of mymalloc isn't relevant to the post. I have an old allocator published at https://github.com/joelsiks/jsmalloc that I did as part of my Master's thesis, which uses a similar debug-logging mechanism that is described in the post.

6.

Why is the first C++ (m)allocation always 72 KB?(joelsiks.com ↗)

131 points · by joelsiks · 8mo ago · 36 comments