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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 841 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://mail.openjdk.java.net/pipermail/hotspot-compiler-dev/attachments/20160502/04aab5b9/signature.asc>


More information about the hotspot-compiler-dev mailing list