Issue #14904 - Stabilize virtual thread tracking dump test - #15647
Open
DragonFSKY wants to merge 1 commit into
Open
Issue #14904 - Stabilize virtual thread tracking dump test#15647DragonFSKY wants to merge 1 commit into
DragonFSKY wants to merge 1 commit into
Conversation
DragonFSKY
force-pushed
the
fix-14904-tracking-dump
branch
2 times, most recently
from
August 25, 2026 11:07
a8b449f to
f2b749c
Compare
Signed-off-by: Dongliang Xie <dragonfsky@gmail.com>
DragonFSKY
force-pushed
the
fix-14904-tracking-dump
branch
from
August 25, 2026 16:03
f2b749c to
4e4576d
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Fixes #14904.
testTrackingDump()signaled task startup before the blocking virtual threads necessarily reachedWAITING, and its 10-second timeout allowed tracked tasks to finish before both dumps completed.Use one task instance per virtual thread, wait for the two blocking tasks to reach
WAITING, and keep all four tasks alive until both dumps are complete. This preserves the existing assertions for thread state, carrier information, and detailed stack frames.Tests:
VirtualThreadPoolTest#testTrackingDumpjetty-utiltest suite (2963 tests, 0 failures, 0 errors)AI disclosure
I used OpenAI GPT-5.6 and Kimi K3 to assist with issue analysis and drafting the implementation and tests. I reviewed and verified the final changes.