From 34342c23cd21b26c9ab011634e0b3730f8510737 Mon Sep 17 00:00:00 2001 From: rgudwin Date: Mon, 15 Apr 2024 14:03:38 -0300 Subject: [PATCH] trying to solve problem --- src/main/java/br/unicamp/cst/core/entities/Codelet.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/br/unicamp/cst/core/entities/Codelet.java b/src/main/java/br/unicamp/cst/core/entities/Codelet.java index 096adb3c..163b516b 100755 --- a/src/main/java/br/unicamp/cst/core/entities/Codelet.java +++ b/src/main/java/br/unicamp/cst/core/entities/Codelet.java @@ -131,7 +131,7 @@ public abstract class Codelet implements Runnable, MemoryObserver { */ public abstract void proc(); - private Timer timer = new Timer(); + private volatile Timer timer = new Timer(); /** * Option for profiling execution times