-
Notifications
You must be signed in to change notification settings - Fork 392
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
In copy method we checked 2x if forwarding succeeded. It's needed for Concurrent Scavenger for 2 different paths: small objects (allowing duplicates) and large objects (disallowing duplicates). These 2 if checks (and their associated then&else code blocks) were serialized, but now they are nested. It makes it somewhat easier to read, but more importantly more friendly for later code versioning for CS and nonCS case. A small compromise is that handling of failed forwarding path now is duplicated at the level of source code (now at each end of those 'if's, while it used to be only once at the very end). Still, in run time, it's only handled once. Signed-off-by: Aleksandar Micic amicic@ca.ibm.com
- Loading branch information
Showing
2 changed files
with
100 additions
and
64 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
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