Skip to content

Comments

Wrapped object to stub elimination#2

Merged
edwardbr merged 19 commits intomainfrom
wrapped_object_to_stub_elimination
Feb 20, 2026
Merged

Wrapped object to stub elimination#2
edwardbr merged 19 commits intomainfrom
wrapped_object_to_stub_elimination

Conversation

@edwardbr
Copy link
Owner

Remove the wrapped object to stub lookup by having the weak pointer inside the rpc::base class, eliminates one lookup table due to the fact that we are exclusively using rpc shared and optimistic pointers rather than std equivelents

added fixes where optimistic_ptr calls are masquerading as shared_ptr
cleaned up cmakepresets.json and related option in the canopy.cmake file
added cmake option CANOPY_DEBUG_DEFAULT_DESTRUCTOR
fixed optimistic pointer features on clean up
improved cleanup in synchronous generator to call release_from_service where necessary
suppressed one test in optimistic pointers for now
removed the concept of an interface_stub, now the functionallity is routed via the rpc::base class
The registration of stubs is no longer required
it is now faster and has one less lookup to do when calling a function
@edwardbr edwardbr merged commit 4b4bda8 into main Feb 20, 2026
1 check passed
@edwardbr edwardbr deleted the wrapped_object_to_stub_elimination branch February 20, 2026 16:05
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