Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(848)

Issue 198213005: Oilpan: Prepare to move AbstractSQLTransactionBackend, SQLTransactionBackend, and SQLTransactionCoo… (Closed)

Created:
6 years, 9 months ago by tkent
Modified:
6 years, 9 months ago
CC:
blink-reviews
Visibility:
Public.

Description

Oilpan: Prepare to move AbstractSQLTransactionBackend, SQLTransactionBackend, and SQLTransactionCoordinator::CoordinationInfo to Oilpan heap. This CL changes the mapped type of m_coordinationInfoMap from copyable object to OwnPtr<> or Member<>. So we need to update some code in SQLTransactionCoordinator. BUG=347902 R=ager@chromium.org, haraken@chromium.org Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=169535

Patch Set 1 #

Total comments: 9

Patch Set 2 : Back to inline allocation #

Total comments: 7

Patch Set 3 : ThreadSafeRefCountedWillBeGarbageCollectedFinalized #

Unified diffs Side-by-side diffs Delta from patch set Stats (+50 lines, -31 lines) Patch
M Source/heap/Handle.h View 1 1 chunk +0 lines, -1 line 0 comments Download
M Source/modules/webdatabase/AbstractSQLTransactionBackend.h View 1 2 2 chunks +3 lines, -1 line 0 comments Download
M Source/modules/webdatabase/Database.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/modules/webdatabase/DatabaseBackend.h View 2 chunks +2 lines, -2 lines 0 comments Download
M Source/modules/webdatabase/DatabaseBackend.cpp View 5 chunks +5 lines, -4 lines 0 comments Download
M Source/modules/webdatabase/DatabaseTask.h View 3 chunks +3 lines, -3 lines 0 comments Download
M Source/modules/webdatabase/DatabaseTask.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/modules/webdatabase/SQLTransaction.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/modules/webdatabase/SQLTransaction.cpp View 1 chunk +1 line, -0 lines 0 comments Download
M Source/modules/webdatabase/SQLTransactionBackend.h View 2 chunks +5 lines, -4 lines 0 comments Download
M Source/modules/webdatabase/SQLTransactionBackend.cpp View 2 chunks +8 lines, -2 lines 0 comments Download
M Source/modules/webdatabase/SQLTransactionCoordinator.h View 1 2 chunks +14 lines, -5 lines 0 comments Download
M Source/modules/webdatabase/SQLTransactionCoordinator.cpp View 1 6 chunks +6 lines, -6 lines 0 comments Download

Messages

