File tree Expand file tree Collapse file tree
src/core/src/main/java/org/apache/jmeter/threads Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2121import java .time .Duration ;
2222import java .util .IdentityHashMap ;
2323import java .util .concurrent .atomic .AtomicInteger ;
24- import java .util .concurrent .atomic .AtomicLong ;
2524
2625import org .apache .jmeter .control .Controller ;
2726import org .apache .jmeter .control .IteratingController ;
@@ -87,7 +86,7 @@ public abstract class AbstractThreadGroup extends AbstractTestElement
8786
8887 private final AtomicInteger numberOfThreads = new AtomicInteger (0 ); // Number of active threads in this group
8988
90- private final AtomicLong startTime = new AtomicLong ( 0 ) ;
89+ private long startTime ;
9190
9291 @ Override
9392 public AbstractThreadGroupSchema getSchema () {
@@ -105,7 +104,7 @@ public AbstractThreadGroupSchema getSchema() {
105104 * @return time in milliseconds since epoch
106105 */
107106 public long getStartTime () {
108- return startTime . get () ;
107+ return startTime ;
109108 }
110109
111110 /**
@@ -114,7 +113,7 @@ public long getStartTime() {
114113 * @param startTime time in milliseconds since epoch
115114 */
116115 public void setStartTime (long startTime ) {
117- this .startTime . set ( startTime ) ;
116+ this .startTime = startTime ;
118117 }
119118
120119 /** {@inheritDoc} */
You can’t perform that action at this time.
0 commit comments