We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ebb1422 commit fc9547cCopy full SHA for fc9547c
graalpython/com.oracle.graal.python/src/com/oracle/graal/python/runtime/PythonContext.java
@@ -2450,14 +2450,10 @@ boolean tryAcquireGil() {
2450
@TruffleBoundary
2451
void acquireGil() throws InterruptedException {
2452
assert !ownsGil() : dumpStackOnAssertionHelper("trying to acquire the GIL more than once");
2453
- boolean wasInterrupted = Thread.interrupted();
2454
globalInterpreterLock.lockInterruptibly();
2455
- if (wasInterrupted) {
2456
- Thread.currentThread().interrupt();
2457
- }
2458
}
2459
2460
- static final String dumpStackOnAssertionHelper(String msg) {
+ static String dumpStackOnAssertionHelper(String msg) {
2461
Thread.dumpStack();
2462
return msg;
2463
0 commit comments