Closed
Bug 711034
Opened 13 years ago
Closed 13 years ago
Native Fennec is still creating places.sqlite
Categories
(Firefox for Android Graveyard :: General, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: gcp, Assigned: gcp)
References
Details
Attachments
(1 file)
|
1.65 KB,
patch
|
dougt
:
review+
|
Details | Diff | Splinter Review |
Native Fennec is supposed to use the Android DB or a local DB, but in fact the places.sqlite file is still created and the cache is eating up 0.5MB RAM.
| Assignee | ||
Updated•13 years ago
|
Assignee: nobody → gpascutto
Comment 1•13 years ago
|
||
Database::Init() should bail out, so I don't see how's that possible since should be the only code path initing the database.
| Assignee | ||
Comment 2•13 years ago
|
||
As far as I can see, it's because configure.in doesn't contain what's needed to make MOZ_ANDROID_HISTORY actually take effect. Fixed that, seems to be OK now.
I also tried to build without MOZ_PLACES, but, well, I guess bug 702037 already explains that doesn't work.
| Assignee | ||
Comment 3•13 years ago
|
||
Attachment #582007 -
Flags: review?(doug.turner)
Comment 4•13 years ago
|
||
(In reply to Gian-Carlo Pascutto (:gcp) from comment #2)
> I also tried to build without MOZ_PLACES, but, well, I guess bug 702037
> already explains that doesn't work.
Can't work since Android history should be in its own component for that to work, as I said there.
Btw, thanks for fixing those missing bits.
Comment 5•13 years ago
|
||
Comment on attachment 582007 [details] [diff] [review]
Patch 1. Make MOZ_ANDROID_HISTORY actually work
Review of attachment 582007 [details] [diff] [review]:
-----------------------------------------------------------------
missed this, i guess, when we merged birch over.
Attachment #582007 -
Flags: review?(doug.turner) → review+
| Assignee | ||
Comment 6•13 years ago
|
||
I'm now seeing:
I/Gecko (23085): ###!!! ASSERTION: nsAndroidHistory not thread-safe: '_mOwningThread.GetThread() == PR_GetCurrentThread()', file /home/morbo/hg/mozilla-central/toolkit/components/places/nsAndroidHistory.cpp, line 44
I/Gecko (23085): ###!!! ASSERTION: nsAndroidHistory not thread-safe: '_mOwningThread.GetThread() == PR_GetCurrentThread()', file /home/morbo/hg/mozilla-central/toolkit/components/places/nsAndroidHistory.cpp, line 44
I don't know the source - our Java code seems to be calling it properly on the Gecko thread.
| Assignee | ||
Comment 7•13 years ago
|
||
Comment 8•13 years ago
|
||
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Updated•4 years ago
|
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•