ObjectManager improvements: unused code removal, consolidation #1769
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
This PR contains some improvements to ObjectManager that I made while working on the port to CPPGC. It consists mostly of removal of unused features and dead code (the static analysis of Android Studio is really helpful here); the less code there is in ObjectManager, the less has to be ported to work with CPPGC. 😄
Please do double-check the removed unused code to make sure that it is supposed to be unused; it's also possible that something was made dead code by accident, and is actually still supposed to be used somewhere!
Best reviewed commit by commit. Further descriptions of each commit are in the individual commit messages.
Related Pull Requests
None.
Does your pull request have unit tests?
This PR removes the unit tests that were only run in "full" marking mode, because that mode no longer exists. All other functionality should remain unchanged, so no new unit tests added.