News for hackers. Stuff that matters.
Re:Show HN: I wrote a Java decompiler in pure C language by neocanable on Tuesday June 03, 2025 @11:34AM (#44171154)
In multi-threaded mode, each thread will create a separate memory pool. If in single-threaded mode, a global memory pool is used. You can refer to https://github.com/neocanable/garlic/blob/72357ddbcffdb75641.... The x_alloc and x_alloc_in in it indicate where the memory is allocated. When each task ends, the memory allocated in the memory pool is released, and the cycle repeats.

There are no comments on this comment yet.