DescriptionOilpan: DatabaseThread::m_thread should not get destructed during sweeping
WebThreadSupportingGC's destructor has a safe point scope
because the destructor can block until all the tasks in the WebThread are processed.
This means that the WebThreadSupportingGC shouldn't get destruction during sweeping
where we cannot enter a safe point scope.
Currently DatabaseThread::m_thread is destructed during sweeping and causes the above issue.
To avoid the issue, this CL destructs the DatabaseThread::m_thread in DatabaseThread::terminate()
(which is called when DatabaseContext stops the database thread). That way we can prevent
the DatabaseThread::m_thread from getting destructed during sweeping.
BUG=416772
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=182650
Patch Set 1 #
Total comments: 2
Patch Set 2 : #Patch Set 3 : #
Total comments: 1
Patch Set 4 : #
Total comments: 1
Patch Set 5 : #Patch Set 6 : #Patch Set 7 : #
Messages
Total messages: 18 (4 generated)
|