Changeset 501 for Tests


Ignore:
Timestamp:
03/27/12 13:33:15 (10 years ago)
Author:
BegemoT
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Tests/JAVA/test/src/main/java/test/threads/queue/unstressed/impl/CABSESDQueueUnrolled.java

    r497 r501  
    2828    private final int length; 
    2929    private volatile long headCursor = 0; 
    30     private volatile long p11, p12, p13, p14, p15, p16, p17, p18 = 7; 
     30//    private volatile long p11, p12, p13, p14, p15, p16, p17, p18 = 7; 
    3131    private volatile long tailCursor = 0; 
    32     private volatile long p21, p22, p23, p24, p25, p26, p27, p28 = 8; 
     32//    private volatile long p21, p22, p23, p24, p25, p26, p27, p28 = 8; 
    3333 
    3434    public long sumPaddingToPreventOptimisation() { 
    35         return p11 + p12 + p13 + p14 + p15 + p16 + p17 + p18 
    36                 + p21 + p22 + p23 + p24 + p25 + p26 + p27 + p28; 
    37 //        return 0; 
     35//        return p11 + p12 + p13 + p14 + p15 + p16 + p17 + p18 
     36//                + p21 + p22 + p23 + p24 + p25 + p26 + p27 + p28; 
     37        return 0; 
    3838    } 
    3939 
Note: See TracChangeset for help on using the changeset viewer.