Skip to content

(SHM-jemalloc) Removed an INFO-severity logged message that is logged from ipc::shm::arena_lend::jemalloc::Ipc_arena::get_collection_id(), a public API but more likely invoked internally from Shm_session::lend_object() which can be oft-used directly and/or for each capnp-encoded message sent through a SHM-jemalloc-backed ipc::transport::struc::Channel. / Use move-semantics in a few places internally to avoid unnecessary shared_ptr ref-count arithmetic. / Effectively remove a few redundant internal assert()s. / Comment and/or doc changes.#144

Merged
ygoldfeld merged 2 commits intomainfrom
ipc-143_perf-dive
Apr 10, 2025

Conversation

@ygoldfeld
Copy link
Contributor

To code reviewer

Forgoing code review, as this is a bundling of other PRs via submodules (actually 1 PR/submodule).

… code new to me; but perf-relevant, could be significant) Removed an INFO-severity logged message that is logged from `ipc::shm::arena_lend::jemalloc::Ipc_arena::get_collection_id()`, a public API but more likely invoked internally from `Shm_session::lend_object()` which can be oft-used directly and for each capnp-encoded message sent through a SHM-jemalloc-backed `ipc::transport::struc::Channel`. / (opportunistically found while grokking code new to me; but somewhat perf-relevant) Use move-semantics in a few places internally to avoid unnecessary `shared_ptr` ref-count arithmetic. / (opportunistically found while grokking code new to me; but slightly perf-relevant if asserts-on) Effectively remove a few redundant internal `assert()`s. / Comment and/or doc changes. (Opportunistic.)>
@ygoldfeld ygoldfeld self-assigned this Apr 3, 2025
@ygoldfeld ygoldfeld merged commit dac818b into main Apr 10, 2025
48 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant