RFR (M) 8155739: [TESTBUG] VarHandles/Unsafe tests for weakCAS should allow spurious failures
Paul Sandoz
paul.sandoz at oracle.com
Mon May 2 18:30:52 UTC 2016
> On 2 May 2016, at 04:56, Aleksey Shipilev <aleksey.shipilev at oracle.com> wrote:
>
> 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.
>
No objections from me.
Paul.
More information about the core-libs-dev
mailing list