diff --git a/src/test/java/br/unicamp/cst/core/profiler/TestMemoryObserver.java b/src/test/java/br/unicamp/cst/core/profiler/TestMemoryObserver.java index 82b8121d..0342bbb6 100644 --- a/src/test/java/br/unicamp/cst/core/profiler/TestMemoryObserver.java +++ b/src/test/java/br/unicamp/cst/core/profiler/TestMemoryObserver.java @@ -400,8 +400,8 @@ public void changeOfRegimeTestMemoryContainer() { MemoryContainer input = m.createMemoryContainer("INPUT_NUMBER"); MemoryObject output = m.createMemoryObject("OUTPUT_NUMBER", 0.32); Codelet c = new Codelet() { - MemoryContainer input_number; - MemoryObject output_number; + volatile MemoryContainer input_number; + volatile MemoryObject output_number; public int counter = 0; @Override public void accessMemoryObjects() {