Chromium Code Reviews
DescriptionSimplify the shutdown sequence of Oilpan's heap
The current shutdown sequence is more complicated than necessary
since it was implemented in days when it was not guaranteed that
the main thread is the last thread that gets detached.
Today the main thread joins all other threads before calling Heap::shutdown(),
so we can assume that the main thread is the last thread that gets detached.
This CL simplifies the shutdown sequence relying on the assumption.
BUG=
Committed: https://crrev.com/3ae8ad9e6ddbfe21e31d889d4ce622a3ab09929d
Cr-Commit-Position: refs/heads/master@{#379766}
Patch Set 1 #Patch Set 2 : #Patch Set 3 : #Patch Set 4 : #
Messages
Total messages: 11 (3 generated)
|
||||||||||||||||||||||||||||||||||||||||||||||