File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
graalpython/com.oracle.graal.python/src/com/oracle/graal/python/runtime Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -230,7 +230,7 @@ private static final class AtExitHook {
230
230
231
231
private static final Assumption singleNativeContext = Truffle .getRuntime ().createAssumption ("single native context assumption" );
232
232
233
- private ReentrantLock globalInterpreterLock = new ReentrantLock ();
233
+ private final ReentrantLock globalInterpreterLock = new ReentrantLock ();
234
234
235
235
/** The thread-local state object. */
236
236
private ThreadLocal <PThreadState > customThreadState ;
Original file line number Diff line number Diff line change 39
39
import com .oracle .graal .python .builtins .modules .PosixModuleBuiltins .PosixFileHandle ;
40
40
import com .oracle .graal .python .builtins .modules .bz2 .BZ2Object ;
41
41
import com .oracle .graal .python .builtins .modules .io .PBuffered ;
42
- import com .oracle .graal .python .builtins .modules .lzma .LZMAObject ;
43
42
import com .oracle .graal .python .builtins .modules .io .PFileIO ;
43
+ import com .oracle .graal .python .builtins .modules .lzma .LZMAObject ;
44
44
import com .oracle .graal .python .builtins .modules .zlib .ZLibCompObject ;
45
45
import com .oracle .graal .python .builtins .objects .array .PArray ;
46
46
import com .oracle .graal .python .builtins .objects .bytes .PByteArray ;
@@ -223,7 +223,7 @@ public final Shape getShape(Object cls) {
223
223
return executeGetShape (cls , true );
224
224
}
225
225
226
- public final synchronized <T > T trace (T allocatedObject ) {
226
+ public final <T > T trace (T allocatedObject ) {
227
227
executeTrace (allocatedObject , AllocationReporter .SIZE_UNKNOWN );
228
228
return allocatedObject ;
229
229
}
You can’t perform that action at this time.
0 commit comments