-
Notifications
You must be signed in to change notification settings - Fork 703
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Call makeObjectShared to normalize a shared object into a true shared…
… object Currently, only int and shared.redacted call makeObjectShared for shared objects. Although this breaks the blame log, there is a few points i would like to mention: 1. For threading, our fork for some reasons calling decrRefCount in the threads for shared.command. Although this is not used in OSS code now, it may be a issue in the future. 2. For cleanup, all shared objects's refcount should be the same. 3. For CoW, probably can reduce CoW although it is very minor. Signed-off-by: Binbin <[email protected]>
- Loading branch information
1 parent
c5a1585
commit 37263f3
Showing
1 changed file
with
109 additions
and
109 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters