Skip to content

Commit 3ba27a8

Browse files
authored
Merge branch 'openjdk:master' into backport-mrserb-bc24a0ce-master
2 parents d9ff140 + 00d2542 commit 3ba27a8

File tree

39 files changed

+1230
-225
lines changed

39 files changed

+1230
-225
lines changed

.github/workflows/submit.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -203,13 +203,16 @@ jobs:
203203
- jdk/tier1
204204
- langtools/tier1
205205
- hotspot/tier1
206+
- jdk/security_infra
206207
include:
207208
- test: jdk/tier1
208209
suites: jdk_tier1
209210
- test: langtools/tier1
210211
suites: langtools_tier1
211212
- test: hotspot/tier1
212213
suites: hotspot_tier1
214+
- test: jdk/security_infra
215+
suites: jdk_security_infra
213216

214217
env:
215218
JDK_VERSION: "${{ fromJson(needs.prerequisites.outputs.dependencies).JDK_MAJOR_VERSION }}.${{ fromJson(needs.prerequisites.outputs.dependencies).JDK_MINOR_VERSION }}.${{ fromJson(needs.prerequisites.outputs.dependencies).JDK_MICRO_VERSION }}"
@@ -559,13 +562,16 @@ jobs:
559562
- jdk/tier1
560563
- langtools/tier1
561564
- hotspot/tier1
565+
- jdk/security_infra
562566
include:
563567
- test: jdk/tier1
564568
suites: jdk_tier1
565569
- test: langtools/tier1
566570
suites: langtools_tier1
567571
- test: hotspot/tier1
568572
suites: hotspot_tier1
573+
- test: jdk/security_infra
574+
suites: jdk_security_infra
569575

570576
# Reduced 32-bit build uses the same boot JDK as 64-bit build
571577
env:
@@ -1034,13 +1040,16 @@ jobs:
10341040
- jdk/tier1
10351041
- langtools/tier1
10361042
- hotspot/tier1
1043+
- jdk/security_infra
10371044
include:
10381045
- test: jdk/tier1
10391046
suites: jdk_tier1
10401047
- test: langtools/tier1
10411048
suites: langtools_tier1
10421049
- test: hotspot/tier1
10431050
suites: hotspot_tier1
1051+
- test: jdk/security_infra
1052+
suites: jdk_security_infra
10441053

10451054
env:
10461055
JDK_VERSION: "${{ fromJson(needs.prerequisites.outputs.dependencies).JDK_MAJOR_VERSION }}.${{ fromJson(needs.prerequisites.outputs.dependencies).JDK_MINOR_VERSION }}.${{ fromJson(needs.prerequisites.outputs.dependencies).JDK_MICRO_VERSION }}"
@@ -1192,13 +1201,16 @@ jobs:
11921201
- jdk/tier1
11931202
- langtools/tier1
11941203
- hotspot/tier1
1204+
- jdk/security_infra
11951205
include:
11961206
- test: jdk/tier1
11971207
suites: jdk_tier1
11981208
- test: langtools/tier1
11991209
suites: langtools_tier1
12001210
- test: hotspot/tier1
12011211
suites: hotspot_tier1
1212+
- test: jdk/security_infra
1213+
suites: jdk_security_infra
12021214

12031215
env:
12041216
JDK_VERSION: "${{ fromJson(needs.prerequisites.outputs.dependencies).JDK_MAJOR_VERSION }}.${{ fromJson(needs.prerequisites.outputs.dependencies).JDK_MINOR_VERSION }}.${{ fromJson(needs.prerequisites.outputs.dependencies).JDK_MICRO_VERSION }}"
@@ -1448,13 +1460,16 @@ jobs:
14481460
- jdk/tier1
14491461
- langtools/tier1
14501462
- hotspot/tier1
1463+
- jdk/security_infra
14511464
include:
14521465
- test: jdk/tier1
14531466
suites: jdk_tier1
14541467
- test: langtools/tier1
14551468
suites: langtools_tier1
14561469
- test: hotspot/tier1
14571470
suites: hotspot_tier1
1471+
- test: jdk/security_infra
1472+
suites: jdk_security_infra
14581473

14591474
env:
14601475
JDK_VERSION: "${{ fromJson(needs.prerequisites.outputs.dependencies).JDK_MAJOR_VERSION }}.${{ fromJson(needs.prerequisites.outputs.dependencies).JDK_MINOR_VERSION }}.${{ fromJson(needs.prerequisites.outputs.dependencies).JDK_MICRO_VERSION }}"

hotspot/src/os/posix/vm/os_posix.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -876,7 +876,7 @@ bool os::ThreadCrashProtection::call(os::CrashProtectionCallback& cb) {
876876

877877
Thread::muxAcquire(&_crash_mux, "CrashProtection");
878878

879-
_protected_thread = ThreadLocalStorage::thread();
879+
_protected_thread = Thread::current_or_null();
880880
assert(_protected_thread != NULL, "Cannot crash protect a NULL thread");
881881

882882
// we cannot rely on sigsetjmp/siglongjmp to save/restore the signal mask

hotspot/src/os/windows/vm/os_windows.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4890,7 +4890,7 @@ bool os::ThreadCrashProtection::call(os::CrashProtectionCallback& cb) {
48904890

48914891
Thread::muxAcquire(&_crash_mux, "CrashProtection");
48924892

4893-
_protected_thread = ThreadLocalStorage::thread();
4893+
_protected_thread = Thread::current_or_null();
48944894
assert(_protected_thread != NULL, "Cannot crash protect a NULL thread");
48954895

48964896
bool success = true;

hotspot/src/share/vm/opto/loopnode.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1220,7 +1220,7 @@ Node *LoopLimitNode::Ideal(PhaseGVN *phase, bool can_reshape) {
12201220

12211221
const TypeInt* init_t = phase->type(in(Init) )->is_int();
12221222
const TypeInt* limit_t = phase->type(in(Limit))->is_int();
1223-
int stride_p;
1223+
jlong stride_p;
12241224
jlong lim, ini;
12251225
julong max;
12261226
if (stride_con > 0) {
@@ -1229,10 +1229,10 @@ Node *LoopLimitNode::Ideal(PhaseGVN *phase, bool can_reshape) {
12291229
ini = init_t->_lo;
12301230
max = (julong)max_jint;
12311231
} else {
1232-
stride_p = -stride_con;
1232+
stride_p = -(jlong)stride_con;
12331233
lim = init_t->_hi;
12341234
ini = limit_t->_lo;
1235-
max = (julong)min_jint;
1235+
max = (julong)(juint)min_jint; // double cast to get 0x0000000080000000, not 0xffffffff80000000
12361236
}
12371237
julong range = lim - ini + stride_p;
12381238
if (range <= max) {

0 commit comments

Comments
 (0)