Skip to content

Change the default timout action in initialization#754

Open
BlackWaters wants to merge 1 commit into
dragonwell-project:masterfrom
BlackWaters:upstream
Open

Change the default timout action in initialization#754
BlackWaters wants to merge 1 commit into
dragonwell-project:masterfrom
BlackWaters:upstream

Conversation

@BlackWaters
Copy link
Copy Markdown

Fix #753

Before this CL, the main thread will call an additional unpark in the init process of WispEngine because the default status of timeout, so the main threads will return immediately in the first Thread.sleep call, which breaks the semantics.

This CL changes the default timeout action for the main thread to INIT to fix this issue.

@CLAassistant
Copy link
Copy Markdown

CLAassistant commented Mar 25, 2026

CLA assistant check
All committers have signed the CLA.

Before this CL, the main thread will call an additional unpark in the
init process of WispEngine because the default status of timeout, so the
main threads will return immediately in the first Thread.sleep call,
which breaks the semantics.

This CL changes the default timeout action for the main thread to INIT
to fix this issue.
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.

[dragonwell8] Wisp下主线程第一次调用Thread.sleep时无效

2 participants