Investigate storing atom pinned state in the atoms table only
Categories
(Core :: JavaScript Engine, defect, P2)
Tracking
()
Tracking | Status | |
---|---|---|
firefox80 | --- | fixed |
People
(Reporter: jonco, Assigned: jonco)
References
Details
Attachments
(1 file)
As Jan commented in bug 1629128 comment 15, it would be better not to store the 'atom is pinned' state in two places. Currently this is causing a data race (which will be fixed by stencil) but also it would be better to not modify the string flags after initialisation.
Looking back it seems I was responsible for this situation in bug 1445196. I tried to remove the duplication in bug 1547565 by using only the string flags, but this regressed marking performance.
Updated•5 years ago
|
Assignee | ||
Comment 1•5 years ago
|
||
Depends on D82901
Comment 3•5 years ago
|
||
Backed out changeset a2631e9fb4d1 (bug 1651723) for atom related bustage
Backout link: https://hg.mozilla.org/integration/autoland/rev/64d26ee7d9e7eb729b73b4564bbfff6b3f0d66d1
Failure log: https://treeherder.mozilla.org/logviewer.html#/jobs?job_id=309347794&repo=autoland&lineNumber=65681
[task 2020-07-10T17:15:10.212Z] 17:15:10 INFO - package> make[4]: Entering directory '/builds/worker/workspace/obj-build/browser/installer'
[task 2020-07-10T17:15:10.212Z] 17:15:10 INFO - package> cp ../../mozinfo.json ../../dist//target.mozinfo.json
[task 2020-07-10T17:15:10.212Z] 17:15:10 INFO - package> /builds/worker/workspace/obj-build/_virtualenvs/init_py3/bin/python /builds/worker/checkouts/gecko/toolkit/mozapps/installer/informulate.py \
[task 2020-07-10T17:15:10.212Z] 17:15:10 INFO - package> ../../dist//target.json ../../dist//buildhub.json ../../dist//target_info.txt \
[task 2020-07-10T17:15:10.212Z] 17:15:10 INFO - package> linux-x86_64 \
[task 2020-07-10T17:15:10.212Z] 17:15:10 INFO - package> --package=../../dist/target.tar.bz2 --installer=
[task 2020-07-10T17:15:10.213Z] 17:15:10 INFO - package> # Generate a file that describes the local Normandy client.
[task 2020-07-10T17:15:10.213Z] 17:15:10 INFO - package> env LD_LIBRARY_PATH="/builds/worker/workspace/obj-build/dist/bin:/builds/worker/fetches/clang/lib:/builds/worker/fetches/clang/lib32:../../dist//bin" \
[task 2020-07-10T17:15:10.213Z] 17:15:10 INFO - package> ../../dist//bin/xpcshell \
[task 2020-07-10T17:15:10.213Z] 17:15:10 INFO - package> /builds/worker/checkouts/gecko/toolkit/components/normandy/metadata-script.js ../../dist//target.normandy.json
[task 2020-07-10T17:15:10.213Z] 17:15:10 INFO - package>
[task 2020-07-10T17:15:10.214Z] 17:15:10 INFO - package> ** (xpcshell:11903): WARNING **: Error retrieving accessibility bus address: org.freedesktop.DBus.Error.ServiceUnknown: The name org.a11y.Bus was not provided by any .service files
[task 2020-07-10T17:15:10.214Z] 17:15:10 INFO - package> Hit MOZ_CRASH(*** Atom not marked for zone 0x7ff8126f1000 at argument 1) at /builds/worker/checkouts/gecko/js/src/vm/JSContext-inl.h:109
[task 2020-07-10T17:15:10.214Z] 17:15:10 INFO - package> Segmentation fault
[task 2020-07-10T17:15:10.214Z] 17:15:10 INFO - package> /builds/worker/checkouts/gecko/toolkit/mozapps/installer/packager.mk:111: recipe for target 'make-package' failed
[task 2020-07-10T17:15:10.214Z] 17:15:10 ERROR - package> make[4]: *** [make-package] Error 139
[task 2020-07-10T17:15:10.214Z] 17:15:10 INFO - package> make[4]: Leaving directory '/builds/worker/workspace/obj-build/browser/installer'
[task 2020-07-10T17:15:10.215Z] 17:15:10 INFO - package> /builds/worker/checkouts/gecko/config/rules.mk:390: recipe for target 'default' failed
[task 2020-07-10T17:15:10.215Z] 17:15:10 ERROR - package> make[3]: *** [default] Error 2
[task 2020-07-10T17:15:10.215Z] 17:15:10 INFO - package> /builds/worker/checkouts/gecko/browser/build.mk:6: recipe for target 'package' failed
[task 2020-07-10T17:15:10.215Z] 17:15:10 ERROR - package> make[2]: *** [package] Error 2
[task 2020-07-10T17:15:10.219Z] 17:15:10 INFO - /builds/worker/checkouts/gecko/build/moz-automation.mk:110: recipe for target 'automation/package' failed
[task 2020-07-10T17:15:10.220Z] 17:15:10 ERROR - make[1]: *** [automation/package] Error 2
[task 2020-07-10T17:15:10.220Z] 17:15:10 INFO - make[1]: *** Waiting for unfinished jobs....
Comment 4•5 years ago
•
|
||
Also seeing these failures starting on the backed out push:
https://treeherder.mozilla.org/logviewer.html#/jobs?job_id=309360116&repo=autoland&lineNumber=861
https://treeherder.mozilla.org/logviewer.html#/jobs?job_id=309339089&repo=autoland&lineNumber=23925
https://treeherder.mozilla.org/logviewer.html#/jobs?job_id=309357189&repo=autoland&lineNumber=977
https://treeherder.mozilla.org/logviewer.html#/jobs?job_id=309353613&repo=autoland&lineNumber=1450
https://firefox-ci-tc.services.mozilla.com/tasks/AuzaSlfOQsCM36rIKZSuMw/runs/5/logs/https%3A%2F%2Ffirefox-ci-tc.services.mozilla.com%2Fapi%2Fqueue%2Fv1%2Ftask%2FAuzaSlfOQsCM36rIKZSuMw%2Fruns%2F5%2Fartifacts%2Fpublic%2Flogs%2Flive.log
Comment 6•5 years ago
|
||
bugherder |
Assignee | ||
Updated•4 years ago
|
Description
•