Skip to content

Commit e84f47f

Browse files
Merge remote-tracking branch 'upstream/standard' into dragonwell
Summary: Merge upstream code Testing: CICD Reviewers: kuaiwei, yuleil Issue: #301
2 parents c1181f2 + 943a5ea commit e84f47f

File tree

83 files changed

+1635
-721
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

83 files changed

+1635
-721
lines changed

.github/workflows/submit.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ concurrency:
1919
jobs:
2020
prerequisites:
2121
name: Prerequisites
22-
runs-on: "ubuntu-20.04"
22+
runs-on: "ubuntu-22.04"
2323
outputs:
2424
should_run: ${{ steps.check_submit.outputs.should_run }}
2525
bundle_id: ${{ steps.check_bundle_id.outputs.bundle_id }}
@@ -115,7 +115,7 @@ jobs:
115115

116116
linux_x64_build:
117117
name: Linux x64
118-
runs-on: "ubuntu-20.04"
118+
runs-on: "ubuntu-22.04"
119119
needs: prerequisites
120120
if: needs.prerequisites.outputs.should_run != 'false' && needs.prerequisites.outputs.platform_linux_x64 != 'false'
121121

@@ -191,7 +191,7 @@ jobs:
191191
192192
linux_x64_test:
193193
name: Linux x64
194-
runs-on: "ubuntu-20.04"
194+
runs-on: "ubuntu-22.04"
195195
needs:
196196
- prerequisites
197197
- linux_x64_build
@@ -308,7 +308,7 @@ jobs:
308308

309309
linux_additional_build:
310310
name: Linux additional
311-
runs-on: "ubuntu-20.04"
311+
runs-on: "ubuntu-22.04"
312312
needs:
313313
- prerequisites
314314
if: needs.prerequisites.outputs.should_run != 'false' && needs.prerequisites.outputs.platform_linux_additional != 'false'
@@ -464,7 +464,7 @@ jobs:
464464

465465
linux_x86_build:
466466
name: Linux x86
467-
runs-on: "ubuntu-20.04"
467+
runs-on: "ubuntu-22.04"
468468
needs: prerequisites
469469
if: needs.prerequisites.outputs.should_run != 'false' && needs.prerequisites.outputs.platform_linux_x86 != 'false'
470470

@@ -550,7 +550,7 @@ jobs:
550550
551551
linux_x86_test:
552552
name: Linux x86
553-
runs-on: "ubuntu-20.04"
553+
runs-on: "ubuntu-22.04"
554554
needs:
555555
- prerequisites
556556
- linux_x86_build
@@ -1584,7 +1584,7 @@ jobs:
15841584

15851585
artifacts:
15861586
name: Post-process artifacts
1587-
runs-on: "ubuntu-20.04"
1587+
runs-on: "ubuntu-22.04"
15881588
if: always()
15891589
continue-on-error: true
15901590
needs:

.jcheck/conf

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,11 @@
11
[general]
22
project=jdk8u
33
jbs=JDK
4+
<<<<<<< HEAD
45
version=openjdk8u452
6+
=======
7+
version=openjdk8u462
8+
>>>>>>> jdk8u462-ga
59

610
[checks]
711
error=author,committer,reviewers,merge,issues,executable,symlink,message,hg-tag,whitespace

