Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
af7ccd1d
Commit
af7ccd1d
authored
Mar 01, 2021
by
Kamil Trzciński
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Enable `trace_memory_allocations` by default
This enables `trace_memory_allocations` by default
parent
59255eb7
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
2 deletions
+7
-2
changelogs/unreleased/enable-trace_memory_allocations.yml
changelogs/unreleased/enable-trace_memory_allocations.yml
+5
-0
config/feature_flags/development/trace_memory_allocations.yml
...ig/feature_flags/development/trace_memory_allocations.yml
+1
-1
lib/gitlab/memory/instrumentation.rb
lib/gitlab/memory/instrumentation.rb
+1
-1
No files found.
changelogs/unreleased/enable-trace_memory_allocations.yml
0 → 100644
View file @
af7ccd1d
---
title
:
Enable `trace_memory_allocations` by default
merge_request
:
55369
author
:
type
:
changed
config/feature_flags/development/trace_memory_allocations.yml
View file @
af7ccd1d
...
...
@@ -5,4 +5,4 @@ rollout_issue_url: https://gitlab.com/gitlab-org/gitlab/-/issues/299524
milestone
:
'
13.9'
type
:
development
group
:
group::memory
default_enabled
:
fals
e
default_enabled
:
tru
e
lib/gitlab/memory/instrumentation.rb
View file @
af7ccd1d
...
...
@@ -25,7 +25,7 @@ module Gitlab
def
self
.
ensure_feature_flag!
return
unless
available?
enabled
=
Feature
.
enabled?
(
:trace_memory_allocations
)
enabled
=
Feature
.
enabled?
(
:trace_memory_allocations
,
default_enabled:
true
)
return
if
enabled
==
Thread
.
trace_memory_allocations
MUTEX
.
synchronize
do
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment