mirror of
https://github.com/FairRootGroup/FairMQ.git
synced 2026-11-25 13:11:36 +00:00
- Remove the `fRegionPtr` member of `shmem::Message`. It cached the region of the last `GetData()`, `GetRefCount()` or `Copy()` call. `Rebuild()` and `Socket::Receive()` did not reset it. - When a message received a block of region A, was read, rebuilt, and then received a block of region B, its release went to region A. Region A got a wrong callback and region B never got its block back. - Look up the region with `Manager::GetRegionFromCache()` where it is needed. The lookup is a thread-local fast path. - `sizeof(shmem::Message)` goes from 80 to 72 bytes on LP64. Refs: #477 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>