Compute the process creation timestamp during startup
Categories
(Core :: mozglue, task)
Tracking
()
Tracking | Status | |
---|---|---|
firefox98 | --- | fixed |
People
(Reporter: gsvelto, Assigned: gsvelto)
References
Details
Attachments
(1 file)
We currently generate the process creation timestamp lazily, whenever someone requests it. This is causing me issues with the GC hazards detector in bug 1678152 because it thinks that we might be allocating memory while creating JS objects that require the process creation timestamp. I suppose we could just generate the timestamp greedily at startup to solve this particular problem. Every process we have requests it more than once so this wouldn't change anything in practice, we'd just move the computation sometimes earlier during process startup.
Assignee | ||
Comment 1•4 years ago
|
||
Previously the process startup timestamp was computed lazily but this caused
some issues with some of our static analysis infra (see bug 1678152). This
moves computing the timestamp early during process startup and makes it happen
unconditionally.
Depends on D132736
Updated•4 years ago
|
Comment 3•4 years ago
|
||
Backed out 2 changesets (Bug 1678152, Bug 1751041) for causing failures in test_missing_intermediate.js CLOSED TREE
Log: https://treeherder.mozilla.org/logviewer?job_id=365391373&repo=autoland&lineNumber=8975
Backout: https://hg.mozilla.org/integration/autoland/rev/ea291de828a9258194e0a74ed91248b6764ceebc
Assignee | ||
Comment 4•4 years ago
|
||
I've inspected the issue and it's bug 1678152 causing it, so this can land on its own.
Comment 6•4 years ago
|
||
bugherder |
Description
•