Skip to content

Commit 9e25479

Browse files
[GR-32410] Update to jvmci-21.3-b05.
PullRequest: graal/10052
2 parents 6d8b739 + 6e71e68 commit 9e25479

File tree

2 files changed

+16
-10
lines changed

2 files changed

+16
-10
lines changed

common.json

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,20 +2,20 @@
22
"README": "This file contains definitions that are useful for the hocon and jsonnet CI files of multiple repositories.",
33

44
"jdks": {
5-
"openjdk8": {"name": "openjdk", "version": "8u302+06-jvmci-21.3-b04", "platformspecific": true },
6-
"oraclejdk8": {"name": "oraclejdk", "version": "8u311+10-jvmci-21.3-b04", "platformspecific": true },
7-
"oraclejdk8Debug": {"name": "oraclejdk", "version": "8u311+10-jvmci-21.3-b04-fastdebug", "platformspecific": true },
5+
"openjdk8": {"name": "openjdk", "version": "8u302+06-jvmci-21.3-b05", "platformspecific": true },
6+
"oraclejdk8": {"name": "oraclejdk", "version": "8u311+11-jvmci-21.3-b05", "platformspecific": true },
7+
"oraclejdk8Debug": {"name": "oraclejdk", "version": "8u311+11-jvmci-21.3-b05-fastdebug", "platformspecific": true },
88

99
"openjdk11": {"name": "openjdk", "version": "11.0.11+9", "platformspecific": true },
1010
"oraclejdk11": {"name": "oraclejdk", "version": "11.0.11+9", "platformspecific": true },
11-
"labsjdk-ce-11": {"name": "labsjdk", "version": "ce-11.0.13+7-jvmci-21.3-b04", "platformspecific": true },
12-
"labsjdk-ee-11": {"name": "labsjdk", "version": "ee-11.0.13+10-jvmci-21.3-b04", "platformspecific": true },
11+
"labsjdk-ce-11": {"name": "labsjdk", "version": "ce-11.0.13+7-jvmci-21.3-b05", "platformspecific": true },
12+
"labsjdk-ee-11": {"name": "labsjdk", "version": "ee-11.0.13+10-jvmci-21.3-b05", "platformspecific": true },
1313

1414
"oraclejdk17": {"name": "oraclejdk", "version": "17.0.1+2", "platformspecific": true },
15-
"labsjdk-ce-17": {"name": "labsjdk", "version": "ce-17+35-jvmci-21.3-b04", "platformspecific": true },
16-
"labsjdk-ce-17Debug": {"name": "labsjdk", "version": "ce-17+35-jvmci-21.3-b04-debug", "platformspecific": true },
17-
"labsjdk-ee-17": {"name": "labsjdk", "version": "ee-17.0.1+12-jvmci-21.3-b04", "platformspecific": true },
18-
"labsjdk-ee-17Debug": {"name": "labsjdk", "version": "ee-17.0.1+12-jvmci-21.3-b04-debug", "platformspecific": true }
15+
"labsjdk-ce-17": {"name": "labsjdk", "version": "ce-17.0.1+12-jvmci-21.3-b05", "platformspecific": true },
16+
"labsjdk-ce-17Debug": {"name": "labsjdk", "version": "ce-17.0.1+12-jvmci-21.3-b05-debug", "platformspecific": true },
17+
"labsjdk-ee-17": {"name": "labsjdk", "version": "ee-17.0.1+12-jvmci-21.3-b05", "platformspecific": true },
18+
"labsjdk-ee-17Debug": {"name": "labsjdk", "version": "ee-17.0.1+12-jvmci-21.3-b05-debug", "platformspecific": true }
1919
},
2020

2121
"COMMENT" : "The devkits versions reflect those used to build the JVMCI JDKs (e.g., see devkit_platform_revisions in <jdk>/make/conf/jib-profiles.js)",

compiler/src/org.graalvm.libgraal/src/org/graalvm/libgraal/LibGraalScope.java

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -228,14 +228,20 @@ public long getIsolateThreadAddress() {
228228

229229
@Override
230230
public void close() {
231+
// Reset the currentScope thread local before detaching. Detaching may trigger HotSpot to
232+
// shutdown the libgraal isolate. That involves re-attaching the current thread to the
233+
// libgraal isolate with a *new* isolate thread for calling
234+
// HotSpotJVMCIRuntime.shutdown(). In the scope of the latter call, if a new LibGraalScope
235+
// is opened, it must not see this LibGraalScope as its parent otherwise it will use the
236+
// closed and discarded isolate thread (i.e. this.shared.isolateThread).
237+
currentScope.set(parent);
231238
if (parent == null && shared.detachAction != null) {
232239
if (shared.detachAction == DetachAction.DETACH) {
233240
detachThreadFrom(shared.isolateThread);
234241
} else {
235242
LibGraal.detachCurrentThread(shared.detachAction == DetachAction.DETACH_RUNTIME_AND_RELEASE);
236243
}
237244
}
238-
currentScope.set(parent);
239245
}
240246

241247
// Shared support for the LibGraal overlays

0 commit comments

Comments
 (0)