DescriptionClean up WeakIdentifierMap<> implementation.
Avoid (literal) code duplication between (non)GC versions
of WeakIdentifierMap<>.
Other changes (for the GC version):
- Do not separately allocate the HeapHashMap<>s, but keep these
as part objects on WeakIdentifierMap<> instead.
- Support explicit removal (via notifyObjectDestroyed()).
R=
BUG=
Committed: https://crrev.com/0ca25bf2ec49526c331b85a7e29d4c4f5aa2db75
Cr-Commit-Position: refs/heads/master@{#400907}
Patch Set 1 #
Messages
Total messages: 11 (6 generated)
|