Changeset 542 for Tests


Ignore:
Timestamp:
04/10/12 16:23:41 (10 years ago)
Author:
BegemoT
Message:
 
Location:
Tests/JAVA/test/src/main/java
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • Tests/JAVA/test/src/main/java/com/lmax/disruptor/Sequence.java

    r541 r542  
    1111 */ 
    1212public class Sequence { 
    13     private final PaddedAtomicLong value = new PaddedAtomicLong( Sequencer.INITIAL_CURSOR_VALUE ); 
    14 //    private final AtomicLong value = new AtomicLong( Sequencer.INITIAL_CURSOR_VALUE ); 
     13//    private final PaddedAtomicLong value = new PaddedAtomicLong( Sequencer.INITIAL_CURSOR_VALUE ); 
     14    private final AtomicLong value = new AtomicLong( Sequencer.INITIAL_CURSOR_VALUE ); 
    1515 
    1616    /** Default Constructor that uses an initial value of {@link com.lmax.disruptor.Sequencer#INITIAL_CURSOR_VALUE}.*/ 
  • Tests/JAVA/test/src/main/java/test/threads/queue/unstressed/DisruptorTask.java

    r541 r542  
    5555                                         final IUsefulWorkEmulator<LongValueMessage>[] emulators, 
    5656                                         final EventFactory<LongValueMessage> eventFactory ) { 
    57         final ClaimStrategy claimStrategy = new SingleThreadedClaimStrategy( bufferSize() ); 
     57        final ClaimStrategy claimStrategy = new UnpaddedSingleThreadedClaimStrategy( bufferSize() ); 
    5858 
    5959        ringBuffer = new RingBuffer<LongValueMessage>( 
Note: See TracChangeset for help on using the changeset viewer.