Skip to content

Conversation

@JonathanLennox
Copy link
Member

Should prevent unbounded growth of the context array for contexts with lots of short-lived children.

… added.

Should prevent unbounded growth of the context array for contexts with lots of
short-lived children.
@codecov
Copy link

codecov bot commented Sep 4, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 42.91%. Comparing base (6673f0f) to head (a212e0e).
⚠️ Report is 1 commits behind head on master.

Additional details and impacted files

Impacted file tree graph

@@             Coverage Diff              @@
##             master     #153      +/-   ##
============================================
+ Coverage     42.73%   42.91%   +0.17%     
- Complexity      276      278       +2     
============================================
  Files            60       60              
  Lines          2506     2512       +6     
  Branches        348      348              
============================================
+ Hits           1071     1078       +7     
  Misses         1354     1354              
+ Partials         81       80       -1     
Files with missing lines Coverage Δ
...main/kotlin/org/jitsi/utils/logging2/LogContext.kt 97.67% <100.00%> (+3.07%) ⬆️

Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 6673f0f...a212e0e. Read the comment docs.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

…by cleaners.

Should prevent unbounded growth of the context array for contexts with lots of
short-lived children, without requiring linear scans of existing subcontexts.
@JonathanLennox JonathanLennox changed the title Clean out the LogContext childContexts array when a new subcontext is added. Remove weak references from LogContext childContexts when the child is GC'd Sep 5, 2025
@JonathanLennox JonathanLennox merged commit 45b9f50 into jitsi:master Sep 5, 2025
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants