DescriptionRefactor GpuDataManagerImpl to make it thread-safe, now and forever.
The original impl of GpuDataManagerImpl is thread-safe, but gradurally it regressed.
In order to make sure this class is thread-safe in the future, we move all code to GpuDataManagerImplPrivate, and make GpuDataManagerImpl a simple wrapper around GpuDataManagerImplPrivate's public functions, where each function call is guarded by lock, thus thread-safe.
BUG=232556
TEST=asan bots no longer crashes as described in crbug.com/232556
R=joi@chromium.org, kbr@chromium.org, piman@chromium.org
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=199530
Patch Set 1 #Patch Set 2 : #Patch Set 3 : #Patch Set 4 : Merged with ToT #Patch Set 5 : #Patch Set 6 : #
Total comments: 5
Patch Set 7 : better diff #
Total comments: 12
Patch Set 8 : #Patch Set 9 : component build fix #
Total comments: 11
Patch Set 10 : #
Total comments: 5
Patch Set 11 : #
Total comments: 1
Patch Set 12 : #
Total comments: 2
Messages
Total messages: 34 (0 generated)
|