Closed
Bug 818218
Opened 12 years ago
Closed 12 years ago
Refactor and clean ExtendedJSONObject parsing code.
Categories
(Firefox for Android Graveyard :: Android Sync, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
mozilla20
People
(Reporter: nalexander, Assigned: nalexander)
References
Details
This will reduce memory pressure a little. Bug 747721 is an error at org.json.simple.parser.Yylex.<init>(Yylex.java:231); that line is allocating a 16kb buffer for input text. We allocate one of those for each JSONParser instance we create. Let's make this bug be a simple attempt to create less JSONParser instances.
Assignee | ||
Comment 1•12 years ago
|
||
Reworking this to be a first step towards improving our parsing code. This will just be cleaning and groundwork for the next improvements.
Summary: Make ExtendedJSONObject class use a single static JSONParser instance. → Refactor and clean ExtendedJSONObject parsing code.
Assignee | ||
Updated•12 years ago
|
Assignee: nobody → nalexander
Status: NEW → ASSIGNED
Assignee | ||
Comment 2•12 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/e2df102b0fe7
Target Milestone: --- → mozilla20
Comment 3•12 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/e2df102b0fe7
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Updated•11 years ago
|
Product: Mozilla Services → Android Background Services
Updated•7 years ago
|
Product: Android Background Services → Firefox for Android
Updated•3 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
•