common/autoconf/version-numbers

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#
2-
# Copyright (c) 2011, 2024, Oracle and/or its affiliates. All rights reserved.
2+
# Copyright (c) 2011, 2025, Oracle and/or its affiliates. All rights reserved.
33
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44
#
55
# This code is free software; you can redistribute it and/or modify it
@@ -26,7 +26,11 @@
2626
JDK_MAJOR_VERSION=1
2727
JDK_MINOR_VERSION=8
2828
JDK_MICRO_VERSION=0
29+
<<<<<<< HEAD
2930
JDK_UPDATE_VERSION=452
31+
=======
32+
JDK_UPDATE_VERSION=462
33+
>>>>>>> jdk8u462-ga
3034
LAUNCHER_NAME=openjdk
3135
PRODUCT_NAME=OpenJDK
3236
PRODUCT_SUFFIX="Runtime Environment"

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

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -145,10 +145,18 @@ static Node* split_if(IfNode *iff, PhaseIterGVN *igvn) {
145145
Node* v = u->fast_out(k); // User of the phi
146146
// CNC - Allow only really simple patterns.
147147
// In particular I disallow AddP of the Phi, a fairly common pattern
148-
if( v == cmp ) continue; // The compare is OK
149-
if( (v->is_ConstraintCast()) &&
150-
v->in(0)->in(0) == iff )
151-
continue; // CastPP/II of the IfNode is OK
148+
if (v == cmp) continue; // The compare is OK
149+
if (v->is_ConstraintCast()) {
150+
// If the cast is derived from data flow edges, it may not have a control edge.
151+
// If so, it should be safe to split. But follow-up code can not deal with
152+
// this (l. 359). So skip.
153+
if (v->in(0) == NULL) {
154+
return NULL;
155+
}
156+
if (v->in(0)->in(0) == iff) {
157+
continue; // CastPP/II of the IfNode is OK
158+
}
159+
}
152160
// Disabled following code because I cannot tell if exactly one
153161
// path dominates without a real dominator check. CNC 9/9/1999
154162
//uint vop = v->Opcode();

hotspot/src/share/vm/prims/unsafe.cpp

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -165,13 +165,20 @@ jint Unsafe_invocation_key_to_method_slot(jint key) {
165165
#define truncate_jfloat(x) (x)
166166
#define truncate_jdouble(x) (x)
167167

168+
// Note that GET_FIELD and SET_FIELD cast the object field's C type to
169+
// volatile at the point of access. That is needed in order to ensure
170+
// that the C compiler does not reorder the object field access wrt to
171+
// preceding and succeeding volatile accesses to the thread flag field
172+
// (made by UnsafeWrapper) which safeguard the field access. See
173+
// JDK-8186787 for details.
174+
168175
#define GET_FIELD(obj, offset, type_name, v) \
169176
oop p = JNIHandles::resolve(obj); \
170-
type_name v = *(type_name*)index_oop_from_field_offset_long(p, offset)
177+
type_name v = *(volatile type_name*)index_oop_from_field_offset_long(p, offset)
171178

172179
#define SET_FIELD(obj, offset, type_name, x) \
173180
oop p = JNIHandles::resolve(obj); \
174-
*(type_name*)index_oop_from_field_offset_long(p, offset) = truncate_##type_name(x)
181+
*(volatile type_name*)index_oop_from_field_offset_long(p, offset) = truncate_##type_name(x)
175182

176183
#define GET_FIELD_VOLATILE(obj, offset, type_name, v) \
177184
oop p = JNIHandles::resolve(obj); \

jdk/make/data/cacerts/baltimorecybertrustca

Lines changed: 0 additions & 28 deletions
This file was deleted.

jdk/make/data/cacerts/camerfirmachamberscommerceca

Lines changed: 0 additions & 35 deletions
This file was deleted.

jdk/make/data/cacerts/camerfirmachambersignca

Lines changed: 0 additions & 48 deletions
This file was deleted.
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
Owner: CN=Sectigo Public Code Signing Root E46, O=Sectigo Limited, C=GB
2+
Issuer: CN=Sectigo Public Code Signing Root E46, O=Sectigo Limited, C=GB
3+
Serial number: 50249ba2ef8ea6bf6c2c1f1a6385d4c3
4+
Valid from: Mon Mar 22 00:00:00 GMT 2021 until: Wed Mar 21 23:59:59 GMT 2046
5+
Signature algorithm name: SHA384withECDSA
6+
Subject Public Key Algorithm: 384-bit EC (secp384r1) key
7+
Version: 3
8+
-----BEGIN CERTIFICATE-----
9+
MIICKDCCAa+gAwIBAgIQUCSbou+Opr9sLB8aY4XUwzAKBggqhkjOPQQDAzBWMQsw
10+
CQYDVQQGEwJHQjEYMBYGA1UEChMPU2VjdGlnbyBMaW1pdGVkMS0wKwYDVQQDEyRT
11+
ZWN0aWdvIFB1YmxpYyBDb2RlIFNpZ25pbmcgUm9vdCBFNDYwHhcNMjEwMzIyMDAw
12+
MDAwWhcNNDYwMzIxMjM1OTU5WjBWMQswCQYDVQQGEwJHQjEYMBYGA1UEChMPU2Vj
13+
dGlnbyBMaW1pdGVkMS0wKwYDVQQDEyRTZWN0aWdvIFB1YmxpYyBDb2RlIFNpZ25p
14+
bmcgUm9vdCBFNDYwdjAQBgcqhkjOPQIBBgUrgQQAIgNiAAQIMoEDH487om+BR4zl
15+
e7m6wWmyW0nAKLkUWG8kM85Qm3PZO8FoOZx6Yc5c0iJHRKuAhanllayqrmZYhlan
16+
uIODzLTRDqlR+EtnOX+MubY5aDSPGUq6jiHrQrisVp0J3AejQjBAMB0GA1UdDgQW
17+
BBTPfSygkHqYHd22XoXC4NoVcdLlXjAOBgNVHQ8BAf8EBAMCAYYwDwYDVR0TAQH/
18+
BAUwAwEB/zAKBggqhkjOPQQDAwNnADBkAjACd++zAerlV83j8HflRwwwlLmgchbs
19+
aGX/4g44dv/oG8KfzCVTRg6sZHMobtK0IqYCMGk5W6+oBFyZMtOebrSwXs8lGjll
20+
/zHz43Zy8DMXO+iiqzSEwWGneZ6KupkGGqfVKw==
21+
-----END CERTIFICATE-----
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
Owner: CN=Sectigo Public Code Signing Root R46, O=Sectigo Limited, C=GB
2+
Issuer: CN=Sectigo Public Code Signing Root R46, O=Sectigo Limited, C=GB
3+
Serial number: 4b2c3b01018bad2abc8c7b5b3eed9057
4+
Valid from: Mon Mar 22 00:00:00 GMT 2021 until: Wed Mar 21 23:59:59 GMT 2046
5+
Signature algorithm name: SHA384withRSA
6+
Subject Public Key Algorithm: 4096-bit RSA key
7+
Version: 3
8+
-----BEGIN CERTIFICATE-----
9+
MIIFeDCCA2CgAwIBAgIQSyw7AQGLrSq8jHtbPu2QVzANBgkqhkiG9w0BAQwFADBW
10+
MQswCQYDVQQGEwJHQjEYMBYGA1UEChMPU2VjdGlnbyBMaW1pdGVkMS0wKwYDVQQD
11+
EyRTZWN0aWdvIFB1YmxpYyBDb2RlIFNpZ25pbmcgUm9vdCBSNDYwHhcNMjEwMzIy
12+
MDAwMDAwWhcNNDYwMzIxMjM1OTU5WjBWMQswCQYDVQQGEwJHQjEYMBYGA1UEChMP
13+
U2VjdGlnbyBMaW1pdGVkMS0wKwYDVQQDEyRTZWN0aWdvIFB1YmxpYyBDb2RlIFNp
14+
Z25pbmcgUm9vdCBSNDYwggIiMA0GCSqGSIb3DQEBAQUAA4ICDwAwggIKAoICAQCN
15+
55QSIgQkdC7/FiMCkoq2rjaFrEfUI5ErPtx94jGgUW+shJHjUoq14pbe0IdjJImK
16+
/+8Skzt9u7aKvb0Ffyeba2XTpQxpsbxJOZrxbW6q5KCDJ9qaDStQ6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