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 {
230230
231231 private static final Assumption singleNativeContext = Truffle .getRuntime ().createAssumption ("single native context assumption" );
232232
233- private ReentrantLock globalInterpreterLock = new ReentrantLock ();
233+ private final ReentrantLock globalInterpreterLock = new ReentrantLock ();
234234
235235 /** The thread-local state object. */
236236 private ThreadLocal <PThreadState > customThreadState ;
Original file line number Diff line number Diff line change 3939import com .oracle .graal .python .builtins .modules .PosixModuleBuiltins .PosixFileHandle ;
4040import com .oracle .graal .python .builtins .modules .bz2 .BZ2Object ;
4141import com .oracle .graal .python .builtins .modules .io .PBuffered ;
42- import com .oracle .graal .python .builtins .modules .lzma .LZMAObject ;
4342import com .oracle .graal .python .builtins .modules .io .PFileIO ;
43+ import com .oracle .graal .python .builtins .modules .lzma .LZMAObject ;
4444import com .oracle .graal .python .builtins .modules .zlib .ZLibCompObject ;
4545import com .oracle .graal .python .builtins .objects .array .PArray ;
4646import com .oracle .graal .python .builtins .objects .bytes .PByteArray ;
@@ -223,7 +223,7 @@ public final Shape getShape(Object cls) {
223223 return executeGetShape (cls , true );
224224 }
225225
226- public final synchronized <T > T trace (T allocatedObject ) {
226+ public final <T > T trace (T allocatedObject ) {
227227 executeTrace (allocatedObject , AllocationReporter .SIZE_UNKNOWN );
228228 return allocatedObject ;
229229 }
You can’t perform that action at this time.
0 commit comments