RFR (M) 8155739: [TESTBUG] VarHandles/Unsafe tests for weakCAS should allow spurious failures

Aleksey Shipilev aleksey.shipilev at oracle.com
Mon May 2 11:56:35 UTC 2016

On 04/30/2016 02:42 AM, Paul Sandoz wrote:
>> On 29 Apr 2016, at 15:12, Aleksey Shipilev <aleksey.shipilev at oracle.com> wrote:
> Looks good.
> Small tweak if you so wish to do so:
> #if[JdkInternalMisc]
>     static final int WEAK_ATTEMPTS = Integer.getInteger("weakAttempts", 10);
> #end[JdkInternalMisc]
> which avoids changes to the SunMiscUnsafe* tests.

Alas, there are still whitespace changes in SunMiscUnsafe* tests, so
changes are unavoidable, and I would like to keep the patch in its
current form.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: OpenPGP digital signature
URL: <http://mail.openjdk.java.net/pipermail/hotspot-compiler-dev/attachments/20160502/d462b4ee/signature.asc>

More information about the hotspot-compiler-dev mailing list