update to new mozjs-17 library
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Spidermonkey Javascript engine |
Fix Released
|
Medium
|
|||
mozjs (Debian) |
Fix Released
|
Unknown
|
|||
mozjs17 (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
The release of a new mozjs library should be happening later this month, which will be based of the Firefox esr17 engine. Atleast with respect to gnome-shell the new release fixes lots of leaks and Garbabe Collector (GC) deadlocks. Since this would be good to get this update into raring, creating this as a tracking bug.
Gjs 1.35 has been ported (which should land upstream before gnome freeze mid Feb) and I have tested this against both gnome-shell 3.6 and 3.7, there are significant improvements in memory usage, and I have not seen a single GC deadlock.
Currently none of the other rdepends have been ported as far as I know, and its probably not realistic to get all of them ported before the Ubuntu freeze. There are quite a lot of trivial API changes between mozjs185 and 188, although most are picked up by compiler errors or seg faults. A large portion of the work could be done by some compatibility defines and some sed magic, however the end results is quite a large diff, so probably not something that would want to carry as a distro patch. As such, atleast for the short-term would probably need to have a transition period with both versions available.
Reverse Depends:
libgjs0c
gnome-shell (will just require rebuild)
oolite
gxine
gnome-shell
dehydra
couchdb-bin
cinnamon (will just require rebuild)
0ad (I believe upstream want to go straight to FF18)
One last thing is that the soname format will probably change to libmozjs-17.0.so (i.e. Firefox versioning).
Changed in mozjs: | |
importance: | Unknown → Medium |
status: | Unknown → Confirmed |
Changed in mozjs: | |
importance: | Unknown → Medium |
status: | Unknown → Confirmed |
Changed in mozjs: | |
status: | Confirmed → Fix Released |
Changed in mozjs (Debian): | |
status: | Unknown → New |
affects: | mozjs (Ubuntu) → mozjs17 (Ubuntu) |
Changed in mozjs17 (Ubuntu): | |
status: | In Progress → Fix Released |
Changed in mozjs (Debian): | |
status: | New → Fix Committed |
Changed in mozjs (Debian): | |
status: | Fix Committed → Fix Released |
The current spidermonkey package as shipped https:/ /developer. mozilla. org/en/ SpiderMonkey here is at Version 1.8.5 which is what got into Firefox 4.
There have been a lot of improvements to the javascript engine since then which warrants release a new version.
So can we have a new standalone js release?