> Test might times out if it suspend thread before it starts breakpoint event > handler. > The fix is to replace sleep with better synchronization and suspend virtual > thread only when it runs native code. > > Also, the completed monitor is acquired earlier to avoid racing when > completing test.
Leonid Mesnik has updated the pull request incrementally with one additional commit since the last revision: fix ------------- Changes: - all: https://git.openjdk.org/jdk/pull/15196/files - new: https://git.openjdk.org/jdk/pull/15196/files/53bb6235..303a4f60 Webrevs: - full: https://webrevs.openjdk.org/?repo=jdk&pr=15196&range=01 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=15196&range=00-01 Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod Patch: https://git.openjdk.org/jdk/pull/15196.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/15196/head:pull/15196 PR: https://git.openjdk.org/jdk/pull/15196