commit | 50d2573a1ca7095c8c6c6a708f35fcfce94e4972 | [log] [tgz] |
---|---|---|
author | Pawin Vongmasa <pawin@google.com> | Fri Apr 24 18:59:54 2020 -0700 |
committer | Pawin Vongmasa <pawin@google.com> | Fri Apr 24 18:59:54 2020 -0700 |
tree | c68be213b48db2223adeb564da4366ec89267a72 | |
parent | 784745befac68d978fe7abf09f0aeea33fb0e4ff [diff] |
BufferPool: Guarantee double-loadability When a library is double loadable, there may be 2 singleton objects in the same process. Using the pid as an identifier is not sufficient. This CL adds a bit to the identifier based on which side the library is loaded. Test: atest CtsMediaTestCases -- \ --module-arg CtsMediaTestCases:size:small Bug: 147147992 Change-Id: If3b52e4491ced58ee71bb55f0fc4c3c17569c0f3