GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||||||||||||||||||||||||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||||||||||||||||||||||||||||||||||||||
GeezerVison is showing github.com — stop stale context reaching logical stacks and fixed events by FreeAndNil · Pull Request #323 · apache/logging-log4net Conversation
Contributor
Fixed
Deprecated
Documented, not changed
Speed of the stack change1M calls, best of 5, Release on net10.0:
The normal cases are the same within noise and use the same memory. The fixed case is 34 percent
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactions
FreeAndNil
added a commit
that referenced
this pull request
- context value into a PatternString-typed config value: the operator's choice - trustworthiness of that value: the deployer's responsibility - comment at the converter, note in our FAQ, where the next reader looks audit da18b6f-f021, no code change.
FreeAndNil
added a commit
that referenced
this pull request
- writes to HttpContext.Current of the appending thread - behind a buffering appender a flush hits the triggering request - a timestamp filter would drop foreign events, so documented not enforced audit da18b6f-f006, no code change.
FreeAndNil
added a commit
that referenced
this pull request
- Dispose rebuilt the stack from the copy taken at Push time - after Clear, or after a Pop below its depth, the earlier frames came back - now trims the stack registered in the flow, never grows it - the stack holds its owning stacks instead of a register callback - residual: a foreign frame trims the current flow, loss not injection 1M ops, best of 5, Release on net10.0: | case | before | after | |----------------------|-------------------------|-------------------------| | push/dispose depth 1 | 405 to 438 ns, 1272 B | 412 to 458 ns, 1272 B | | push/dispose depth 3 | 1386 to 1433 ns, 3976 B | 1414 to 1440 ns, 3976 B | | dispose after Clear | 548 ns, 1656 B | 361 ns, 1016 B | audit da18b6f-f044.
FreeAndNil
added a commit
that referenced
this pull request
- existed for the logical stack's register callback, now an owner reference - unused in the tree, public so it stays for now - marked obsolete, removal in version 4
FreeAndNil
force-pushed
the
Feature/323-event-and-context-state
branch
from
e123b49 to
4ef6dea
Compare
FreeAndNil
added a commit
that referenced
this pull request
- the cache was unlocked before the fields to fix were determined - a redundant Fix reopened it with nothing to do - a reader then cached its own identity, thread name or location - measured: a hit after 56000 to 63000 calls, five runs of five audit da18b6f-f039. - context value into a PatternString-typed config value: the operator's choice - trustworthiness of that value: the deployer's responsibility - comment at the converter, note in our FAQ, where the next reader looks audit da18b6f-f021, no code change. - writes to HttpContext.Current of the appending thread - behind a buffering appender a flush hits the triggering request - a timestamp filter would drop foreign events, so documented not enforced audit da18b6f-f006, no code change. - Dispose rebuilt the stack from the copy taken at Push time - after Clear, or after a Pop below its depth, the earlier frames came back - now trims the stack registered in the flow, never grows it - the stack holds its owning stacks instead of a register callback - residual: a foreign frame trims the current flow, loss not injection 1M ops, best of 5, Release on net10.0: | case | before | after | |----------------------|-------------------------|-------------------------| | push/dispose depth 1 | 405 to 438 ns, 1272 B | 412 to 458 ns, 1272 B | | push/dispose depth 3 | 1386 to 1433 ns, 3976 B | 1414 to 1440 ns, 3976 B | | dispose after Clear | 548 ns, 1656 B | 361 ns, 1016 B | audit da18b6f-f044. - existed for the logical stack's register callback, now an owner reference - unused in the tree, public so it stays for now - marked obsolete, removal in version 4 - the cache was unlocked before the fields to fix were determined - a redundant Fix reopened it with nothing to do - a reader then cached its own identity, thread name or location - measured: a hit after 56000 to 63000 calls, five runs of five audit da18b6f-f039.
FreeAndNil
force-pushed
the
Feature/323-event-and-context-state
branch
from
4ef6dea to
e725966
Compare
FreeAndNil
marked this pull request as ready for review
fluffynuts
approved these changes
gdziadkiewicz
approved these changes
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Warning Copilot couldn't run its full agentic review because it didn't start before the timeout. Make sure your repository has a runner available, or add a Copilot review overviewReview effort: Lite Open (2)What changed in this PRFixes two concurrency/context bugs in log4net: (1) disposed Changes:
💡 Add a
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactionsUh oh!
There was an error while loading. Please reload this page. Uh oh!
There was an error while loading. Please reload this page. Uh oh!
There was an error while loading. Please reload this page.
This was referenced
This was referenced
Merged
This was referenced
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Reviewers
Copilot code review
Copilot
Copilot review effort
Applies to this pull request for everyone.Learn more about Copilot code review.
Uh oh!
There was an error while loading. Please reload this page. AssigneesNo one assignedLabels
None yet
ProjectsDevelopmentSuccessfully merging this pull request may close these issues. Uh oh!
There was an error while loading. Please reload this page. Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later. | ||||||||||||||||||||||||||||||||||||||
| You are visitor 01402775 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |