Skip to content

Commit 251acc5

Browse files
Automatic merge of master into galahad
2 parents d1397ae + 744286e commit 251acc5

File tree

7 files changed

+39
-22
lines changed

7 files changed

+39
-22
lines changed

espresso-compiler-stub/mx.espresso-compiler-stub/suite.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
#
2323

2424
suite = {
25-
"mxversion": "7.33.0",
25+
"mxversion": "7.58.0",
2626
"name": "espresso-compiler-stub",
2727
"version": "24.2.0",
2828
"release": False,

espresso-shared/mx.espresso-shared/suite.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
# questions.
2424
#
2525
suite = {
26-
"mxversion": "7.55.2",
26+
"mxversion": "7.58.0",
2727
"name": "espresso-shared",
2828
"version" : "26.0.0",
2929
"release" : False,

espresso/ci/ci.jsonnet

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
vm_guard_includes: [],
1010

1111
local espresso_compiler_stub_gate = common.eclipse + common.jdt + common.predicates(true, true, false) +
12-
common.espresso_gate(allow_warnings=false, tags='style,fullbuild', timelimit='35:00', name='gate-espresso-compiler-stub-style-jdkLatest-linux-amd64', imports='/substratevm') + {
12+
common.espresso_gate(allow_warnings=false, tags='style,fullbuild', timelimit='35:00', name='gate-espresso-compiler-stub-style-jdkLatest-linux-amd64', imports='/substratevm', mx_args=['--native-images=false']) + {
1313
setup+: [
1414
['cd', "../espresso-compiler-stub"],
1515
],
@@ -28,8 +28,8 @@
2828
},
2929

3030
local _builds = common.builds + [
31-
common.jdkLatest_gate_linux_amd64 + espresso_compiler_stub_gate,
32-
common.jdkLatest_gate_linux_amd64 + espresso_shared_gate,
31+
common.jdkLatest_tier1_linux_amd64 + espresso_compiler_stub_gate,
32+
common.jdkLatest_tier1_linux_amd64 + espresso_shared_gate,
3333
// Benchmarks
3434
// AWFY peak perf. benchmarks
3535
common.jdk21_weekly_bench_linux + common.espresso_benchmark('jvm-ce-llvm', 'awfy:*' , extra_args=['--vm.Xmx1g', '--vm.Xms1g']) + {name: 'weekly-bench-espresso-jvm-ce-awfy-jdk21onLatest-linux-amd64'},

espresso/ci/ci_common/common.jsonnet

Lines changed: 22 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,10 @@ local benchmark_suites = ['dacapo', 'renaissance', 'scala-dacapo'];
117117
},
118118

119119
// generic targets
120-
gate: {targets+: ['gate'], timelimit: "1:00:00"},
120+
tier1: {targets+: ['tier1'], notify_groups:: ['espresso']},
121+
tier2: {targets+: ['tier2'], notify_groups:: ['espresso']},
122+
tier3: {targets+: ['tier3'], notify_groups:: ['espresso']},
123+
tier4: {targets+: ['tier4'], notify_groups:: ['espresso']},
121124
postMerge: {targets+: ['post-merge'], notify_groups:: ['espresso']},
122125
dailyBench: {targets+: ['bench', 'daily'], notify_groups:: ['espresso']},
123126
daily: {targets+: ['daily'], notify_groups:: ['espresso']},
@@ -148,11 +151,12 @@ local benchmark_suites = ['dacapo', 'renaissance', 'scala-dacapo'];
148151

149152

150153
// precise targets and capabilities
151-
jdk21_gate_linux_amd64 : self.gate + self.linux_amd64_21,
152-
jdk21_gate_linux_aarch64 : self.gate + self.linux_aarch64_21,
153-
jdk21_gate_darwin_amd64 : self.gate + self.darwin_amd64_21,
154-
jdk21_gate_darwin_aarch64 : self.gate + self.darwin_aarch64_21,
155-
jdk21_gate_windows_amd64 : self.gate + self.windows_21,
154+
jdk21_tier1_linux_amd64 : self.tier1 + self.linux_amd64_21,
155+
jdk21_tier2_linux_amd64 : self.tier2 + self.linux_amd64_21,
156+
jdk21_tier3_linux_amd64 : self.tier3 + self.linux_amd64_21,
157+
jdk21_tier3_linux_aarch64 : self.tier3 + self.linux_aarch64_21,
158+
jdk21_tier3_darwin_aarch64 : self.tier3 + self.darwin_aarch64_21,
159+
jdk21_tier4_linux_amd64 : self.tier4 + self.linux_amd64_21,
156160
jdk21_bench_linux : self.bench + self.linux_amd64_21 + self.x52,
157161
jdk21_bench_darwin : self.bench + self.darwin_amd64_21,
158162
jdk21_bench_windows : self.bench + self.windows_21,
@@ -188,20 +192,25 @@ local benchmark_suites = ['dacapo', 'renaissance', 'scala-dacapo'];
188192
jdk21_on_demand_bench_darwin : self.onDemandBench + self.darwin_amd64_21,
189193
jdk21_on_demand_bench_windows : self.onDemandBench + self.windows_21,
190194

191-
jdk25_gate_linux_amd64 : self.gate + self.linux_amd64_25,
192-
jdk25_gate_linux_aarch64 : self.gate + self.linux_aarch64_25,
193-
jdk25_gate_darwin_amd64 : self.gate + self.darwin_amd64_25,
194-
jdk25_gate_darwin_aarch64 : self.gate + self.darwin_aarch64_25,
195-
jdk25_gate_windows_amd64 : self.gate + self.windows_25,
195+
jdk25_tier1_linux_amd64 : self.tier1 + self.linux_amd64_25,
196+
jdk25_tier2_linux_amd64 : self.tier2 + self.linux_amd64_25,
197+
jdk25_tier3_linux_amd64 : self.tier3 + self.linux_amd64_25,
198+
jdk25_tier3_linux_aarch64 : self.tier3 + self.linux_aarch64_25,
199+
jdk25_tier3_darwin_aarch64 : self.tier3 + self.darwin_aarch64_25,
200+
jdk25_tier4_linux_amd64 : self.tier4 + self.linux_amd64_25,
201+
jdk25_tier4_linux_aarch64 : self.tier4 + self.linux_aarch64_25,
196202
jdk25_daily_linux_amd64 : self.daily + self.linux_amd64_25,
197203
jdk25_daily_linux_aarch64 : self.daily + self.linux_aarch64_25,
198204
jdk25_daily_darwin_amd64 : self.daily + self.darwin_amd64_25,
199205
jdk25_daily_darwin_aarch64 : self.daily + self.darwin_aarch64_25,
200206
jdk25_daily_windows_amd64 : self.daily + self.windows_25,
201207
jdk25_weekly_linux_amd64 : self.weekly + self.linux_amd64_25,
202208

203-
jdkLatest_gate_linux_amd64 : self.gate + self.linux_amd64_latest,
209+
jdkLatest_tier1_linux_amd64 : self.tier1 + self.linux_amd64_latest,
210+
jdkLatest_tier2_linux_amd64 : self.tier2 + self.linux_amd64_latest,
211+
jdkLatest_tier3_linux_amd64 : self.tier3 + self.linux_amd64_latest,
204212
jdkLatest_daily_linux_amd64 : self.daily + self.linux_amd64_latest,
213+
jdkLatest_daily_linux_aarch64 : self.daily + self.linux_aarch64_latest,
205214
jdkLatest_weekly_linux_amd64 : self.weekly + self.linux_amd64_latest,
206215
jdkLatest_weekly_linux_aarch64: self.weekly + self.linux_aarch64_latest,
207216

@@ -341,7 +350,7 @@ local benchmark_suites = ['dacapo', 'renaissance', 'scala-dacapo'];
341350

342351
local _builds = [
343352
// Gates
344-
that.jdk21_gate_linux_amd64 + that.eclipse + that.jdt + that.predicates(false, false, false) + that.espresso_gate(allow_warnings=false, tags='style,fullbuild,imports', timelimit='35:00', name='gate-espresso-style-jdk21onLatest-linux-amd64'),
353+
that.jdk21_tier1_linux_amd64 + that.eclipse + that.jdt + that.predicates(false, false, false) + that.espresso_gate(allow_warnings=false, tags='style,fullbuild,imports', timelimit='35:00', name='gate-espresso-style-jdk21onLatest-linux-amd64'),
345354
],
346355

347356
builds: utils.add_defined_in(_builds, std.thisFile),

espresso/mx.espresso/suite.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
#
2323

2424
suite = {
25-
"mxversion": "7.55.2",
25+
"mxversion": "7.58.0",
2626
"name": "espresso",
2727
"version" : "26.0.0",
2828
"release" : False,

substratevm/src/com.oracle.svm.jdwp.resident/src/com/oracle/svm/jdwp/resident/impl/ResidentJDWP.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,6 @@
4545
import com.oracle.svm.core.interpreter.InterpreterFrameSourceInfo;
4646
import com.oracle.svm.core.layeredimagesingleton.MultiLayeredImageSingleton;
4747
import com.oracle.svm.core.locks.VMMutex;
48-
import com.oracle.svm.core.log.Log;
4948
import com.oracle.svm.core.meta.SubstrateObjectConstant;
5049
import com.oracle.svm.core.thread.VMThreads;
5150
import com.oracle.svm.core.util.VMError;
@@ -398,7 +397,9 @@ private static long[] getAllThreadIds() {
398397
mutex.unlock();
399398
}
400399
ids = Arrays.copyOf(ids, i);
401-
Log.log().string("getAllThreadIds(): " + Arrays.toString(ids)).newline();
400+
if (LOGGER.isLoggable()) {
401+
LOGGER.log("getAllThreadIds(): " + Arrays.toString(ids));
402+
}
402403
return ids;
403404
}
404405

truffle/src/com.oracle.truffle.runtime/src/com/oracle/truffle/runtime/OptimizedCallTarget.java

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -369,7 +369,14 @@ public Class<?> getType() {
369369
protected OptimizedCallTarget(OptimizedCallTarget sourceCallTarget, RootNode rootNode) {
370370
assert sourceCallTarget == null || sourceCallTarget.sourceCallTarget == null : "Cannot create a clone of a cloned CallTarget";
371371
this.sourceCallTarget = sourceCallTarget;
372-
this.speculationLog = sourceCallTarget != null ? sourceCallTarget.getSpeculationLog() : null;
372+
/*
373+
* Don't share the source's speculation log. Different splits of the same call target can be
374+
* very different. Moreover, the signatures used for speculations of the deopt cycle
375+
* detection algorithm don't include call target ids, so two same compilations of two
376+
* different splits of the same call target would produce a false positive if the
377+
* speculation log was shared.
378+
*/
379+
this.speculationLog = null;
373380
this.rootNode = rootNode;
374381
this.engine = OptimizedTVMCI.getEngineData(rootNode);
375382
this.resetCompilationProfile();

0 commit comments

Comments
 (0)