Skip to content

Commit 5d793e3

Browse files
authored
Merge branch 'openjdk:master' into backport-GoeLin-cd9f1d3d-master
2 parents 2d61625 + 5d7aa66 commit 5d793e3

File tree

521 files changed

+40652
-12710
lines changed

Some content is hidden

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

521 files changed

+40652
-12710
lines changed

make/autoconf/jdk-options.m4

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -211,9 +211,8 @@ AC_DEFUN_ONCE([JDKOPT_SETUP_JDK_OPTIONS],
211211
# three different page sizes: 4K, 64K, and if run on Mac m1 hardware, 16K.
212212
COMPATIBLE_CDS_ALIGNMENT_DEFAULT=false
213213
if test "x$OPENJDK_TARGET_OS" = "xlinux" && test "x$OPENJDK_TARGET_CPU" = "xaarch64"; then
214-
COMPATIBLE_CDS_ALIGNMENT_DEFAULT=true
214+
COMPATIBLE_CDS_ALIGNMENT_DEFAULT=auto
215215
fi
216-
AC_SUBST(COMPATIBLE_CDS_ALIGNMENT_DEFAULT)
217216
218217
# Compress jars
219218
COMPRESS_JARS=false
@@ -596,7 +595,7 @@ AC_DEFUN([JDKOPT_ENABLE_DISABLE_COMPATIBLE_CDS_ALIGNMENT],
596595
UTIL_ARG_ENABLE(NAME: compatible-cds-alignment, DEFAULT: $COMPATIBLE_CDS_ALIGNMENT_DEFAULT,
597596
RESULT: ENABLE_COMPATIBLE_CDS_ALIGNMENT,
598597
DESC: [enable use alternative compatible cds core region alignment],
599-
DEFAULT_DESC: [disabled],
598+
DEFAULT_DESC: [disabled except on linux-aarch64],
600599
CHECKING_MSG: [if compatible cds region alignment enabled],
601600
CHECK_AVAILABLE: [
602601
AC_MSG_CHECKING([if CDS archive is available])

make/data/cacerts/baltimorecybertrustca

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

make/data/tzdata/VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,4 @@
2121
# or visit www.oracle.com if you need additional information or have any
2222
# questions.
2323
#
24-
tzdata2025a
24+
tzdata2025b

make/data/tzdata/asia

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1523,6 +1523,16 @@ Zone Asia/Jayapura 9:22:48 - LMT 1932 Nov
15231523
# (UIT No. 143 17.XI.1977) and not 23 September (UIT No. 141 13.IX.1977).
15241524
# UIT is the Operational Bulletin of International Telecommunication Union.
15251525

1526+
# From Roozbeh Pournader (2025-03-18):
1527+
# ... the exact time of Iran's transition from +0400 to +0330 ... was Friday
1528+
# 1357/8/19 AP=1978-11-10. Here's a newspaper clip from the Ettela'at
1529+
# newspaper, dated 1357/8/14 AP=1978-11-05, translated from Persian
1530+
# (at https://w.wiki/DUEY):
1531+
# Following the government's decision about returning the official time
1532+
# to the previous status, the spokesperson for the Ministry of Energy
1533+
# announced today: At the hour 24 of Friday 19th of Aban (=1978-11-10),
1534+
# the country's time will be pulled back half an hour.
1535+
#
15261536
# From Roozbeh Pournader (2003-03-15):
15271537
# This is an English translation of what I just found (originally in Persian).
15281538
# The Gregorian dates in brackets are mine:
@@ -1650,7 +1660,7 @@ Rule Iran 2021 2022 - Sep 21 24:00 0 -
16501660
Zone Asia/Tehran 3:25:44 - LMT 1916
16511661
3:25:44 - TMT 1935 Jun 13 # Tehran Mean Time
16521662
3:30 Iran %z 1977 Oct 20 24:00
1653-
4:00 Iran %z 1979
1663+
4:00 Iran %z 1978 Nov 10 24:00
16541664
3:30 Iran %z
16551665

16561666

make/data/tzdata/northamerica

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1634,6 +1634,15 @@ Zone America/Moncton -4:19:08 - LMT 1883 Dec 9
16341634
# For more on Orillia, see: Daubs K. Bold attempt at daylight saving
16351635
# time became a comic failure in Orillia. Toronto Star 2017-07-08.
16361636
# https://www.thestar.com/news/insight/2017/07/08/bold-attempt-at-daylight-saving-time-became-a-comic-failure-in-orillia.html
1637+
# From Paul Eggert (2025-03-20):
1638+
# Also see the 1912-06-17 front page of The Evening Sunbeam,
1639+
# reproduced in: Richardson M. "Daylight saving was a confusing
1640+
# time in Orillia" in the 2025-03-15 Orillia Matters. Richardson writes,
1641+
# "The first Sunday after the switch was made, [DST proponent and
1642+
# Orillia mayor William Sword] Frost walked into church an hour late.
1643+
# This became a symbol of the downfall of daylight saving in Orillia."
1644+
# The mayor became known as "Daylight Bill".
1645+
# https://www.orilliamatters.com/local-news/column-daylight-saving-was-a-confusing-time-in-orillia-10377529
16371646

16381647
# From Mark Brader (2010-03-06):
16391648
#

make/data/tzdata/southamerica

Lines changed: 70 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1269,35 +1269,45 @@ Zone America/Rio_Branco -4:31:12 - LMT 1914
12691269
# dates to 2014.
12701270
# DST End: last Saturday of April 2014 (Sun 27 Apr 2014 03:00 UTC)
12711271
# DST Start: first Saturday of September 2014 (Sun 07 Sep 2014 04:00 UTC)
1272-
# http://www.diariooficial.interior.gob.cl//media/2014/02/19/do-20140219.pdf
1272+
# From Tim Parenti (2025-03-22):
1273+
# Decreto 307 of 2014 of the Ministry of the Interior and Public Security,
1274+
# promulgated 2014-01-30 and published 2014-02-19:
1275+
# https://www.diariooficial.interior.gob.cl/media/2014/02/19/do-20140219.pdf#page=1
1276+
# https://www.bcn.cl/leychile/navegar?idNorma=1059557
12731277

12741278
# From Eduardo Romero Urra (2015-03-03):
12751279
# Today has been published officially that Chile will use the DST time
12761280
# permanently until March 25 of 2017
1277-
# http://www.diariooficial.interior.gob.cl/media/2015/03/03/1-large.jpg
1278-
#
1279-
# From Paul Eggert (2015-03-03):
1280-
# For now, assume that the extension will persist indefinitely.
1281+
# From Tim Parenti (2025-03-22):
1282+
# Decreto 106 of 2015 of the Ministry of the Interior and Public Security,
1283+
# promulgated 2015-01-27 and published 2015-03-03:
1284+
# https://www.diariooficial.interior.gob.cl/media/2015/03/03/do-20150303.pdf#page=1
1285+
# https://www.bcn.cl/leychile/navegar?idNorma=1075157
12811286

12821287
# From Juan Correa (2016-03-18):
1283-
# The decree regarding DST has been published in today's Official Gazette:
1284-
# http://www.diariooficial.interior.gob.cl/versiones-anteriores/do/20160318/
1285-
# http://www.leychile.cl/Navegar?idNorma=1088502
1288+
# The decree regarding DST has been published in today's Official Gazette...
12861289
# It does consider the second Saturday of May and August as the dates
12871290
# for the transition; and it lists DST dates until 2019, but I think
12881291
# this scheme will stick.
1289-
#
12901292
# From Paul Eggert (2016-03-18):
1291-
# For now, assume the pattern holds for the indefinite future.
12921293
# The decree says transitions occur at 24:00; in practice this appears
12931294
# to mean 24:00 mainland time, not 24:00 local time, so that Easter
12941295
# Island is always two hours behind the mainland.
1296+
# From Tim Parenti (2025-03-22):
1297+
# Decreto 253 of 2016 of the Ministry of the Interior and Public Security,
1298+
# promulgated 2016-03-16 and published 2016-03-18.
1299+
# https://www.diariooficial.interior.gob.cl/media/2016/03/18/do-20160318.pdf#page=1
1300+
# https://www.bcn.cl/leychile/navegar?idNorma=1088502
12951301

12961302
# From Juan Correa (2016-12-04):
12971303
# Magallanes region ... will keep DST (UTC -3) all year round....
12981304
# http://www.soychile.cl/Santiago/Sociedad/2016/12/04/433428/Bachelet-firmo-el-decreto-para-establecer-un-horario-unico-para-la-Region-de-Magallanes.aspx
1299-
# From Deborah Goldsmith (2017-01-19):
1300-
# http://www.diariooficial.interior.gob.cl/publicaciones/2017/01/17/41660/01/1169626.pdf
1305+
# From Tim Parenti (2025-03-22), via Deborah Goldsmith (2017-01-19):
1306+
# Decreto 1820 of 2016 of the Ministry of the Interior and Public Security,
1307+
# promulgated 2016-12-02 and published 2017-01-17:
1308+
# https://www.diariooficial.interior.gob.cl/publicaciones/2017/01/17/41660/01/1169626.pdf
1309+
# https://www.bcn.cl/leychile/Navegar?idNorma=1099217
1310+
# Model this as a change to standard offset effective 2016-12-04.
13011311

13021312
# From Juan Correa (2018-08-13):
13031313
# As of moments ago, the Ministry of Energy in Chile has announced the new
@@ -1316,13 +1326,20 @@ Zone America/Rio_Branco -4:31:12 - LMT 1914
13161326
# https://twitter.com/MinEnergia/status/1029009354001973248
13171327
# "We will keep the new time policy unchanged for at least the next 4 years."
13181328
# So we extend the new rules on Saturdays at 24:00 mainland time indefinitely.
1319-
# From Juan Correa (2019-02-04):
1320-
# http://www.diariooficial.interior.gob.cl/publicaciones/2018/11/23/42212/01/1498738.pdf
1329+
# From Tim Parenti (2025-03-22), via Juan Correa (2019-02-04):
1330+
# Decreto 1286 of 2018 of the Ministry of the Interior and Public Security,
1331+
# promulgated 2018-09-21 and published 2018-11-23:
1332+
# https://www.diariooficial.interior.gob.cl/publicaciones/2018/11/23/42212/01/1498738.pdf
1333+
# https://www.bcn.cl/leychile/Navegar?idNorma=1125760
13211334

13221335
# From Juan Correa (2022-04-02):
13231336
# I found there was a decree published last Thursday that will keep
1324-
# Magallanes region to UTC -3 "indefinitely". The decree is available at
1337+
# Magallanes region to UTC -3 "indefinitely".
1338+
# From Tim Parenti (2025-03-22):
1339+
# Decreto 143 of 2022 of the Ministry of the Interior and Public Security,
1340+
# promulgated 2022-03-29 and published 2022-03-31:
13251341
# https://www.diariooficial.interior.gob.cl/publicaciones/2022/03/31/43217-B/01/2108910.pdf
1342+
# https://www.bcn.cl/leychile/Navegar?idNorma=1174342
13261343

13271344
# From Juan Correa (2022-08-09):
13281345
# the Internal Affairs Ministry (Ministerio del Interior) informed DST
@@ -1331,13 +1348,36 @@ Zone America/Rio_Branco -4:31:12 - LMT 1914
13311348
# will keep UTC -3 "indefinitely"... This is because on September 4th
13321349
# we will have a voting whether to approve a new Constitution.
13331350
#
1334-
# From Eduardo Romero Urra (2022-08-17):
1351+
# From Tim Parenti (2025-03-22), via Eduardo Romero Urra (2022-08-17):
1352+
# Decreto 224 of 2022 of the Ministry of the Interior and Public Security,
1353+
# promulgated 2022-07-14 and published 2022-08-13:
13351354
# https://www.diariooficial.interior.gob.cl/publicaciones/2022/08/13/43327/01/2172567.pdf
1355+
# https://www.bcn.cl/leychile/navegar?idNorma=1179983
13361356
#
13371357
# From Paul Eggert (2022-08-17):
13381358
# Although the presidential decree stops at fall 2026, assume that
13391359
# similar DST rules will continue thereafter.
13401360

1361+
# From Paul Eggert (2025-01-15):
1362+
# Diario Regional Aysén's Sebastián Martel reports that 94% of Aysén
1363+
# citizens polled in November favored changing the rules from
1364+
# -04/-03-with-DST to -03 all year...
1365+
# https://www.diarioregionalaysen.cl/noticia/actualidad/2024/12/presentan-decision-que-gano-la-votacion-sobre-el-cambio-del-huso-horario-en-aysen
1366+
#
1367+
# From Yonathan Dossow (2025-03-20):
1368+
# [T]oday we have more confirmation of the change. [Aysén] region will keep
1369+
# UTC-3 all year...
1370+
# https://www.cnnchile.com/pais/region-de-aysen-mantendra-horario-de-verano-todo-el-ano_20250320/
1371+
# https://www.latercera.com/nacional/noticia/tras-consulta-ciudadana-region-de-aysen-mantendra-el-horario-de-verano-durante-todo-el-ano/
1372+
# https://x.com/min_interior/status/1902692504270672098
1373+
#
1374+
# From Tim Parenti (2025-03-22), via Eduardo Romero Urra (2025-03-20):
1375+
# Decreto 93 of 2025 of the Ministry of the Interior and Public Security,
1376+
# promulgated 2025-03-11 and published 2025-03-20:
1377+
# https://www.diariooficial.interior.gob.cl/publicaciones/2025/03/20/44104/01/2624263.pdf
1378+
# https://www.bcn.cl/leychile/Navegar?idNorma=1211955
1379+
# Model this as a change to standard offset effective 2025-03-20.
1380+
13411381
# Rule NAME FROM TO - IN ON AT SAVE LETTER/S
13421382
Rule Chile 1927 1931 - Sep 1 0:00 1:00 -
13431383
Rule Chile 1928 1932 - Apr 1 0:00 0 -
@@ -1394,6 +1434,20 @@ Zone America/Santiago -4:42:45 - LMT 1890
13941434
-5:00 1:00 %z 1947 Mar 31 24:00
13951435
-5:00 - %z 1947 May 21 23:00
13961436
-4:00 Chile %z
1437+
Zone America/Coyhaique -4:48:16 - LMT 1890
1438+
-4:42:45 - SMT 1910 Jan 10
1439+
-5:00 - %z 1916 Jul 1
1440+
-4:42:45 - SMT 1918 Sep 10
1441+
-4:00 - %z 1919 Jul 1
1442+
-4:42:45 - SMT 1927 Sep 1
1443+
-5:00 Chile %z 1932 Sep 1
1444+
-4:00 - %z 1942 Jun 1
1445+
-5:00 - %z 1942 Aug 1
1446+
-4:00 - %z 1946 Aug 28 24:00
1447+
-5:00 1:00 %z 1947 Mar 31 24:00
1448+
-5:00 - %z 1947 May 21 23:00
1449+
-4:00 Chile %z 2025 Mar 20
1450+
-3:00 - %z
13971451
Zone America/Punta_Arenas -4:43:40 - LMT 1890
13981452
-4:42:45 - SMT 1910 Jan 10
13991453
-5:00 - %z 1916 Jul 1

make/data/tzdata/zone.tab

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,8 @@ CH +4723+00832 Europe/Zurich
162162
CI +0519-00402 Africa/Abidjan
163163
CK -2114-15946 Pacific/Rarotonga
164164
CL -3327-07040 America/Santiago most of Chile
165-
CL -5309-07055 America/Punta_Arenas Region of Magallanes
165+
CL -4534-07204 America/Coyhaique Aysen Region
166+
CL -5309-07055 America/Punta_Arenas Magallanes Region
166167
CL -2709-10926 Pacific/Easter Easter Island
167168
CM +0403+00942 Africa/Douala
168169
CN +3114+12128 Asia/Shanghai Beijing Time
@@ -333,7 +334,7 @@ PF -0900-13930 Pacific/Marquesas Marquesas Islands
333334
PF -2308-13457 Pacific/Gambier Gambier Islands
334335
PG -0930+14710 Pacific/Port_Moresby most of Papua New Guinea
335336
PG -0613+15534 Pacific/Bougainville Bougainville
336-
PH +1435+12100 Asia/Manila
337+
PH +143512+1205804 Asia/Manila
337338
PK +2452+06703 Asia/Karachi
338339
PL +5215+02100 Europe/Warsaw
339340
PM +4703-05620 America/Miquelon

make/modules/java.desktop/lib/Awt2dLibraries.gmk

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -470,7 +470,7 @@ else
470470
# range-loop-analysis -> clang on Xcode12
471471

472472
HARFBUZZ_DISABLED_WARNINGS_gcc := type-limits missing-field-initializers strict-aliasing \
473-
array-bounds parentheses
473+
array-bounds parentheses dangling-pointer
474474
# noexcept-type required for GCC 7 builds. Not required for GCC 8+.
475475
# expansion-to-defined required for GCC 9 builds. Not required for GCC 10+.
476476
# maybe-uninitialized required for GCC 8 builds. Not required for GCC 9+.
@@ -773,7 +773,7 @@ ifeq ($(ENABLE_HEADLESS_ONLY), false)
773773
maybe-uninitialized shift-negative-value implicit-fallthrough \
774774
unused-function, \
775775
DISABLED_WARNINGS_clang := incompatible-pointer-types sign-compare \
776-
deprecated-declarations null-pointer-subtraction deprecated-non-prototype $(LIBZ_DISABLED_WARNINGS_CLANG), \
776+
deprecated-declarations null-pointer-subtraction deprecated-non-prototype unused-function $(LIBZ_DISABLED_WARNINGS_CLANG), \
777777
DISABLED_WARNINGS_microsoft := 4018 4244 4267, \
778778
LDFLAGS := $(LDFLAGS_JDKLIB) \
779779
$(call SET_SHARED_LIBRARY_ORIGIN), \

src/hotspot/cpu/aarch64/aarch64.ad

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1761,8 +1761,8 @@ int MachCallRuntimeNode::ret_addr_offset() {
17611761
// for real runtime callouts it will be six instructions
17621762
// see aarch64_enc_java_to_runtime
17631763
// adr(rscratch2, retaddr)
1764+
// str(rscratch2, Address(rthread, JavaThread::last_Java_pc_offset()));
17641765
// lea(rscratch1, RuntimeAddress(addr)
1765-
// stp(zr, rscratch2, Address(__ pre(sp, -2 * wordSize)))
17661766
// blr(rscratch1)
17671767
CodeBlob *cb = CodeCache::find_blob(_entry_point);
17681768
if (cb) {
@@ -3755,13 +3755,12 @@ encode %{
37553755
}
37563756
} else {
37573757
Label retaddr;
3758+
// Make the anchor frame walkable
37583759
__ adr(rscratch2, retaddr);
3760+
__ str(rscratch2, Address(rthread, JavaThread::last_Java_pc_offset()));
37593761
__ lea(rscratch1, RuntimeAddress(entry));
3760-
// Leave a breadcrumb for JavaFrameAnchor::capture_last_Java_pc()
3761-
__ stp(zr, rscratch2, Address(__ pre(sp, -2 * wordSize)));
37623762
__ blr(rscratch1);
37633763
__ bind(retaddr);
3764-
__ add(sp, sp, 2 * wordSize);
37653764
}
37663765
if (Compile::current()->max_vector_size() >= 16) {
37673766
__ reinitialize_ptrue();

src/hotspot/cpu/aarch64/c1_LIRAssembler_aarch64.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -276,14 +276,14 @@ void LIR_Assembler::osr_entry() {
276276
// verify the interpreter's monitor has a non-null object
277277
{
278278
Label L;
279-
__ ldr(rscratch1, Address(OSR_buf, slot_offset + 1*BytesPerWord));
279+
__ ldr(rscratch1, __ form_address(rscratch1, OSR_buf, slot_offset + 1*BytesPerWord, 0));
280280
__ cbnz(rscratch1, L);
281281
__ stop("locked object is NULL");
282282
__ bind(L);
283283
}
284284
#endif
285-
__ ldr(r19, Address(OSR_buf, slot_offset));
286-
__ ldr(r20, Address(OSR_buf, slot_offset + BytesPerWord));
285+
__ ldr(r19, __ form_address(rscratch1, OSR_buf, slot_offset, 0));
286+
__ ldr(r20, __ form_address(rscratch1, OSR_buf, slot_offset + BytesPerWord, 0));
287287
__ str(r19, frame_map()->address_for_monitor_lock(i));
288288
__ str(r20, frame_map()->address_for_monitor_object(i));
289289
}

0 commit comments

Comments
 (0)