-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Summary: jemalloc 5.3.0 was released in 2022 but has not been imported into FreeBSD base system yet. The new version of jemalloc includes new features and bug fixes which are listed on [[ https://github.com/jemalloc/jemalloc/releases/tag/5.3.0 | release note ]]. Test Plan: ``` cd lib/libc make cd /usr/src/ make buildworld && make installworld ``` then reboot and test several programs and applications Reviewers: #contributor_reviews_src, vangyzen Subscribers: jasone, vangyzen, instructionset_gmail.com, jrtc27, brooks, gbe, emaste, lwhsu, #contributor_reviews_src, imp Tags: #contributor_reviews_src Differential Revision: https://reviews.freebsd.org/D41421
- Loading branch information
1 parent
45d5b9f
commit 1293142
Showing
191 changed files
with
28,010 additions
and
12,273 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,122 @@ | ||
# jemalloc targets clang-format version 8. We include every option it supports | ||
# here, but comment out the ones that aren't relevant for us. | ||
--- | ||
# AccessModifierOffset: -2 | ||
AlignAfterOpenBracket: DontAlign | ||
AlignConsecutiveAssignments: false | ||
AlignConsecutiveDeclarations: false | ||
AlignEscapedNewlines: Right | ||
AlignOperands: false | ||
AlignTrailingComments: false | ||
AllowAllParametersOfDeclarationOnNextLine: true | ||
AllowShortBlocksOnASingleLine: false | ||
AllowShortCaseLabelsOnASingleLine: false | ||
AllowShortFunctionsOnASingleLine: Empty | ||
AllowShortIfStatementsOnASingleLine: false | ||
AllowShortLoopsOnASingleLine: false | ||
AlwaysBreakAfterReturnType: AllDefinitions | ||
AlwaysBreakBeforeMultilineStrings: true | ||
# AlwaysBreakTemplateDeclarations: Yes | ||
BinPackArguments: true | ||
BinPackParameters: true | ||
BraceWrapping: | ||
AfterClass: false | ||
AfterControlStatement: false | ||
AfterEnum: false | ||
AfterFunction: false | ||
AfterNamespace: false | ||
AfterObjCDeclaration: false | ||
AfterStruct: false | ||
AfterUnion: false | ||
BeforeCatch: false | ||
BeforeElse: false | ||
IndentBraces: false | ||
# BreakAfterJavaFieldAnnotations: true | ||
BreakBeforeBinaryOperators: NonAssignment | ||
BreakBeforeBraces: Attach | ||
BreakBeforeTernaryOperators: true | ||
# BreakConstructorInitializers: BeforeColon | ||
# BreakInheritanceList: BeforeColon | ||
BreakStringLiterals: false | ||
ColumnLimit: 80 | ||
# CommentPragmas: '' | ||
# CompactNamespaces: true | ||
# ConstructorInitializerAllOnOneLineOrOnePerLine: true | ||
# ConstructorInitializerIndentWidth: 4 | ||
ContinuationIndentWidth: 2 | ||
Cpp11BracedListStyle: true | ||
DerivePointerAlignment: false | ||
DisableFormat: false | ||
ExperimentalAutoDetectBinPacking: false | ||
FixNamespaceComments: true | ||
ForEachMacros: [ ql_foreach, qr_foreach, ] | ||
# IncludeBlocks: Preserve | ||
# IncludeCategories: | ||
# - Regex: '^<.*\.h(pp)?>' | ||
# Priority: 1 | ||
# IncludeIsMainRegex: '' | ||
IndentCaseLabels: false | ||
IndentPPDirectives: AfterHash | ||
IndentWidth: 4 | ||
IndentWrappedFunctionNames: false | ||
# JavaImportGroups: [] | ||
# JavaScriptQuotes: Leave | ||
# JavaScriptWrapImports: True | ||
KeepEmptyLinesAtTheStartOfBlocks: false | ||
Language: Cpp | ||
MacroBlockBegin: '' | ||
MacroBlockEnd: '' | ||
MaxEmptyLinesToKeep: 1 | ||
# NamespaceIndentation: None | ||
# ObjCBinPackProtocolList: Auto | ||
# ObjCBlockIndentWidth: 2 | ||
# ObjCSpaceAfterProperty: false | ||
# ObjCSpaceBeforeProtocolList: false | ||
|
||
PenaltyBreakAssignment: 2 | ||
PenaltyBreakBeforeFirstCallParameter: 1 | ||
PenaltyBreakComment: 300 | ||
PenaltyBreakFirstLessLess: 120 | ||
PenaltyBreakString: 1000 | ||
# PenaltyBreakTemplateDeclaration: 10 | ||
PenaltyExcessCharacter: 1000000 | ||
PenaltyReturnTypeOnItsOwnLine: 60 | ||
PointerAlignment: Right | ||
# RawStringFormats: | ||
# - Language: TextProto | ||
# Delimiters: | ||
# - 'pb' | ||
# - 'proto' | ||
# EnclosingFunctions: | ||
# - 'PARSE_TEXT_PROTO' | ||
# BasedOnStyle: google | ||
# - Language: Cpp | ||
# Delimiters: | ||
# - 'cc' | ||
# - 'cpp' | ||
# BasedOnStyle: llvm | ||
# CanonicalDelimiter: 'cc' | ||
ReflowComments: true | ||
SortIncludes: false | ||
SpaceAfterCStyleCast: false | ||
# SpaceAfterTemplateKeyword: true | ||
SpaceBeforeAssignmentOperators: true | ||
# SpaceBeforeCpp11BracedList: false | ||
# SpaceBeforeCtorInitializerColon: true | ||
# SpaceBeforeInheritanceColon: true | ||
SpaceBeforeParens: ControlStatements | ||
# SpaceBeforeRangeBasedForLoopColon: true | ||
SpaceInEmptyParentheses: false | ||
SpacesBeforeTrailingComments: 2 | ||
SpacesInAngles: false | ||
SpacesInCStyleCastParentheses: false | ||
# SpacesInContainerLiterals: false | ||
SpacesInParentheses: false | ||
SpacesInSquareBrackets: false | ||
# Standard: Cpp11 | ||
# This is nominally supported in clang-format version 8, but not in the build | ||
# used by some of the core jemalloc developers. | ||
# StatementMacros: [] | ||
TabWidth: 8 | ||
UseTab: Never | ||
... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.