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 — Port 4.1: Limit the number of queued tasks in NioEventLoopTest.testTaskRemovalOnShutdownThrowsNoUnsupportedOperationException (#17924) by normanmaurer · Pull Request #17930 · netty/netty Conversation
Member
Auto-port of #17924 to 4.1 Motivation: testTaskRemovalOnShutdownThrowsNoUnsupportedOperationException submits Modifications: Yield in the producer while more than 1024 tasks are pending and the Result: The test no longer allocates an unbounded number of queue entries and
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactions…skRemovalOnShutdownThrowsNoUnsupportedOperationException (#17924) Auto-port of #17924 to 4.1 Cherry-picked commit: 9ac8aa3 Motivation: testTaskRemovalOnShutdownThrowsNoUnsupportedOperationException submits tasks to the EventLoop in a tight loop until it gets rejected. If the producer is faster than the EventLoop the task queue grows without bounds until the EventLoop is shut down, which sometimes resulted in an OutOfMemoryError on CI. Modifications: Yield in the producer while more than 1024 tasks are pending and the EventLoop is not shutting down yet. Result: The test no longer allocates an unbounded number of queue entries and still races task removal against shutdown.
|
There was an error while loading. Please reload this page.
✅ All tests passed ✅🏷️ Commit: 11e9f02 Learn more about TestLens at testlens.app/docs. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
…skRemovalOnShutdownThrowsNoUnsupportedOperationException (netty#17924) (netty#17930) Auto-port of netty#17924 to 4.1 Cherry-picked commit: 9ac8aa3 Motivation: testTaskRemovalOnShutdownThrowsNoUnsupportedOperationException submits tasks to the EventLoop in a tight loop until it gets rejected. If the producer is faster than the EventLoop the task queue grows without bounds until the EventLoop is shut down, which sometimes resulted in an OutOfMemoryError on CI. Modifications: Yield in the producer while more than 1024 tasks are pending and the EventLoop is not shutting down yet. Result: The test no longer allocates an unbounded number of queue entries and still races task removal against shutdown.
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.