Open Bug 1532596 Opened 6 years ago Updated 2 years ago

See if we can remove the RELEASE_OR_BETA ifdefs in platform.cpp

Categories

(Core :: Gecko Profiler, enhancement, P3)

enhancement

Tracking

()

People

(Reporter: florian, Unassigned)

Details

Markus' comment in https://phabricator.services.mozilla.com/D21712#599607
"It's a bit unfortunate how the RELEASE_OR_BETA #ifdefs propagate. Do we have a bug about removing them? Or maybe moving them only to the initialization, so that the rest of the code just sees a null sInstance->mInterposeObserver but is otherwise present even on Beta / Release?"

Could we just enable this code everywhere? Do we have a sense of how much overhead it creates?

If we are not comfortable having this code everywhere, maybe we should still have it in dev edition builds, so that we can have at least some startup main thread I/O coverage for the mozilla-beta tree.

(In reply to Florian Quèze [:florian] from comment #2)

If we are not comfortable having this code everywhere, maybe we should still have it in dev edition builds, so that we can have at least some startup main thread I/O coverage for the mozilla-beta tree.

For coverage on infra, perhaps we can use xpc::IsInAutomation() or xpc::AreNonLocalConnectionsDisabled() to enable the markers when running on infra but not for users.

Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.