> This change converts the first nsk Suspend/Resume test from the shared agent 
> thread handshake to direct native calls made by the test thread. The Java 
> code passes the thread object directly to the native methods, removing the 
> name-based lookup. Each validation now throws on failure instead of reporting 
> through the shared status protocol.
> 
> The old suspended state check could never actually fail the run, its status 
> went through a value the test discarded, the rewrite makes all of it load 
> bearing.
> 
> The same schema is still used by sixteen additional tests, plus three tests 
> that use only its status flag. I plan to convert them family by family, 
> either in this PR or in follow up PRs depending on what works best for 
> review. The shared header can be removed once it is no longer used
> 
> 
> ---------
> - [x] I confirm that I make this contribution in accordance with the [OpenJDK 
> Interim AI Policy](https://openjdk.org/legal/ai).

Shiv Shah has updated the pull request incrementally with one additional commit 
since the last revision:

  Use JVMTIUtils for suspendthrd01 and add getThreadState

-------------

Changes:
  - all: https://git.openjdk.org/jdk/pull/32585/files
  - new: https://git.openjdk.org/jdk/pull/32585/files/ad72fc19..f8dc8644

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=32585&range=01
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=32585&range=00-01

  Stats: 114 lines in 4 files changed: 17 ins; 87 del; 10 mod
  Patch: https://git.openjdk.org/jdk/pull/32585.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/32585/head:pull/32585

PR: https://git.openjdk.org/jdk/pull/32585

Reply via email to