Total messages: 33 (0 generated)
tkent
please review.
6 years, 9 months ago (2014-03-17 06:23:17 UTC) #1
haraken
Sorry, this CL has slipped through my filter again. (I noticed that something was wrong ...
6 years, 9 months ago (2014-03-18 13:45:20 UTC) #2
Mads Ager (chromium)
https://codereview.chromium.org/198213005/diff/1/Source/modules/webdatabase/AbstractSQLTransactionBackend.h File Source/modules/webdatabase/AbstractSQLTransactionBackend.h (right): https://codereview.chromium.org/198213005/diff/1/Source/modules/webdatabase/AbstractSQLTransactionBackend.h#newcode41 Source/modules/webdatabase/AbstractSQLTransactionBackend.h:41: class AbstractSQLTransactionBackend : public RefCountedWillBeGarbageCollectedFinalized<AbstractSQLTransactionBackend> { Is it OK ...
6 years, 9 months ago (2014-03-18 13:57:10 UTC) #3
tkent
I uploaded new patch. https://codereview.chromium.org/198213005/diff/1/Source/modules/webdatabase/AbstractSQLTransactionBackend.h File Source/modules/webdatabase/AbstractSQLTransactionBackend.h (right): https://codereview.chromium.org/198213005/diff/1/Source/modules/webdatabase/AbstractSQLTransactionBackend.h#newcode41 Source/modules/webdatabase/AbstractSQLTransactionBackend.h:41: class AbstractSQLTransactionBackend : public RefCountedWillBeGarbageCollectedFinalized<AbstractSQLTransactionBackend> ...
6 years, 9 months ago (2014-03-19 04:44:56 UTC) #4
tkent
https://codereview.chromium.org/198213005/diff/20001/Source/heap/Handle.h File Source/heap/Handle.h (left): https://codereview.chromium.org/198213005/diff/20001/Source/heap/Handle.h#oldcode433 Source/heap/Handle.h:433: ASSERT(!raw || ThreadStateFor<ThreadingTrait<T>::Affinity>::state()->contains(raw)); This assertion is too strict. A ...
6 years, 9 months ago (2014-03-19 04:46:50 UTC) #5
haraken
https://codereview.chromium.org/198213005/diff/20001/Source/modules/webdatabase/SQLTransactionBackend.h File Source/modules/webdatabase/SQLTransactionBackend.h (right): https://codereview.chromium.org/198213005/diff/20001/Source/modules/webdatabase/SQLTransactionBackend.h#newcode112 Source/modules/webdatabase/SQLTransactionBackend.h:112: RefPtrWillBeMember<AbstractSQLTransaction> m_frontend; // Has a reference cycle, and will ...
6 years, 9 months ago (2014-03-19 04:59:20 UTC) #6
tkent
https://codereview.chromium.org/198213005/diff/20001/Source/modules/webdatabase/SQLTransactionBackend.h File Source/modules/webdatabase/SQLTransactionBackend.h (right): https://codereview.chromium.org/198213005/diff/20001/Source/modules/webdatabase/SQLTransactionBackend.h#newcode112 Source/modules/webdatabase/SQLTransactionBackend.h:112: RefPtrWillBeMember<AbstractSQLTransaction> m_frontend; // Has a reference cycle, and will ...
6 years, 9 months ago (2014-03-19 05:15:12 UTC) #7
Mads Ager (chromium)
LGTM with the ThreadSafeRefCounted comment addressed. https://codereview.chromium.org/198213005/diff/1/Source/modules/webdatabase/AbstractSQLTransactionBackend.h File Source/modules/webdatabase/AbstractSQLTransactionBackend.h (right): https://codereview.chromium.org/198213005/diff/1/Source/modules/webdatabase/AbstractSQLTransactionBackend.h#newcode41 Source/modules/webdatabase/AbstractSQLTransactionBackend.h:41: class AbstractSQLTransactionBackend : ...
6 years, 9 months ago (2014-03-19 06:30:53 UTC) #8
tkent
https://codereview.chromium.org/198213005/diff/1/Source/modules/webdatabase/AbstractSQLTransactionBackend.h File Source/modules/webdatabase/AbstractSQLTransactionBackend.h (right): https://codereview.chromium.org/198213005/diff/1/Source/modules/webdatabase/AbstractSQLTransactionBackend.h#newcode41 Source/modules/webdatabase/AbstractSQLTransactionBackend.h:41: class AbstractSQLTransactionBackend : public RefCountedWillBeGarbageCollectedFinalized<AbstractSQLTransactionBackend> { On 2014/03/19 06:30:54, ...
6 years, 9 months ago (2014-03-19 06:33:46 UTC) #9
haraken
LGTM On 2014/03/19 05:15:12, tkent wrote: > https://codereview.chromium.org/198213005/diff/20001/Source/modules/webdatabase/SQLTransactionBackend.h > File Source/modules/webdatabase/SQLTransactionBackend.h (right): > > https://codereview.chromium.org/198213005/diff/20001/Source/modules/webdatabase/SQLTransactionBackend.h#newcode112 ...
6 years, 9 months ago (2014-03-19 06:39:31 UTC) #10
Mads Ager (chromium)
On 2014/03/19 06:39:31, haraken wrote: > LGTM > > On 2014/03/19 05:15:12, tkent wrote: > ...
6 years, 9 months ago (2014-03-19 06:42:24 UTC) #11
tkent
The CQ bit was checked by tkent@chromium.org
6 years, 9 months ago (2014-03-19 06:49:31 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tkent@chromium.org/198213005/40001
6 years, 9 months ago (2014-03-19 06:49:33 UTC) #13
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-19 06:50:53 UTC) #14
commit-bot: I haz the power
Try jobs failed on following builders: tryserver.blink on mac_blink_compile_dbg
6 years, 9 months ago (2014-03-19 06:50:55 UTC) #15
tkent
The CQ bit was checked by tkent@chromium.org
6 years, 9 months ago (2014-03-19 07:08:32 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tkent@chromium.org/198213005/40001
6 years, 9 months ago (2014-03-19 07:08:40 UTC) #17
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-19 07:33:43 UTC) #18
commit-bot: I haz the power
Try jobs failed on following builders: tryserver.blink on mac_blink_rel
6 years, 9 months ago (2014-03-19 07:33:44 UTC) #19
tkent
The CQ bit was checked by tkent@chromium.org
6 years, 9 months ago (2014-03-19 07:45:40 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tkent@chromium.org/198213005/40001
6 years, 9 months ago (2014-03-19 07:45:51 UTC) #21
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-19 07:57:57 UTC) #22
commit-bot: I haz the power
Try jobs failed on following builders: tryserver.blink on linux_blink_dbg
6 years, 9 months ago (2014-03-19 07:57:58 UTC) #23
tkent
The CQ bit was checked by tkent@chromium.org
6 years, 9 months ago (2014-03-19 08:01:18 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tkent@chromium.org/198213005/40001
6 years, 9 months ago (2014-03-19 08:01:27 UTC) #25
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-19 08:25:27 UTC) #26
commit-bot: I haz the power
Try jobs failed on following builders: tryserver.blink on mac_blink_rel
6 years, 9 months ago (2014-03-19 08:25:28 UTC) #27
haraken
On 2014/03/19 06:42:24, Mads Ager (chromium) wrote: > On 2014/03/19 06:39:31, haraken wrote: > > ...
6 years, 9 months ago (2014-03-19 08:29:26 UTC) #28
tkent
The CQ bit was checked by tkent@chromium.org
6 years, 9 months ago (2014-03-19 08:34:24 UTC) #29
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tkent@chromium.org/198213005/40001
6 years, 9 months ago (2014-03-19 08:34:26 UTC) #30
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-19 09:11:06 UTC) #31
commit-bot: I haz the power
Try jobs failed on following builders: tryserver.blink on linux_blink_dbg
6 years, 9 months ago (2014-03-19 09:11:08 UTC) #32
tkent
6 years, 9 months ago (2014-03-19 09:33:22 UTC) #33
Message was sent while issue was closed.
Committed patchset #3 manually as r169535 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698