Skip to content

[ISSUE #40] Bound segment lock and refill waits to one deadline - #41

Merged
mxsm merged 3 commits into
developfrom
mxsm/fix-12-segment-timeout
Nov 28, 2026
Merged

mxsm merged 3 commits into
developfrom
mxsm/fix-12-segment-timeout

Conversation

@mxsm

@mxsm mxsm commented Nov 28, 2026

Copy link
Copy Markdown
Owner

Closes #40

Step 12. Charge lock contention and replenishment to one monotonic call deadline. Preserve interrupt state, keep cached hits clock-free, and document timeout semantics for server and SDK.

Validation

JDK 25 core suite passed (7/7). Four simultaneous 100 ms empty-panel calls each finished in 105 ms (90 ms scheduling tolerance); the audited calls took 104/205/306/408 ms. An injected clock exhausted the budget before queue polling. A lock waiter retained its interrupt flag and the first caller succeeded when stock arrived.

@mxsm
mxsm merged commit 40e5397 into develop Nov 28, 2026
1 check 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.

[Plan 12] Bound segment lock and refill waits to one deadline

1 participant