Withdrawn: 7904033: jcstress: Upgrade Unsafe tests to use VarHandles

Aleksey Shipilev shade at openjdk.org
Tue Jun 17 12:49:49 UTC 2025


On Tue, 17 Jun 2025 10:41:27 GMT, Aleksey Shipilev <shade at openjdk.org> wrote:

> With Unsafe being deprecated, we need to rewrite some of the tests to VarHandles.
> 
> Public samples and fences tests have been rewritten to VarHandles. VarHandle fences are simple wrappers over Unsafe, we expect no surprises. Other tests were copied and reimplemented with VarHandles to still have more coverage for Unsafe paths, until Unsafe is completely removed.

This pull request has been closed without being integrated.

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

PR: https://git.openjdk.org/jcstress/pull/166


More information about the jcstress-dev mailing list