gecko-dev/build/clang-plugin
Jean-Yves Avenard 86a3cf7457 Bug 1657521 - P3. Have the RemoteDecoderManagerChild use its own dedicated thread. r=mattwoodrow
This is a partial revert of "Bug 1650996 - P3. Have RemoteDecoderManagerChild use a TaskQueue over a media threadpool."

The RemoteDecoderManagerChild dispatch tasks synchronously, right now it is doing so on the media controller's thread pool ; however in the following patch it will change the creation to the decoder's thread pool.

If we attempt to instantiate too many decoders at once, we run out of available threads and dead-lock in the sync dispatch.

This issue has bitten us in various places already and the solution was always assuming that the decoder will always be created on the controller's thread and used on the decoder's thread.
This assumption won't hold any longer and was difficult to keep anyway.

So we have the RemoteDecoderManagerChild uses a dedicated thread so that we can guarantee there will always be an available thread to create the decoder.

Depends on D86543

Differential Revision: https://phabricator.services.mozilla.com/D86895
2020-08-13 03:19:36 +00:00
..
alpha Bug 1614371 - Move mozilla-performance-temp-refptr check to alpha checker repo. r=andi 2020-03-19 14:19:15 +00:00
external Bug 1644852 - Add an external/CustomAttributes.inc r=andi 2020-06-10 14:28:57 -05:00
mozsearch-plugin Bug 1653342 - Make MozsearchIndexer.cpp buildable with clang-11 r=asuth 2020-07-16 19:46:35 +00:00
tests Backed out 2 changesets (bug 1485588) for bustages on TestNoLocaleSpecificChecker.cpp . CLOSED TREE 2020-07-20 15:35:25 +03:00
.clang-format
ArithmeticArgChecker.cpp Bug 1501821 - Update clang-plugin in order to make it compatiable with clang 8.0.0 trunk. r=froydnj 2018-11-03 13:41:36 +00:00
ArithmeticArgChecker.h
AssertAssignmentChecker.cpp Bug 1501821 - Update clang-plugin in order to make it compatiable with clang 8.0.0 trunk. r=froydnj 2018-11-03 13:41:36 +00:00
AssertAssignmentChecker.h
BaseCheck.h Bug 1589096 - add registerPPCallbacks to our version of clang-tidy due to a limitation in mozilla-must-override. r=sylvestre 2019-10-31 12:16:35 +00:00
CanRunScriptChecker.cpp Bug 1646158 - Fix StringRef conversions in clang-plugin for clang 11 r=static-analysis-reviewers,andi 2020-06-17 15:56:44 +00:00
CanRunScriptChecker.h
Checks.inc Backed out 2 changesets (bug 1485588) for bustages on TestNoLocaleSpecificChecker.cpp . CLOSED TREE 2020-07-20 15:35:25 +03:00
ChecksIncludes.inc Backed out 2 changesets (bug 1485588) for bustages on TestNoLocaleSpecificChecker.cpp . CLOSED TREE 2020-07-20 15:35:25 +03:00
CustomAttributes.cpp Bug 1644852 - Add an external/CustomAttributes.inc r=andi 2020-06-10 14:28:57 -05:00
CustomAttributes.h Bug 1644852 - Add an external/CustomAttributes.inc r=andi 2020-06-10 14:28:57 -05:00
CustomAttributes.inc Bug 1651323 - Add temporary lifetime bound checker. r=andi,xpcom-reviewers,nika 2020-07-10 12:15:57 +00:00
CustomMatchers.h Backed out 2 changesets (bug 1485588) for bustages on TestNoLocaleSpecificChecker.cpp . CLOSED TREE 2020-07-20 15:35:25 +03:00
CustomTypeAnnotation.cpp Bug 1569681: Part 1 - Add support for moz_static_local_class and moz_trivial_dtor to clang-plugin; r=Ehsan 2019-07-30 18:50:52 +00:00
CustomTypeAnnotation.h Bug 1569681: Part 1 - Add support for moz_static_local_class and moz_trivial_dtor to clang-plugin; r=Ehsan 2019-07-30 18:50:52 +00:00
DanglingOnTemporaryChecker.cpp Bug 1615826 - Reformat `clang-plugin` to LLVM standard. r=froydnj 2020-02-17 18:30:50 +00:00
DanglingOnTemporaryChecker.h
DiagnosticsMatcher.cpp Bug 1619921 - enable clang-plugin with support for alpha checkers module. r=froydnj,sg 2020-03-17 07:01:09 +00:00
DiagnosticsMatcher.h Bug 1619921 - enable clang-plugin with support for alpha checkers module. r=froydnj,sg 2020-03-17 07:01:09 +00:00
ExplicitImplicitChecker.cpp Bug 1483953 - Add a FixIt hint for the ExplicitImplicitChecker analysis. r=Ehsan 2018-08-24 14:11:26 +00:00
ExplicitImplicitChecker.h
ExplicitOperatorBoolChecker.cpp Bug 1615826 - Reformat `clang-plugin` to LLVM standard. r=froydnj 2020-02-17 18:30:50 +00:00
ExplicitOperatorBoolChecker.h
FopenUsageChecker.cpp Bug 1615245 - checker `fopen-usage` should ignore some `gtest` include files. r=froydnj 2020-02-15 17:56:39 +00:00
FopenUsageChecker.h Bug 1615826 - Reformat `clang-plugin` to LLVM standard. r=froydnj 2020-02-17 18:30:50 +00:00
KungFuDeathGripChecker.cpp Bug 1605075 - Ignore kfdg variables initialized from xvalues in KungFuDeatGripChecker. r=andi 2020-04-09 09:48:13 +00:00
KungFuDeathGripChecker.h
LoadLibraryUsageChecker.cpp Bug 1511889 - Update clang-plugin LoadLibraryUsageChecker to use getBeginLoc. r=froydnj 2018-12-06 16:34:13 +00:00
LoadLibraryUsageChecker.h Bug 1440886 - Implement a static analysis checker to detect usage of PR_LoadLibrary and LoadLibraryA/LoadLibraryExA/LoadLibrary/LoadLibraryEx. r=Nika 2018-03-07 14:36:44 +02:00
Makefile.in Bug 1522771: Use -brepro to build clang-plugin.dll deterministically. r=mshal 2019-01-25 11:09:13 -05:00
MemMoveAnnotation.h Bug 1579351 - Add constant complexity for MemMoveAnnotation when looking for specific `std::atomic`. r=froydnj 2019-09-09 13:30:16 +00:00
MozCheckAction.cpp Bug 1591493 - Clang plugin should work with distributed builds. r=andi 2019-10-28 06:54:25 +00:00
MozillaTidyModule.cpp Bug 1652039 - Include checks in subdirectories in MozillaTidyModule.cpp r=andi 2020-07-20 07:50:47 +00:00
MustOverrideChecker.cpp Bug 1589096 - add registerPPCallbacks to our version of clang-tidy due to a limitation in mozilla-must-override. r=sylvestre 2019-10-31 12:16:35 +00:00
MustOverrideChecker.h Bug 1589096 - add registerPPCallbacks to our version of clang-tidy due to a limitation in mozilla-must-override. r=sylvestre 2019-10-31 12:16:35 +00:00
MustReturnFromCallerChecker.cpp Bug 1615826 - Reformat `clang-plugin` to LLVM standard. r=froydnj 2020-02-17 18:30:50 +00:00
MustReturnFromCallerChecker.h Bug 1580260 - rework the logic for `MustReturnFromCaller` checker. r=froydnj 2020-02-05 08:34:36 +00:00
MustUseChecker.cpp Bug 1501821 - Update clang-plugin in order to make it compatiable with clang 8.0.0 trunk. r=froydnj 2018-11-03 13:41:36 +00:00
MustUseChecker.h
NaNExprChecker.cpp Bug 1332689 - Remove clang 3.9 compat code for the clang-plugin. r=andi 2019-10-28 06:55:00 +00:00
NaNExprChecker.h
NeedsNoVTableTypeChecker.cpp Bug 1501821 - Update clang-plugin in order to make it compatiable with clang 8.0.0 trunk. r=froydnj 2018-11-03 13:41:36 +00:00
NeedsNoVTableTypeChecker.h
NoAddRefReleaseOnReturnChecker.cpp Bug 1501821 - Update clang-plugin in order to make it compatiable with clang 8.0.0 trunk. r=froydnj 2018-11-03 13:41:36 +00:00
NoAddRefReleaseOnReturnChecker.h
NoAutoTypeChecker.cpp
NoAutoTypeChecker.h
NoDuplicateRefCntMemberChecker.cpp Bug 1501821 - Update clang-plugin in order to make it compatiable with clang 8.0.0 trunk. r=froydnj 2018-11-03 13:41:36 +00:00
NoDuplicateRefCntMemberChecker.h
NoExplicitMoveConstructorChecker.cpp
NoExplicitMoveConstructorChecker.h
NoNewThreadsChecker.cpp Bug 1613440 - Add new clang plugin to deprecate NS_NewNamedThread r=andi 2020-02-27 12:53:54 +00:00
NoNewThreadsChecker.h Bug 1613440 - Add new clang plugin to deprecate NS_NewNamedThread r=andi 2020-02-27 12:53:54 +00:00
NoPrincipalGetURI.cpp Bug 1638576 - Correct spelling of "deprecated" (follow-up to bug 1611160). r=sylvestre 2020-05-17 20:20:38 +00:00
NoPrincipalGetURI.h Bug 1611160 - Add Clang Plugin for nsIPrincipal r=ckerschb,andi 2020-03-03 14:30:36 +00:00
NoUsingNamespaceMozillaJavaChecker.cpp Bug 1615826 - Reformat `clang-plugin` to LLVM standard. r=froydnj 2020-02-17 18:30:50 +00:00
NoUsingNamespaceMozillaJavaChecker.h Bug 1615826 - Reformat `clang-plugin` to LLVM standard. r=froydnj 2020-02-17 18:30:50 +00:00
NonMemMovableMemberChecker.cpp
NonMemMovableMemberChecker.h
NonMemMovableTemplateArgChecker.cpp
NonMemMovableTemplateArgChecker.h
NonParamInsideFunctionDeclChecker.cpp Bug 1487622 - Refactor the clang plugin wrt attributes r=andi 2018-09-18 13:03:33 +00:00
NonParamInsideFunctionDeclChecker.h
NonTrivialTypeInFfiChecker.cpp Bug 1613176 - Introduce NonTrivialTypeInFfiChecker. r=andi 2020-02-11 13:11:29 +00:00
NonTrivialTypeInFfiChecker.h Bug 1613176 - Introduce NonTrivialTypeInFfiChecker. r=andi 2020-02-11 13:11:29 +00:00
OverrideBaseCallChecker.cpp Bug 1487622 - Refactor the clang plugin wrt attributes r=andi 2018-09-18 13:03:33 +00:00
OverrideBaseCallChecker.h
OverrideBaseCallUsageChecker.cpp
OverrideBaseCallUsageChecker.h
ParamTraitsEnumChecker.cpp Bug 1615826 - Reformat `clang-plugin` to LLVM standard. r=froydnj 2020-02-17 18:30:50 +00:00
ParamTraitsEnumChecker.h Bug 1615826 - Reformat `clang-plugin` to LLVM standard. r=froydnj 2020-02-17 18:30:50 +00:00
RecurseGuard.h
RefCountedCopyConstructorChecker.cpp
RefCountedCopyConstructorChecker.h
RefCountedInsideLambdaChecker.cpp Bug 1501821 - Update clang-plugin in order to make it compatiable with clang 8.0.0 trunk. r=froydnj 2018-11-03 13:41:36 +00:00
RefCountedInsideLambdaChecker.h
ScopeChecker.cpp Bug 1615826 - Reformat `clang-plugin` to LLVM standard. r=froydnj 2020-02-17 18:30:50 +00:00
ScopeChecker.h
SprintfLiteralChecker.cpp Bug 1332689 - Remove clang 3.9 compat code for the clang-plugin. r=andi 2019-10-28 06:55:00 +00:00
SprintfLiteralChecker.h
StmtToBlockMap.h Bug 1646158 - Make `DynTypedNodeList` work with clang11 r=static-analysis-reviewers,andi 2020-06-17 15:56:44 +00:00
TemporaryLifetimeBoundChecker.cpp Bug 1651323 - Add temporary lifetime bound checker. r=andi,xpcom-reviewers,nika 2020-07-10 12:15:57 +00:00
TemporaryLifetimeBoundChecker.h Bug 1651323 - Add temporary lifetime bound checker. r=andi,xpcom-reviewers,nika 2020-07-10 12:15:57 +00:00
ThirdPartyPaths.h Bug 1562642 - Part 2 - Add missing MPL2 headers r=Gijs 2019-07-08 09:27:47 +00:00
ThirdPartyPaths.py Bug 1617131 - Sort the list of third party paths. r=sylvestre 2020-02-21 11:04:12 +00:00
ThreadAllows.py Bug 1618720 - Generate the ThreadAllow list deterministically. r=erahm,dmajor 2020-02-28 00:41:47 +00:00
ThreadAllows.txt Bug 1657521 - P3. Have the RemoteDecoderManagerChild use its own dedicated thread. r=mattwoodrow 2020-08-13 03:19:36 +00:00
ThreadFileAllows.txt Bug 1613440 - Add new clang plugin to deprecate NS_NewNamedThread r=andi 2020-02-27 12:53:54 +00:00
TrivialCtorDtorChecker.cpp Bug 1501821 - Update clang-plugin in order to make it compatiable with clang 8.0.0 trunk. r=froydnj 2018-11-03 13:41:36 +00:00
TrivialCtorDtorChecker.h
TrivialDtorChecker.cpp Bug 1615826 - Reformat `clang-plugin` to LLVM standard. r=froydnj 2020-02-17 18:30:50 +00:00
TrivialDtorChecker.h Bug 1569681: Part 1 - Add support for moz_static_local_class and moz_trivial_dtor to clang-plugin; r=Ehsan 2019-07-30 18:50:52 +00:00
Utils.h Bug 1646158 - Fix StringRef conversions in clang-plugin for clang 11 r=static-analysis-reviewers,andi 2020-06-17 15:56:44 +00:00
VariableUsageHelpers.cpp Bug 1562642 - Part 2 - Add missing MPL2 headers r=Gijs 2019-07-08 09:27:47 +00:00
VariableUsageHelpers.h
import_mozilla_checks.py Bug 1648798 - Add option for importing external checks into clang-tidy; r=tjr,andi 2020-07-07 18:05:27 +00:00
moz.build Backed out 2 changesets (bug 1485588) for bustages on TestNoLocaleSpecificChecker.cpp . CLOSED TREE 2020-07-20 15:35:25 +03:00
plugin.h Bug 1650804 - Update clang-tidy code for new ClangTidyCheck.h header in recent clangs r=static-analysis-reviewers,andi 2020-07-06 16:31:17 +00:00