!401 I6FARR: Synchronize the master code to the branch to solve the problem of CVE
From: @kuenking111 Reviewed-by: @alexanderbill Signed-off-by: @alexanderbill
This commit is contained in:
commit
a5cd917efe
@ -293,7 +293,7 @@ index 4454cd18d..e9813d7c1 100644
|
||||
guarantee(index < GCTaskTimeStampEntries, "increase GCTaskTimeStampEntries");
|
||||
|
||||
diff --git a/hotspot/src/share/vm/gc_implementation/parallelScavenge/gcTaskThread.hpp b/hotspot/src/share/vm/gc_implementation/parallelScavenge/gcTaskThread.hpp
|
||||
index 7f8aff2bd..b4e69025f 100644
|
||||
index 0c17989a7d..c4c43a0fe3 100644
|
||||
--- a/hotspot/src/share/vm/gc_implementation/parallelScavenge/gcTaskThread.hpp
|
||||
+++ b/hotspot/src/share/vm/gc_implementation/parallelScavenge/gcTaskThread.hpp
|
||||
@@ -1,5 +1,5 @@
|
||||
@ -303,10 +303,10 @@ index 7f8aff2bd..b4e69025f 100644
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
@@ -48,13 +48,13 @@ private:
|
||||
|
||||
@@ -48,13 +48,14 @@ private:
|
||||
|
||||
bool _is_working; // True if participating in GC tasks
|
||||
|
||||
|
||||
- public:
|
||||
// Factory create and destroy methods.
|
||||
static GCTaskThread* create(GCTaskManager* manager,
|
||||
@ -314,19 +314,20 @@ index 7f8aff2bd..b4e69025f 100644
|
||||
uint processor_id) {
|
||||
return new GCTaskThread(manager, which, processor_id);
|
||||
}
|
||||
+ public:
|
||||
+
|
||||
+public:
|
||||
static void destroy(GCTaskThread* manager) {
|
||||
if (manager != NULL) {
|
||||
delete manager;
|
||||
@@ -65,8 +65,6 @@ private:
|
||||
@@ -65,8 +66,6 @@ private:
|
||||
return true;
|
||||
}
|
||||
virtual void run();
|
||||
- // Methods.
|
||||
- void start();
|
||||
|
||||
|
||||
void print_task_time_stamps();
|
||||
void print_on(outputStream* st) const;
|
||||
|
||||
diff --git a/hotspot/src/share/vm/gc_implementation/shared/adaptiveSizePolicy.cpp b/hotspot/src/share/vm/gc_implementation/shared/adaptiveSizePolicy.cpp
|
||||
index 3bfbddcb5..1e99e73e4 100644
|
||||
--- a/hotspot/src/share/vm/gc_implementation/shared/adaptiveSizePolicy.cpp
|
||||
|
||||
@ -2895,7 +2895,7 @@ new file mode 100644
|
||||
index 000000000..510529baa
|
||||
--- /dev/null
|
||||
+++ b/jdk/test/java/security/Provider/BaseProviderValidator.java
|
||||
@@ -0,0 +1,76 @@
|
||||
@@ -0,0 +1,75 @@
|
||||
+/*
|
||||
+ * Copyright (c) 2022, Huawei Technologies Co., Ltd. All rights reserved.
|
||||
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
@ -2921,7 +2921,6 @@ index 000000000..510529baa
|
||||
+ */
|
||||
+
|
||||
+/*
|
||||
+ * @test
|
||||
+ * @bug 7092821
|
||||
+ * @library ../testlibrary
|
||||
+ * @summary make sure that Sun providers do not miss any algorithms after
|
||||
@ -3174,7 +3173,7 @@ new file mode 100644
|
||||
index 000000000..8c4ef89c7
|
||||
--- /dev/null
|
||||
+++ b/jdk/test/java/security/Provider/ProviderValidationUtil.java
|
||||
@@ -0,0 +1,270 @@
|
||||
@@ -0,0 +1,269 @@
|
||||
+/*
|
||||
+ * Copyright (c) 2022, Huawei Technologies Co., Ltd. All rights reserved.
|
||||
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
@ -3200,7 +3199,6 @@ index 000000000..8c4ef89c7
|
||||
+ */
|
||||
+
|
||||
+/*
|
||||
+ * @test
|
||||
+ * @bug 7092821
|
||||
+ * @library ../testlibrary
|
||||
+ * @summary make sure that Sun providers do not miss any algorithms after
|
||||
|
||||
@ -1,170 +0,0 @@
|
||||
From c97998519552b7d8287125e46a3db2f29293784f Mon Sep 17 00:00:00 2001
|
||||
From: xiezhaokun <xiezhaokun@huawei.com>
|
||||
Date: Wed, 8 Jun 2022 10:32:52 +0800
|
||||
Subject: [PATCH 08/10] 8067941: [TESTBUG] Fix tests for OS with 64K page size
|
||||
|
||||
---
|
||||
hotspot/src/share/vm/memory/metaspace.cpp | 8 +++++---
|
||||
hotspot/test/compiler/6865265/StackOverflowBug.java | 2 +-
|
||||
hotspot/test/compiler/8009761/Test8009761.java | 2 +-
|
||||
.../exceptions/TestRecursiveReplacedException.java | 2 +-
|
||||
.../compiler/uncommontrap/StackOverflowGuardPagesOff.java | 2 +-
|
||||
.../compiler/uncommontrap/TestStackBangMonitorOwned.java | 2 +-
|
||||
hotspot/test/compiler/uncommontrap/TestStackBangRbp.java | 2 +-
|
||||
hotspot/test/gc/arguments/TestMaxHeapSizeTools.java | 2 +-
|
||||
hotspot/test/gc/g1/TestHumongousAllocInitialMark.java | 4 +++-
|
||||
9 files changed, 15 insertions(+), 11 deletions(-)
|
||||
|
||||
diff --git a/hotspot/src/share/vm/memory/metaspace.cpp b/hotspot/src/share/vm/memory/metaspace.cpp
|
||||
index 600bcfd1..2912f41b 100644
|
||||
--- a/hotspot/src/share/vm/memory/metaspace.cpp
|
||||
+++ b/hotspot/src/share/vm/memory/metaspace.cpp
|
||||
@@ -3937,11 +3937,13 @@ class TestVirtualSpaceNodeTest {
|
||||
assert(cm.sum_free_chunks() == 2*MediumChunk, "sizes should add up");
|
||||
}
|
||||
|
||||
- { // 4 pages of VSN is committed, some is used by chunks
|
||||
+ const size_t page_chunks = 4 * (size_t)os::vm_page_size() / BytesPerWord;
|
||||
+ // This doesn't work for systems with vm_page_size >= 16K.
|
||||
+ if (page_chunks < MediumChunk) {
|
||||
+ // 4 pages of VSN is committed, some is used by chunks
|
||||
ChunkManager cm(SpecializedChunk, SmallChunk, MediumChunk);
|
||||
VirtualSpaceNode vsn(vsn_test_size_bytes);
|
||||
- const size_t page_chunks = 4 * (size_t)os::vm_page_size() / BytesPerWord;
|
||||
- assert(page_chunks < MediumChunk, "Test expects medium chunks to be at least 4*page_size");
|
||||
+
|
||||
vsn.initialize();
|
||||
vsn.expand_by(page_chunks, page_chunks);
|
||||
vsn.get_chunk_vs(SmallChunk);
|
||||
diff --git a/hotspot/test/compiler/6865265/StackOverflowBug.java b/hotspot/test/compiler/6865265/StackOverflowBug.java
|
||||
index 295a6b41..c5d0f3b6 100644
|
||||
--- a/hotspot/test/compiler/6865265/StackOverflowBug.java
|
||||
+++ b/hotspot/test/compiler/6865265/StackOverflowBug.java
|
||||
@@ -28,7 +28,7 @@
|
||||
* @summary JVM crashes with "missing exception handler" error
|
||||
* @author volker.simonis@sap.com
|
||||
*
|
||||
- * @run main/othervm -XX:CompileThreshold=100 -Xbatch -Xss248k StackOverflowBug
|
||||
+ * @run main/othervm -XX:CompileThreshold=100 -Xbatch -Xss512k StackOverflowBug
|
||||
*/
|
||||
|
||||
|
||||
diff --git a/hotspot/test/compiler/8009761/Test8009761.java b/hotspot/test/compiler/8009761/Test8009761.java
|
||||
index 401458b6..b41f49fd 100644
|
||||
--- a/hotspot/test/compiler/8009761/Test8009761.java
|
||||
+++ b/hotspot/test/compiler/8009761/Test8009761.java
|
||||
@@ -25,7 +25,7 @@
|
||||
* @test
|
||||
* @bug 8009761
|
||||
* @summary Deoptimization on sparc doesn't set Llast_SP correctly in the interpreter frames it creates
|
||||
- * @run main/othervm -XX:CompileCommand=exclude,Test8009761::m2 -XX:-UseOnStackReplacement -XX:-BackgroundCompilation -Xss256K Test8009761
|
||||
+ * @run main/othervm -XX:CompileCommand=exclude,Test8009761::m2 -XX:-UseOnStackReplacement -XX:-BackgroundCompilation -Xss512K Test8009761
|
||||
*
|
||||
*/
|
||||
|
||||
diff --git a/hotspot/test/compiler/exceptions/TestRecursiveReplacedException.java b/hotspot/test/compiler/exceptions/TestRecursiveReplacedException.java
|
||||
index 996d82a0..950ed18c 100644
|
||||
--- a/hotspot/test/compiler/exceptions/TestRecursiveReplacedException.java
|
||||
+++ b/hotspot/test/compiler/exceptions/TestRecursiveReplacedException.java
|
||||
@@ -25,7 +25,7 @@
|
||||
* @test
|
||||
* @bug 8054224
|
||||
* @summary Recursive method compiled by C1 is unable to catch StackOverflowError
|
||||
- * @run main/othervm -Xcomp -XX:CompileOnly=Test.run -XX:+TieredCompilation -XX:TieredStopAtLevel=2 -Xss256K TestRecursiveReplacedException
|
||||
+ * @run main/othervm -Xcomp -XX:CompileOnly=Test.run -XX:+TieredCompilation -XX:TieredStopAtLevel=2 -Xss512K TestRecursiveReplacedException
|
||||
*
|
||||
*/
|
||||
|
||||
diff --git a/hotspot/test/compiler/uncommontrap/StackOverflowGuardPagesOff.java b/hotspot/test/compiler/uncommontrap/StackOverflowGuardPagesOff.java
|
||||
index 4ad409bb..835283c0 100644
|
||||
--- a/hotspot/test/compiler/uncommontrap/StackOverflowGuardPagesOff.java
|
||||
+++ b/hotspot/test/compiler/uncommontrap/StackOverflowGuardPagesOff.java
|
||||
@@ -25,7 +25,7 @@
|
||||
* @test
|
||||
* @bug 8029383
|
||||
* @summary stack overflow if callee is marked for deoptimization causes crash
|
||||
- * @run main/othervm -XX:TieredStopAtLevel=1 -XX:-BackgroundCompilation -XX:CompileCommand=dontinline,StackOverflowGuardPagesOff::m1 -XX:CompileCommand=exclude,StackOverflowGuardPagesOff::m2 -Xss256K -XX:-UseOnStackReplacement StackOverflowGuardPagesOff
|
||||
+ * @run main/othervm -XX:TieredStopAtLevel=1 -XX:-BackgroundCompilation -XX:CompileCommand=dontinline,StackOverflowGuardPagesOff::m1 -XX:CompileCommand=exclude,StackOverflowGuardPagesOff::m2 -Xss512K -XX:-UseOnStackReplacement StackOverflowGuardPagesOff
|
||||
*
|
||||
*/
|
||||
|
||||
diff --git a/hotspot/test/compiler/uncommontrap/TestStackBangMonitorOwned.java b/hotspot/test/compiler/uncommontrap/TestStackBangMonitorOwned.java
|
||||
index 3d93d7d5..c07a995d 100644
|
||||
--- a/hotspot/test/compiler/uncommontrap/TestStackBangMonitorOwned.java
|
||||
+++ b/hotspot/test/compiler/uncommontrap/TestStackBangMonitorOwned.java
|
||||
@@ -25,7 +25,7 @@
|
||||
* @test
|
||||
* @bug 8032410
|
||||
* @summary Stack overflow at deoptimization doesn't release owned monitors
|
||||
- * @run main/othervm -XX:-BackgroundCompilation -XX:CompileCommand=dontinline,TestStackBangMonitorOwned::m1 -XX:CompileCommand=exclude,TestStackBangMonitorOwned::m2 -Xss256K -XX:-UseOnStackReplacement TestStackBangMonitorOwned
|
||||
+ * @run main/othervm -XX:-BackgroundCompilation -XX:CompileCommand=dontinline,TestStackBangMonitorOwned::m1 -XX:CompileCommand=exclude,TestStackBangMonitorOwned::m2 -Xss512K -XX:-UseOnStackReplacement TestStackBangMonitorOwned
|
||||
*
|
||||
*/
|
||||
public class TestStackBangMonitorOwned {
|
||||
diff --git a/hotspot/test/compiler/uncommontrap/TestStackBangRbp.java b/hotspot/test/compiler/uncommontrap/TestStackBangRbp.java
|
||||
index 38d4e206..9b96951a 100644
|
||||
--- a/hotspot/test/compiler/uncommontrap/TestStackBangRbp.java
|
||||
+++ b/hotspot/test/compiler/uncommontrap/TestStackBangRbp.java
|
||||
@@ -25,7 +25,7 @@
|
||||
* @test
|
||||
* @bug 8028308
|
||||
* @summary rbp not restored when stack overflow is thrown from deopt/uncommon trap blobs
|
||||
- * @run main/othervm -XX:-BackgroundCompilation -XX:CompileCommand=dontinline,TestStackBangRbp::m1 -XX:CompileCommand=exclude,TestStackBangRbp::m2 -Xss256K -XX:-UseOnStackReplacement TestStackBangRbp
|
||||
+ * @run main/othervm -XX:-BackgroundCompilation -XX:CompileCommand=dontinline,TestStackBangRbp::m1 -XX:CompileCommand=exclude,TestStackBangRbp::m2 -Xss512K -XX:-UseOnStackReplacement TestStackBangRbp
|
||||
*
|
||||
*/
|
||||
public class TestStackBangRbp {
|
||||
diff --git a/hotspot/test/gc/arguments/TestMaxHeapSizeTools.java b/hotspot/test/gc/arguments/TestMaxHeapSizeTools.java
|
||||
index b5859b5c..99ed508d 100644
|
||||
--- a/hotspot/test/gc/arguments/TestMaxHeapSizeTools.java
|
||||
+++ b/hotspot/test/gc/arguments/TestMaxHeapSizeTools.java
|
||||
@@ -112,7 +112,7 @@ class TestMaxHeapSizeTools {
|
||||
}
|
||||
|
||||
private static void checkInvalidMinInitialHeapCombinations(String gcflag) throws Exception {
|
||||
- expectError(new String[] { gcflag, "-Xms8M", "-XX:InitialHeapSize=4M", "-version" });
|
||||
+ expectError(new String[] { gcflag, "-Xms64M", "-XX:InitialHeapSize=32M", "-version" });
|
||||
}
|
||||
|
||||
private static void checkValidMinInitialHeapCombinations(String gcflag) throws Exception {
|
||||
diff --git a/hotspot/test/gc/g1/TestHumongousAllocInitialMark.java b/hotspot/test/gc/g1/TestHumongousAllocInitialMark.java
|
||||
index 473ce666..b6e5c3d6 100644
|
||||
--- a/hotspot/test/gc/g1/TestHumongousAllocInitialMark.java
|
||||
+++ b/hotspot/test/gc/g1/TestHumongousAllocInitialMark.java
|
||||
@@ -31,7 +31,9 @@
|
||||
import com.oracle.java.testlibrary.*;
|
||||
|
||||
public class TestHumongousAllocInitialMark {
|
||||
- private static final int heapSize = 200; // MB
|
||||
+ // Heap sizes < 224 MB are increased to 224 MB if vm_page_size == 64K to
|
||||
+ // fulfill alignment constraints.
|
||||
+ private static final int heapSize = 224; // MB
|
||||
private static final int heapRegionSize = 1; // MB
|
||||
private static final int initiatingHeapOccupancyPercent = 50; // %
|
||||
|
||||
diff --git a/hotspot/test/runtime/6929067/invoke.c b/hotspot/test/runtime/6929067/invoke.c
|
||||
index 8dde2cd6..cf8014be 100644
|
||||
--- a/hotspot/test/runtime/6929067/invoke.c
|
||||
+++ b/hotspot/test/runtime/6929067/invoke.c
|
||||
@@ -68,7 +68,7 @@ floobydust (void *p)
|
||||
int
|
||||
main (int argc, const char** argv)
|
||||
{
|
||||
- options[0].optionString = "-Xss320k";
|
||||
+ options[0].optionString = "-Xss512k";
|
||||
|
||||
vm_args.version = JNI_VERSION_1_2;
|
||||
vm_args.ignoreUnrecognized = JNI_TRUE;
|
||||
diff --git a/hotspot/test/runtime/InitialThreadOverflow/invoke.cxx b/hotspot/test/runtime/InitialThreadOverflow/invoke.cxx
|
||||
index 55213c0f..2bca88f1 100644
|
||||
--- a/hotspot/test/runtime/InitialThreadOverflow/invoke.cxx
|
||||
+++ b/hotspot/test/runtime/InitialThreadOverflow/invoke.cxx
|
||||
@@ -48,7 +48,7 @@ floobydust (void *p) {
|
||||
int
|
||||
main (int argc, const char** argv) {
|
||||
JavaVMOption options[1];
|
||||
- options[0].optionString = (char*) "-Xss320k";
|
||||
+ options[0].optionString = (char*) "-Xss512k";
|
||||
|
||||
JavaVMInitArgs vm_args;
|
||||
vm_args.version = JNI_VERSION_1_2;
|
||||
@ -1,114 +0,0 @@
|
||||
From 717ae5f43045b1e2d6f95c52fbd81c54ebf50977 Mon Sep 17 00:00:00 2001
|
||||
Date: Fri, 16 Sep 2022 01:12:20 +0000
|
||||
Subject: 8159720: Failure of C2 compilation with tiered prevents some
|
||||
C1 compilations.
|
||||
|
||||
---
|
||||
hotspot/src/share/vm/opto/compile.cpp | 2 +-
|
||||
hotspot/src/share/vm/opto/compile.hpp | 10 +++-------
|
||||
hotspot/src/share/vm/opto/matcher.cpp | 8 ++++----
|
||||
hotspot/src/share/vm/opto/parse1.cpp | 4 ++--
|
||||
4 files changed, 10 insertions(+), 14 deletions(-)
|
||||
|
||||
diff --git a/hotspot/src/share/vm/opto/compile.cpp b/hotspot/src/share/vm/opto/compile.cpp
|
||||
index 5a42422e1..4a32e8a9f 100644
|
||||
--- a/hotspot/src/share/vm/opto/compile.cpp
|
||||
+++ b/hotspot/src/share/vm/opto/compile.cpp
|
||||
@@ -791,7 +791,7 @@ Compile::Compile( ciEnv* ci_env, C2Compiler* compiler, ciMethod* target, int osr
|
||||
}
|
||||
if (failing()) return;
|
||||
if (cg == NULL) {
|
||||
- record_method_not_compilable_all_tiers("cannot parse method");
|
||||
+ record_method_not_compilable("cannot parse method");
|
||||
return;
|
||||
}
|
||||
JVMState* jvms = build_start_state(start(), tf());
|
||||
diff --git a/hotspot/src/share/vm/opto/compile.hpp b/hotspot/src/share/vm/opto/compile.hpp
|
||||
index 1150fd549..fb12b6874 100644
|
||||
--- a/hotspot/src/share/vm/opto/compile.hpp
|
||||
+++ b/hotspot/src/share/vm/opto/compile.hpp
|
||||
@@ -742,16 +742,12 @@ class Compile : public Phase {
|
||||
bool failure_reason_is(const char* r) { return (r==_failure_reason) || (r!=NULL && _failure_reason!=NULL && strcmp(r, _failure_reason)==0); }
|
||||
|
||||
void record_failure(const char* reason);
|
||||
- void record_method_not_compilable(const char* reason, bool all_tiers = false) {
|
||||
- // All bailouts cover "all_tiers" when TieredCompilation is off.
|
||||
- if (!TieredCompilation) all_tiers = true;
|
||||
- env()->record_method_not_compilable(reason, all_tiers);
|
||||
+ void record_method_not_compilable(const char* reason) {
|
||||
+ // Bailouts cover "all_tiers" when TieredCompilation is off.
|
||||
+ env()->record_method_not_compilable(reason, !TieredCompilation);
|
||||
// Record failure reason.
|
||||
record_failure(reason);
|
||||
}
|
||||
- void record_method_not_compilable_all_tiers(const char* reason) {
|
||||
- record_method_not_compilable(reason, true);
|
||||
- }
|
||||
bool check_node_count(uint margin, const char* reason) {
|
||||
if (live_nodes() + margin > max_node_limit()) {
|
||||
record_method_not_compilable(reason);
|
||||
diff --git a/hotspot/src/share/vm/opto/matcher.cpp b/hotspot/src/share/vm/opto/matcher.cpp
|
||||
index 07b8ee4c6..b26015ce6 100644
|
||||
--- a/hotspot/src/share/vm/opto/matcher.cpp
|
||||
+++ b/hotspot/src/share/vm/opto/matcher.cpp
|
||||
@@ -137,7 +137,7 @@ OptoReg::Name Matcher::warp_incoming_stk_arg( VMReg reg ) {
|
||||
_in_arg_limit = OptoReg::add(warped, 1); // Bump max stack slot seen
|
||||
if (!RegMask::can_represent_arg(warped)) {
|
||||
// the compiler cannot represent this method's calling sequence
|
||||
- C->record_method_not_compilable_all_tiers("unsupported incoming calling sequence");
|
||||
+ C->record_method_not_compilable("unsupported incoming calling sequence");
|
||||
return OptoReg::Bad;
|
||||
}
|
||||
return warped;
|
||||
@@ -1148,7 +1148,7 @@ OptoReg::Name Matcher::warp_outgoing_stk_arg( VMReg reg, OptoReg::Name begin_out
|
||||
if( warped >= out_arg_limit_per_call )
|
||||
out_arg_limit_per_call = OptoReg::add(warped,1);
|
||||
if (!RegMask::can_represent_arg(warped)) {
|
||||
- C->record_method_not_compilable_all_tiers("unsupported calling sequence");
|
||||
+ C->record_method_not_compilable("unsupported calling sequence");
|
||||
return OptoReg::Bad;
|
||||
}
|
||||
return warped;
|
||||
@@ -1327,7 +1327,7 @@ MachNode *Matcher::match_sfpt( SafePointNode *sfpt ) {
|
||||
uint r_cnt = mcall->tf()->range()->cnt();
|
||||
MachProjNode *proj = new (C) MachProjNode( mcall, r_cnt+10000, RegMask::Empty, MachProjNode::fat_proj );
|
||||
if (!RegMask::can_represent_arg(OptoReg::Name(out_arg_limit_per_call-1))) {
|
||||
- C->record_method_not_compilable_all_tiers("unsupported outgoing calling sequence");
|
||||
+ C->record_method_not_compilable("unsupported outgoing calling sequence");
|
||||
} else {
|
||||
for (int i = begin_out_arg_area; i < out_arg_limit_per_call; i++)
|
||||
proj->_rout.Insert(OptoReg::Name(i));
|
||||
@@ -1515,7 +1515,7 @@ Node *Matcher::Label_Root( const Node *n, State *svec, Node *control, const Node
|
||||
// out of stack space. See bugs 6272980 & 6227033 for more info.
|
||||
LabelRootDepth++;
|
||||
if (LabelRootDepth > MaxLabelRootDepth) {
|
||||
- C->record_method_not_compilable_all_tiers("Out of stack space, increase MaxLabelRootDepth");
|
||||
+ C->record_method_not_compilable("Out of stack space, increase MaxLabelRootDepth");
|
||||
return NULL;
|
||||
}
|
||||
uint care = 0; // Edges matcher cares about
|
||||
diff --git a/hotspot/src/share/vm/opto/parse1.cpp b/hotspot/src/share/vm/opto/parse1.cpp
|
||||
index a9ef4f910..4fcd58cb4 100644
|
||||
--- a/hotspot/src/share/vm/opto/parse1.cpp
|
||||
+++ b/hotspot/src/share/vm/opto/parse1.cpp
|
||||
@@ -415,7 +415,7 @@ Parse::Parse(JVMState* caller, ciMethod* parse_method, float expected_uses)
|
||||
_iter.reset_to_method(method());
|
||||
_flow = method()->get_flow_analysis();
|
||||
if (_flow->failing()) {
|
||||
- C->record_method_not_compilable_all_tiers(_flow->failure_reason());
|
||||
+ C->record_method_not_compilable(_flow->failure_reason());
|
||||
}
|
||||
|
||||
#ifndef PRODUCT
|
||||
@@ -1088,7 +1088,7 @@ SafePointNode* Parse::create_entry_map() {
|
||||
// Check for really stupid bail-out cases.
|
||||
uint len = TypeFunc::Parms + method()->max_locals() + method()->max_stack();
|
||||
if (len >= 32760) {
|
||||
- C->record_method_not_compilable_all_tiers("too many local variables");
|
||||
+ C->record_method_not_compilable("too many local variables");
|
||||
return NULL;
|
||||
}
|
||||
|
||||
--
|
||||
2.18.0.huawei.25
|
||||
|
||||
@ -117,14 +117,14 @@ index 000000000..fb6618688
|
||||
+import java.nio.channels.OverlappingFileLockException;
|
||||
+import java.nio.file.Files;
|
||||
+import java.nio.file.Path;
|
||||
+import jdk.test.lib.util.FileUtils;
|
||||
+import jdk.testlibrary.FileUtils;
|
||||
+
|
||||
+/*
|
||||
+ * @test
|
||||
+ * @bug 8166253
|
||||
+ * @summary Verify that OverlappingFileLockException is thrown when expected.
|
||||
+ * @library .. /test/lib
|
||||
+ * @build jdk.test.lib.util.FileUtils
|
||||
+ * @library /lib/testlibrary
|
||||
+ * @build jdk.testlibrary.Utils
|
||||
+ * @run main/othervm FileLockGC
|
||||
+ */
|
||||
+public class FileLockGC {
|
||||
|
||||
25
8178968-AArch64-Remove-non-standard-code-cache-size.patch
Normal file
25
8178968-AArch64-Remove-non-standard-code-cache-size.patch
Normal file
@ -0,0 +1,25 @@
|
||||
From bf0ddc70f543a1847d8822bc01537322aa5bbe6d Mon Sep 17 00:00:00 2001
|
||||
From: hedongbo <hedongbo@huawei.com>
|
||||
Date: Thu, 5 Jan 2023 19:40:11 +0000
|
||||
Subject: 8178968: AArch64: Remove non-standard code cache size
|
||||
|
||||
---
|
||||
hotspot/src/cpu/aarch64/vm/globalDefinitions_aarch64.hpp | 4 ----
|
||||
1 file changed, 4 deletions(-)
|
||||
|
||||
diff --git a/hotspot/src/cpu/aarch64/vm/globalDefinitions_aarch64.hpp b/hotspot/src/cpu/aarch64/vm/globalDefinitions_aarch64.hpp
|
||||
index f15ed99fb..ed623c435 100644
|
||||
--- a/hotspot/src/cpu/aarch64/vm/globalDefinitions_aarch64.hpp
|
||||
+++ b/hotspot/src/cpu/aarch64/vm/globalDefinitions_aarch64.hpp
|
||||
@@ -37,8 +37,4 @@ const bool CCallingConventionRequiresIntsAsLongs = false;
|
||||
|
||||
#define SUPPORTS_NATIVE_CX8
|
||||
|
||||
-// The maximum B/BL offset range on AArch64 is 128MB.
|
||||
-#undef CODE_CACHE_DEFAULT_LIMIT
|
||||
-#define CODE_CACHE_DEFAULT_LIMIT (128*M)
|
||||
-
|
||||
#endif // CPU_AARCH64_VM_GLOBALDEFINITIONS_AARCH64_HPP
|
||||
--
|
||||
2.12.3
|
||||
|
||||
53
8185736-missing-default-exception-handler-in-calls-t.patch
Normal file
53
8185736-missing-default-exception-handler-in-calls-t.patch
Normal file
@ -0,0 +1,53 @@
|
||||
From da7a2005a2c181737b163f60dd705acc00002463 Mon Sep 17 00:00:00 2001
|
||||
From: hedongbo <hedongbo@huawei.com>
|
||||
Date: Thu, 5 Jan 2023 10:22:15 +0000
|
||||
Subject: 8185736: missing default exception handler in calls to
|
||||
rethrow_Stub
|
||||
|
||||
---
|
||||
hotspot/src/share/vm/opto/doCall.cpp | 9 +++++++++
|
||||
hotspot/src/share/vm/opto/output.cpp | 1 +
|
||||
2 files changed, 10 insertions(+)
|
||||
|
||||
diff --git a/hotspot/src/share/vm/opto/doCall.cpp b/hotspot/src/share/vm/opto/doCall.cpp
|
||||
index 366769356..1b2b77c71 100644
|
||||
--- a/hotspot/src/share/vm/opto/doCall.cpp
|
||||
+++ b/hotspot/src/share/vm/opto/doCall.cpp
|
||||
@@ -702,6 +702,7 @@ void Parse::catch_call_exceptions(ciExceptionHandlerStream& handlers) {
|
||||
GrowableArray<const Type*>* extypes = new (C->node_arena()) GrowableArray<const Type*>(C->node_arena(), 8, 0, NULL);
|
||||
GrowableArray<int>* saw_unloaded = new (C->node_arena()) GrowableArray<int>(C->node_arena(), 8, 0, 0);
|
||||
|
||||
+ bool default_handler = false;
|
||||
for (; !handlers.is_done(); handlers.next()) {
|
||||
ciExceptionHandler* h = handlers.handler();
|
||||
int h_bci = h->handler_bci();
|
||||
@@ -724,6 +725,14 @@ void Parse::catch_call_exceptions(ciExceptionHandlerStream& handlers) {
|
||||
// Note: It's OK if the BCIs repeat themselves.
|
||||
bcis->append(h_bci);
|
||||
extypes->append(h_extype);
|
||||
+ if (h_bci == -1) {
|
||||
+ default_handler = true;
|
||||
+ }
|
||||
+ }
|
||||
+
|
||||
+ if (!default_handler) {
|
||||
+ bcis->append(-1);
|
||||
+ extypes->append(TypeOopPtr::make_from_klass(env()->Throwable_klass())->is_instptr());
|
||||
}
|
||||
|
||||
int len = bcis->length();
|
||||
diff --git a/hotspot/src/share/vm/opto/output.cpp b/hotspot/src/share/vm/opto/output.cpp
|
||||
index 5c9566e1e..6032b72a9 100644
|
||||
--- a/hotspot/src/share/vm/opto/output.cpp
|
||||
+++ b/hotspot/src/share/vm/opto/output.cpp
|
||||
@@ -1761,6 +1761,7 @@ void Compile::FillExceptionTables(uint cnt, uint *call_returns, uint *inct_start
|
||||
}
|
||||
|
||||
// Set the offset of the return from the call
|
||||
+ assert(handler_bcis.find(-1) != -1, "must have default handler");
|
||||
_handler_table.add_subtable(call_return, &handler_bcis, NULL, &handler_pcos);
|
||||
continue;
|
||||
}
|
||||
--
|
||||
2.12.3
|
||||
|
||||
@ -153,21 +153,18 @@ new file mode 100644
|
||||
index 000000000..92950cf68
|
||||
--- /dev/null
|
||||
+++ b/hotspot/test/gc/g1/TestFromCardCacheIndex.java
|
||||
@@ -0,0 +1,119 @@
|
||||
@@ -0,0 +1,116 @@
|
||||
+/*
|
||||
+ * @test TestFromCardCacheIndex.java
|
||||
+ * @bug 8196485
|
||||
+ * @summary Ensure that G1 does not miss a remembered set entry due to from card cache default value indices.
|
||||
+ * @key gc
|
||||
+ * @requires vm.gc.G1
|
||||
+ * @requires vm.debug
|
||||
+ * @requires vm.bits != "32"
|
||||
+ * @library /test/lib
|
||||
+ * @modules java.base/jdk.internal.misc
|
||||
+ * java.management
|
||||
+ * @library /testlibrary/whitebox /testlibrary
|
||||
+ * @modules java.base/jdk.internal.misc java.management
|
||||
+ * @build sun.hotspot.WhiteBox
|
||||
+ * @run driver ClassFileInstaller sun.hotspot.WhiteBox
|
||||
+ * @run main/othervm -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -Xbootclasspath/a:. -Xms20M -Xmx20M -XX:+UseCompressedOops -XX:G1HeapRegionSize=1M -XX:HeapBaseMinAddress=2199011721216 -XX:+UseG1GC -verbose:gc TestFromCardCacheIndex
|
||||
+ * @run main/othervm -XX:+IgnoreUnrecognizedVMOptions -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -Xbootclasspath/a:. -Xms20M -Xmx20M -XX:+UseCompressedOops -XX:G1HeapRegionSize=1M -XX:HeapBaseMinAddress=2199011721216 -XX:+UseG1GC -verbose:gc TestFromCardCacheIndex
|
||||
+ */
|
||||
+
|
||||
+import sun.hotspot.WhiteBox;
|
||||
|
||||
@ -129,7 +129,7 @@ index 61627e4..bd35e95 100644
|
||||
if (internal_format) {
|
||||
p->trace_stack();
|
||||
diff --git a/hotspot/src/share/vm/runtime/thread.hpp b/hotspot/src/share/vm/runtime/thread.hpp
|
||||
index fcd4814..be53498 100644
|
||||
index 7d80daba..0e126964 100644
|
||||
--- a/hotspot/src/share/vm/runtime/thread.hpp
|
||||
+++ b/hotspot/src/share/vm/runtime/thread.hpp
|
||||
@@ -41,6 +41,7 @@
|
||||
@ -162,22 +162,22 @@ index fcd4814..be53498 100644
|
||||
void set_lgrp_id(int value) { _lgrp_id = value; }
|
||||
|
||||
// Printing
|
||||
- void print_on(outputStream* st) const;
|
||||
- virtual void print_on(outputStream* st) const;
|
||||
+ void print_on(outputStream* st, bool print_extended_info) const;
|
||||
+ void print_on(outputStream* st) const { print_on(st, false); }
|
||||
void print() const { print_on(tty); }
|
||||
virtual void print_on_error(outputStream* st, char* buf, int buflen) const;
|
||||
|
||||
@@ -1463,7 +1469,8 @@ class JavaThread: public Thread {
|
||||
@@ -1464,7 +1470,8 @@ class JavaThread: public Thread {
|
||||
|
||||
// Misc. operations
|
||||
char* name() const { return (char*)get_thread_name(); }
|
||||
- void print_on(outputStream* st) const;
|
||||
+ void print_on(outputStream* st, bool print_extended_info) const;
|
||||
+ void print_on(outputStream* st) const { print_on(st, false); }
|
||||
void print() const { print_on(tty); }
|
||||
void print_value();
|
||||
void print_thread_state_on(outputStream* ) const PRODUCT_RETURN;
|
||||
void print_thread_state() const PRODUCT_RETURN;
|
||||
@@ -1975,10 +1982,10 @@ class Threads: AllStatic {
|
||||
|
||||
// Verification
|
||||
@ -190,7 +190,7 @@ index fcd4814..be53498 100644
|
||||
+ print_on(tty, print_stacks, internal_format, false /* no concurrent lock printed */, false /* simple format */);
|
||||
}
|
||||
static void print_on_error(outputStream* st, Thread* current, char* buf, int buflen);
|
||||
|
||||
|
||||
diff --git a/hotspot/src/share/vm/runtime/threadStatisticalInfo.hpp b/hotspot/src/share/vm/runtime/threadStatisticalInfo.hpp
|
||||
new file mode 100644
|
||||
index 0000000..9dbe62d
|
||||
|
||||
@ -503,7 +503,7 @@ index e39fd7a..024499a 100644
|
||||
+++ b/hotspot/src/share/vm/gc_implementation/shared/concurrentGCThread.cpp
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
- * Copyright (c) 2001, 2012, Oracle and/or its affiliates. All rights reserved.
|
||||
- * Copyright (c) 2001, 2015, Oracle and/or its affiliates. All rights reserved.
|
||||
+ * Copyright (c) 2001, 2016, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
|
||||
@ -1,526 +0,0 @@
|
||||
From 78c19b03f00f61f673311cf3c70a21ce25933eec Mon Sep 17 00:00:00 2001
|
||||
From: eapen <zhangyipeng7@huawei.com>
|
||||
Date: Wed, 30 Nov 2022 11:39:58 +0000
|
||||
Subject: [PATCH 07/33] I68TO2: 8294357: (tz) Update Timezone Data to 2022d
|
||||
---
|
||||
jdk/make/data/tzdata/VERSION | 2 +-
|
||||
jdk/make/data/tzdata/asia | 30 +++++++----
|
||||
jdk/make/data/tzdata/backward | 2 +
|
||||
jdk/make/data/tzdata/europe | 58 ++++------------------
|
||||
jdk/make/data/tzdata/southamerica | 10 +++-
|
||||
jdk/make/data/tzdata/zone.tab | 2 -
|
||||
.../classes/sun/util/calendar/ZoneInfoFile.java | 9 +---
|
||||
jdk/test/java/util/TimeZone/TimeZoneData/VERSION | 2 +-
|
||||
.../java/util/TimeZone/TimeZoneData/aliases.txt | 2 +
|
||||
.../util/TimeZone/TimeZoneData/displaynames.txt | 2 -
|
||||
jdk/test/sun/util/calendar/zi/TestZoneInfo310.java | 15 ++++--
|
||||
jdk/test/sun/util/calendar/zi/tzdata/VERSION | 2 +-
|
||||
jdk/test/sun/util/calendar/zi/tzdata/asia | 30 +++++++----
|
||||
jdk/test/sun/util/calendar/zi/tzdata/backward | 2 +
|
||||
jdk/test/sun/util/calendar/zi/tzdata/europe | 58 ++++------------------
|
||||
jdk/test/sun/util/calendar/zi/tzdata/southamerica | 10 +++-
|
||||
jdk/test/sun/util/calendar/zi/tzdata/zone.tab | 2 -
|
||||
17 files changed, 99 insertions(+), 139 deletions(-)
|
||||
|
||||
diff --git a/jdk/make/data/tzdata/VERSION b/jdk/make/data/tzdata/VERSION
|
||||
index decb871..889d0e6 100644
|
||||
--- a/jdk/make/data/tzdata/VERSION
|
||||
+++ b/jdk/make/data/tzdata/VERSION
|
||||
@@ -21,4 +21,4 @@
|
||||
# or visit www.oracle.com if you need additional information or have any
|
||||
# questions.
|
||||
#
|
||||
-tzdata2022c
|
||||
+tzdata2022d
|
||||
diff --git a/jdk/make/data/tzdata/asia b/jdk/make/data/tzdata/asia
|
||||
index 6cb6d2c..1dc7d34 100644
|
||||
--- a/jdk/make/data/tzdata/asia
|
||||
+++ b/jdk/make/data/tzdata/asia
|
||||
@@ -3398,10 +3398,6 @@ Zone Asia/Karachi 4:28:12 - LMT 1907
|
||||
# The winter time in 2015 started on October 23 at 01:00.
|
||||
# https://wafa.ps/ar_page.aspx?id=CgpCdYa670694628582aCgpCdY
|
||||
# http://www.palestinecabinet.gov.ps/portal/meeting/details/27583
|
||||
-#
|
||||
-# From Paul Eggert (2019-04-10):
|
||||
-# For now, guess spring-ahead transitions are at 00:00 on the Saturday
|
||||
-# preceding March's last Sunday (i.e., Sat>=24).
|
||||
|
||||
# From P Chan (2021-10-18):
|
||||
# http://wafa.ps/Pages/Details/34701
|
||||
@@ -3418,6 +3414,18 @@ Zone Asia/Karachi 4:28:12 - LMT 1907
|
||||
# From Heba Hamad (2022-03-10):
|
||||
# summer time will begin in Palestine from Sunday 03-27-2022, 00:00 AM.
|
||||
|
||||
+# From Heba Hamad (2022-08-30):
|
||||
+# winter time will begin in Palestine from Saturday 10-29, 02:00 AM by
|
||||
+# 60 minutes backwards. Also the state of Palestine adopted the summer
|
||||
+# and winter time for the years: 2023,2024,2025,2026 ...
|
||||
+# https://mm.icann.org/pipermail/tz/attachments/20220830/9f024566/Time-0001.pdf
|
||||
+# (2022-08-31): ... the Saturday before the last Sunday in March and October
|
||||
+# at 2:00 AM ,for the years from 2023 to 2026.
|
||||
+# (2022-09-05): https://mtit.pna.ps/Site/New/1453
|
||||
+#
|
||||
+# From Paul Eggert (2022-08-31):
|
||||
+# For now, assume that this rule will also be used after 2026.
|
||||
+
|
||||
# Rule NAME FROM TO - IN ON AT SAVE LETTER/S
|
||||
Rule EgyptAsia 1957 only - May 10 0:00 1:00 S
|
||||
Rule EgyptAsia 1957 1958 - Oct 1 0:00 0 -
|
||||
@@ -3448,14 +3456,16 @@ Rule Palestine 2013 only - Sep 27 0:00 0 -
|
||||
Rule Palestine 2014 only - Oct 24 0:00 0 -
|
||||
Rule Palestine 2015 only - Mar 28 0:00 1:00 S
|
||||
Rule Palestine 2015 only - Oct 23 1:00 0 -
|
||||
-Rule Palestine 2016 2018 - Mar Sat>=24 1:00 1:00 S
|
||||
-Rule Palestine 2016 2018 - Oct Sat>=24 1:00 0 -
|
||||
+Rule Palestine 2016 2018 - Mar Sat<=30 1:00 1:00 S
|
||||
+Rule Palestine 2016 2018 - Oct Sat<=30 1:00 0 -
|
||||
Rule Palestine 2019 only - Mar 29 0:00 1:00 S
|
||||
-Rule Palestine 2019 only - Oct Sat>=24 0:00 0 -
|
||||
-Rule Palestine 2020 2021 - Mar Sat>=24 0:00 1:00 S
|
||||
+Rule Palestine 2019 only - Oct Sat<=30 0:00 0 -
|
||||
+Rule Palestine 2020 2021 - Mar Sat<=30 0:00 1:00 S
|
||||
Rule Palestine 2020 only - Oct 24 1:00 0 -
|
||||
-Rule Palestine 2021 max - Oct Fri>=23 1:00 0 -
|
||||
-Rule Palestine 2022 max - Mar Sun>=25 0:00 1:00 S
|
||||
+Rule Palestine 2021 only - Oct 29 1:00 0 -
|
||||
+Rule Palestine 2022 only - Mar 27 0:00 1:00 S
|
||||
+Rule Palestine 2022 max - Oct Sat<=30 2:00 0 -
|
||||
+Rule Palestine 2023 max - Mar Sat<=30 2:00 1:00 S
|
||||
|
||||
# Zone NAME STDOFF RULES FORMAT [UNTIL]
|
||||
Zone Asia/Gaza 2:17:52 - LMT 1900 Oct
|
||||
diff --git a/jdk/make/data/tzdata/backward b/jdk/make/data/tzdata/backward
|
||||
index d4a29e8..7765d99 100644
|
||||
--- a/jdk/make/data/tzdata/backward
|
||||
+++ b/jdk/make/data/tzdata/backward
|
||||
@@ -113,6 +113,8 @@ Link Etc/UTC Etc/UCT
|
||||
Link Europe/London Europe/Belfast
|
||||
Link Europe/Kyiv Europe/Kiev
|
||||
Link Europe/Chisinau Europe/Tiraspol
|
||||
+Link Europe/Kyiv Europe/Uzhgorod
|
||||
+Link Europe/Kyiv Europe/Zaporozhye
|
||||
Link Europe/London GB
|
||||
Link Europe/London GB-Eire
|
||||
Link Etc/GMT GMT+0
|
||||
diff --git a/jdk/make/data/tzdata/europe b/jdk/make/data/tzdata/europe
|
||||
index f7eb7a3..9e0a538 100644
|
||||
--- a/jdk/make/data/tzdata/europe
|
||||
+++ b/jdk/make/data/tzdata/europe
|
||||
@@ -2638,10 +2638,14 @@ Zone Europe/Simferopol 2:16:24 - LMT 1880
|
||||
# From Alexander Krivenyshev (2014-03-17):
|
||||
# time change at 2:00 (2am) on March 30, 2014
|
||||
# https://vz.ru/news/2014/3/17/677464.html
|
||||
-# From Paul Eggert (2014-03-30):
|
||||
-# Simferopol and Sevastopol reportedly changed their central town clocks
|
||||
-# late the previous day, but this appears to have been ceremonial
|
||||
-# and the discrepancies are small enough to not worry about.
|
||||
+# From Tim Parenti (2022-07-01), per Paul Eggert (2014-03-30):
|
||||
+# The clocks at the railway station in Simferopol were put forward from 22:00
|
||||
+# to 24:00 the previous day in a "symbolic ceremony"; however, per
|
||||
+# contemporaneous news reports, "ordinary Crimeans [made] the daylight savings
|
||||
+# time switch at 2am" on Sunday.
|
||||
+# https://www.business-standard.com/article/pti-stories/crimea-to-set-clocks-to-russia-time-114033000014_1.html
|
||||
+# https://www.reuters.com/article/us-ukraine-crisis-crimea-time/crimea-switches-to-moscow-time-amid-incorporation-frenzy-idUKBREA2S0LT20140329
|
||||
+# https://www.bbc.com/news/av/world-europe-26806583
|
||||
2:00 EU EE%sT 2014 Mar 30 2:00
|
||||
4:00 - MSK 2014 Oct 26 2:00s
|
||||
3:00 - MSK
|
||||
@@ -3774,8 +3778,8 @@ Link Europe/Istanbul Asia/Istanbul # Istanbul is in both continents.
|
||||
# US colleague David Cochrane) are still trying to get more
|
||||
# information upon these local deviations from Kiev rules.
|
||||
#
|
||||
-# From Paul Eggert (2022-02-08):
|
||||
-# For now, assume that Ukraine's other three zones followed the same rules,
|
||||
+# From Paul Eggert (2022-08-27):
|
||||
+# For now, assume that Ukraine's zones all followed the same rules,
|
||||
# except that Crimea switched to Moscow time in 1994 as described elsewhere.
|
||||
|
||||
# From Igor Karpov, who works for the Ukrainian Ministry of Justice,
|
||||
@@ -3845,21 +3849,7 @@ Link Europe/Istanbul Asia/Istanbul # Istanbul is in both continents.
|
||||
# * Ukrainian Government's Resolution of 20.03.1992, No. 139.
|
||||
# http://www.uazakon.com/documents/date_8u/pg_grcasa.htm
|
||||
|
||||
-# From Paul Eggert (2022-04-12):
|
||||
-# As is usual in tzdb, Ukrainian zones use the most common English spellings.
|
||||
-# In particular, tzdb's name Europe/Kyiv uses the most common spelling in
|
||||
-# English for Ukraine's capital. Although tzdb's former name was Europe/Kiev,
|
||||
-# "Kyiv" is now more common due to widespread reporting of the current conflict.
|
||||
-# Conversely, tzdb continues to use the names Europe/Uzhgorod and
|
||||
-# Europe/Zaporozhye; this is similar to tzdb's use of Europe/Prague, which is
|
||||
-# certainly wrong as a transliteration of the Czech "Praha".
|
||||
-# English-language spelling of Ukrainian names is in flux, and
|
||||
-# some day "Uzhhorod" or "Zaporizhzhia" may become substantially more
|
||||
-# common in English; in the meantime, do not change these
|
||||
-# English spellings as that means less disruption for our users.
|
||||
-
|
||||
# Zone NAME STDOFF RULES FORMAT [UNTIL]
|
||||
-# This represents most of Ukraine. See above for the spelling of "Kyiv".
|
||||
Zone Europe/Kyiv 2:02:04 - LMT 1880
|
||||
2:02:04 - KMT 1924 May 2 # Kyiv Mean Time
|
||||
2:00 - EET 1930 Jun 21
|
||||
@@ -3869,34 +3859,6 @@ Zone Europe/Kyiv 2:02:04 - LMT 1880
|
||||
2:00 1:00 EEST 1991 Sep 29 3:00
|
||||
2:00 C-Eur EE%sT 1996 May 13
|
||||
2:00 EU EE%sT
|
||||
-# Transcarpathia used CET 1990/1991.
|
||||
-# "Uzhhorod" is the transliteration of the Rusyn/Ukrainian pronunciation, but
|
||||
-# "Uzhgorod" is more common in English.
|
||||
-Zone Europe/Uzhgorod 1:29:12 - LMT 1890 Oct
|
||||
- 1:00 - CET 1940
|
||||
- 1:00 C-Eur CE%sT 1944 Oct
|
||||
- 1:00 1:00 CEST 1944 Oct 26
|
||||
- 1:00 - CET 1945 Jun 29
|
||||
- 3:00 Russia MSK/MSD 1990
|
||||
- 3:00 - MSK 1990 Jul 1 2:00
|
||||
- 1:00 - CET 1991 Mar 31 3:00
|
||||
- 2:00 - EET 1992 Mar 20
|
||||
- 2:00 C-Eur EE%sT 1996 May 13
|
||||
- 2:00 EU EE%sT
|
||||
-# Zaporozh'ye and eastern Lugansk oblasts observed DST 1990/1991.
|
||||
-# "Zaporizhzhia" is the transliteration of the Ukrainian name, but
|
||||
-# "Zaporozh'ye" is more common in English. Use the common English
|
||||
-# spelling, except omit the apostrophe as it is not allowed in
|
||||
-# portable Posix file names.
|
||||
-Zone Europe/Zaporozhye 2:20:40 - LMT 1880
|
||||
- 2:20 - +0220 1924 May 2
|
||||
- 2:00 - EET 1930 Jun 21
|
||||
- 3:00 - MSK 1941 Aug 25
|
||||
- 1:00 C-Eur CE%sT 1943 Oct 25
|
||||
- 3:00 Russia MSK/MSD 1991 Mar 31 2:00
|
||||
- 2:00 E-Eur EE%sT 1992 Mar 20
|
||||
- 2:00 C-Eur EE%sT 1996 May 13
|
||||
- 2:00 EU EE%sT
|
||||
|
||||
# Vatican City
|
||||
# See Europe/Rome.
|
||||
diff --git a/jdk/make/data/tzdata/southamerica b/jdk/make/data/tzdata/southamerica
|
||||
index 13ec081..3c0e0e2 100644
|
||||
--- a/jdk/make/data/tzdata/southamerica
|
||||
+++ b/jdk/make/data/tzdata/southamerica
|
||||
@@ -1332,8 +1332,14 @@ Zone America/Rio_Branco -4:31:12 - LMT 1914
|
||||
# for America/Santiago will start on midnight of September 11th;
|
||||
# and will end on April 1st, 2023. Magallanes region (America/Punta_Arenas)
|
||||
# will keep UTC -3 "indefinitely"... This is because on September 4th
|
||||
-# we will have a voting whether to approve a new Constitution....
|
||||
-# https://www.interior.gob.cl/noticias/2022/08/09/comunicado-el-proximo-sabado-10-de-septiembre-los-relojes-se-deben-adelantar-una-hora/
|
||||
+# we will have a voting whether to approve a new Constitution.
|
||||
+#
|
||||
+# From Eduardo Romero Urra (2022-08-17):
|
||||
+# https://www.diariooficial.interior.gob.cl/publicaciones/2022/08/13/43327/01/2172567.pdf
|
||||
+#
|
||||
+# From Paul Eggert (2022-08-17):
|
||||
+# Although the presidential decree stops at fall 2026, assume that
|
||||
+# similar DST rules will continue thereafter.
|
||||
|
||||
# Rule NAME FROM TO - IN ON AT SAVE LETTER/S
|
||||
Rule Chile 1927 1931 - Sep 1 0:00 1:00 -
|
||||
diff --git a/jdk/make/data/tzdata/zone.tab b/jdk/make/data/tzdata/zone.tab
|
||||
index 51b65fa..ee02519 100644
|
||||
--- a/jdk/make/data/tzdata/zone.tab
|
||||
+++ b/jdk/make/data/tzdata/zone.tab
|
||||
@@ -424,8 +424,6 @@ TV -0831+17913 Pacific/Funafuti
|
||||
TW +2503+12130 Asia/Taipei
|
||||
TZ -0648+03917 Africa/Dar_es_Salaam
|
||||
UA +5026+03031 Europe/Kyiv Ukraine (most areas)
|
||||
-UA +4837+02218 Europe/Uzhgorod Transcarpathia
|
||||
-UA +4750+03510 Europe/Zaporozhye Zaporozhye and east Lugansk
|
||||
UG +0019+03225 Africa/Kampala
|
||||
UM +2813-17722 Pacific/Midway Midway Islands
|
||||
UM +1917+16637 Pacific/Wake Wake Island
|
||||
diff --git a/jdk/src/share/classes/sun/util/calendar/ZoneInfoFile.java b/jdk/src/share/classes/sun/util/calendar/ZoneInfoFile.java
|
||||
index 43bddd5..4b84cda 100644
|
||||
--- a/jdk/src/share/classes/sun/util/calendar/ZoneInfoFile.java
|
||||
+++ b/jdk/src/share/classes/sun/util/calendar/ZoneInfoFile.java
|
||||
@@ -573,12 +573,8 @@ public final class ZoneInfoFile {
|
||||
// we can then pass in the dom = -1, dow > 0 into ZoneInfo
|
||||
//
|
||||
// hacking, assume the >=24 is the result of ZRB optimization for
|
||||
- // "last", it works for now. From tzdata2020d this hacking
|
||||
- // will not work for Asia/Gaza and Asia/Hebron which follow
|
||||
- // Palestine DST rules.
|
||||
- if (dom < 0 || dom >= 24 &&
|
||||
- !(zoneId.equals("Asia/Gaza") ||
|
||||
- zoneId.equals("Asia/Hebron"))) {
|
||||
+ // "last", it works for now.
|
||||
+ if (dom < 0 || dom >= 24) {
|
||||
params[1] = -1;
|
||||
params[2] = toCalendarDOW[dow];
|
||||
} else {
|
||||
@@ -600,7 +596,6 @@ public final class ZoneInfoFile {
|
||||
params[7] = 0;
|
||||
} else {
|
||||
// hacking: see comment above
|
||||
- // No need of hacking for Asia/Gaza and Asia/Hebron from tz2021e
|
||||
if (dom < 0 || dom >= 24) {
|
||||
params[6] = -1;
|
||||
params[7] = toCalendarDOW[dow];
|
||||
diff --git a/jdk/test/java/util/TimeZone/TimeZoneData/VERSION b/jdk/test/java/util/TimeZone/TimeZoneData/VERSION
|
||||
index c32bee3..7147016 100644
|
||||
--- a/jdk/test/java/util/TimeZone/TimeZoneData/VERSION
|
||||
+++ b/jdk/test/java/util/TimeZone/TimeZoneData/VERSION
|
||||
@@ -1 +1 @@
|
||||
-tzdata2022c
|
||||
+tzdata2022d
|
||||
diff --git a/jdk/test/java/util/TimeZone/TimeZoneData/aliases.txt b/jdk/test/java/util/TimeZone/TimeZoneData/aliases.txt
|
||||
index a5e6428..e3ce742 100644
|
||||
--- a/jdk/test/java/util/TimeZone/TimeZoneData/aliases.txt
|
||||
+++ b/jdk/test/java/util/TimeZone/TimeZoneData/aliases.txt
|
||||
@@ -183,6 +183,8 @@ Link Etc/UTC Etc/UCT
|
||||
Link Europe/London Europe/Belfast
|
||||
Link Europe/Kyiv Europe/Kiev
|
||||
Link Europe/Chisinau Europe/Tiraspol
|
||||
+Link Europe/Kyiv Europe/Uzhgorod
|
||||
+Link Europe/Kyiv Europe/Zaporozhye
|
||||
Link Europe/London GB
|
||||
Link Europe/London GB-Eire
|
||||
Link Etc/GMT GMT+0
|
||||
diff --git a/jdk/test/java/util/TimeZone/TimeZoneData/displaynames.txt b/jdk/test/java/util/TimeZone/TimeZoneData/displaynames.txt
|
||||
index fc14853..b382395 100644
|
||||
--- a/jdk/test/java/util/TimeZone/TimeZoneData/displaynames.txt
|
||||
+++ b/jdk/test/java/util/TimeZone/TimeZoneData/displaynames.txt
|
||||
@@ -163,11 +163,9 @@ Europe/Simferopol MSK
|
||||
Europe/Sofia EET EEST
|
||||
Europe/Tallinn EET EEST
|
||||
Europe/Tirane CET CEST
|
||||
-Europe/Uzhgorod EET EEST
|
||||
Europe/Vienna CET CEST
|
||||
Europe/Vilnius EET EEST
|
||||
Europe/Warsaw CET CEST
|
||||
-Europe/Zaporozhye EET EEST
|
||||
Europe/Zurich CET CEST
|
||||
HST HST
|
||||
MET MET MEST
|
||||
diff --git a/jdk/test/sun/util/calendar/zi/TestZoneInfo310.java b/jdk/test/sun/util/calendar/zi/TestZoneInfo310.java
|
||||
index 3aad69f..c682531 100644
|
||||
--- a/jdk/test/sun/util/calendar/zi/TestZoneInfo310.java
|
||||
+++ b/jdk/test/sun/util/calendar/zi/TestZoneInfo310.java
|
||||
@@ -173,10 +173,19 @@ public class TestZoneInfo310 {
|
||||
* Temporary ignoring the failing TimeZones which are having zone
|
||||
* rules defined till year 2037 and/or above and have negative DST
|
||||
* save time in IANA tzdata. This bug is tracked via JDK-8223388.
|
||||
+ *
|
||||
+ * Tehran/Iran rule has rules beyond 2037, in which javazic assumes
|
||||
+ * to be the last year. Thus javazic's rule is based on year 2037
|
||||
+ * (Mar 20th/Sep 20th are the cutover dates), while the real rule
|
||||
+ * has year 2087 where Mar 21st/Sep 21st are the cutover dates.
|
||||
*/
|
||||
- if (zid.equals("Africa/Casablanca") || zid.equals("Africa/El_Aaiun")
|
||||
- || zid.equals("Asia/Tehran") || zid.equals("Iran")) {
|
||||
- continue;
|
||||
+ if (zid.equals("Africa/Casablanca") || // uses "Morocco" rule
|
||||
+ zid.equals("Africa/El_Aaiun") || // uses "Morocco" rule
|
||||
+ zid.equals("Asia/Tehran") || // last rule mismatch
|
||||
+ zid.equals("Asia/Gaza") || // uses "Palestine" rule
|
||||
+ zid.equals("Asia/Hebron") || // uses "Palestine" rule
|
||||
+ zid.equals("Iran")) { // last rule mismatch
|
||||
+ continue;
|
||||
}
|
||||
if (! zi.equalsTo(ziOLD)) {
|
||||
System.out.println(zi.diffsTo(ziOLD));
|
||||
diff --git a/jdk/test/sun/util/calendar/zi/tzdata/VERSION b/jdk/test/sun/util/calendar/zi/tzdata/VERSION
|
||||
index decb871..889d0e6 100644
|
||||
--- a/jdk/test/sun/util/calendar/zi/tzdata/VERSION
|
||||
+++ b/jdk/test/sun/util/calendar/zi/tzdata/VERSION
|
||||
@@ -21,4 +21,4 @@
|
||||
# or visit www.oracle.com if you need additional information or have any
|
||||
# questions.
|
||||
#
|
||||
-tzdata2022c
|
||||
+tzdata2022d
|
||||
diff --git a/jdk/test/sun/util/calendar/zi/tzdata/asia b/jdk/test/sun/util/calendar/zi/tzdata/asia
|
||||
index 6cb6d2c..1dc7d34 100644
|
||||
--- a/jdk/test/sun/util/calendar/zi/tzdata/asia
|
||||
+++ b/jdk/test/sun/util/calendar/zi/tzdata/asia
|
||||
@@ -3398,10 +3398,6 @@ Zone Asia/Karachi 4:28:12 - LMT 1907
|
||||
# The winter time in 2015 started on October 23 at 01:00.
|
||||
# https://wafa.ps/ar_page.aspx?id=CgpCdYa670694628582aCgpCdY
|
||||
# http://www.palestinecabinet.gov.ps/portal/meeting/details/27583
|
||||
-#
|
||||
-# From Paul Eggert (2019-04-10):
|
||||
-# For now, guess spring-ahead transitions are at 00:00 on the Saturday
|
||||
-# preceding March's last Sunday (i.e., Sat>=24).
|
||||
|
||||
# From P Chan (2021-10-18):
|
||||
# http://wafa.ps/Pages/Details/34701
|
||||
@@ -3418,6 +3414,18 @@ Zone Asia/Karachi 4:28:12 - LMT 1907
|
||||
# From Heba Hamad (2022-03-10):
|
||||
# summer time will begin in Palestine from Sunday 03-27-2022, 00:00 AM.
|
||||
|
||||
+# From Heba Hamad (2022-08-30):
|
||||
+# winter time will begin in Palestine from Saturday 10-29, 02:00 AM by
|
||||
+# 60 minutes backwards. Also the state of Palestine adopted the summer
|
||||
+# and winter time for the years: 2023,2024,2025,2026 ...
|
||||
+# https://mm.icann.org/pipermail/tz/attachments/20220830/9f024566/Time-0001.pdf
|
||||
+# (2022-08-31): ... the Saturday before the last Sunday in March and October
|
||||
+# at 2:00 AM ,for the years from 2023 to 2026.
|
||||
+# (2022-09-05): https://mtit.pna.ps/Site/New/1453
|
||||
+#
|
||||
+# From Paul Eggert (2022-08-31):
|
||||
+# For now, assume that this rule will also be used after 2026.
|
||||
+
|
||||
# Rule NAME FROM TO - IN ON AT SAVE LETTER/S
|
||||
Rule EgyptAsia 1957 only - May 10 0:00 1:00 S
|
||||
Rule EgyptAsia 1957 1958 - Oct 1 0:00 0 -
|
||||
@@ -3448,14 +3456,16 @@ Rule Palestine 2013 only - Sep 27 0:00 0 -
|
||||
Rule Palestine 2014 only - Oct 24 0:00 0 -
|
||||
Rule Palestine 2015 only - Mar 28 0:00 1:00 S
|
||||
Rule Palestine 2015 only - Oct 23 1:00 0 -
|
||||
-Rule Palestine 2016 2018 - Mar Sat>=24 1:00 1:00 S
|
||||
-Rule Palestine 2016 2018 - Oct Sat>=24 1:00 0 -
|
||||
+Rule Palestine 2016 2018 - Mar Sat<=30 1:00 1:00 S
|
||||
+Rule Palestine 2016 2018 - Oct Sat<=30 1:00 0 -
|
||||
Rule Palestine 2019 only - Mar 29 0:00 1:00 S
|
||||
-Rule Palestine 2019 only - Oct Sat>=24 0:00 0 -
|
||||
-Rule Palestine 2020 2021 - Mar Sat>=24 0:00 1:00 S
|
||||
+Rule Palestine 2019 only - Oct Sat<=30 0:00 0 -
|
||||
+Rule Palestine 2020 2021 - Mar Sat<=30 0:00 1:00 S
|
||||
Rule Palestine 2020 only - Oct 24 1:00 0 -
|
||||
-Rule Palestine 2021 max - Oct Fri>=23 1:00 0 -
|
||||
-Rule Palestine 2022 max - Mar Sun>=25 0:00 1:00 S
|
||||
+Rule Palestine 2021 only - Oct 29 1:00 0 -
|
||||
+Rule Palestine 2022 only - Mar 27 0:00 1:00 S
|
||||
+Rule Palestine 2022 max - Oct Sat<=30 2:00 0 -
|
||||
+Rule Palestine 2023 max - Mar Sat<=30 2:00 1:00 S
|
||||
|
||||
# Zone NAME STDOFF RULES FORMAT [UNTIL]
|
||||
Zone Asia/Gaza 2:17:52 - LMT 1900 Oct
|
||||
diff --git a/jdk/test/sun/util/calendar/zi/tzdata/backward b/jdk/test/sun/util/calendar/zi/tzdata/backward
|
||||
index d4a29e8..7765d99 100644
|
||||
--- a/jdk/test/sun/util/calendar/zi/tzdata/backward
|
||||
+++ b/jdk/test/sun/util/calendar/zi/tzdata/backward
|
||||
@@ -113,6 +113,8 @@ Link Etc/UTC Etc/UCT
|
||||
Link Europe/London Europe/Belfast
|
||||
Link Europe/Kyiv Europe/Kiev
|
||||
Link Europe/Chisinau Europe/Tiraspol
|
||||
+Link Europe/Kyiv Europe/Uzhgorod
|
||||
+Link Europe/Kyiv Europe/Zaporozhye
|
||||
Link Europe/London GB
|
||||
Link Europe/London GB-Eire
|
||||
Link Etc/GMT GMT+0
|
||||
diff --git a/jdk/test/sun/util/calendar/zi/tzdata/europe b/jdk/test/sun/util/calendar/zi/tzdata/europe
|
||||
index f7eb7a3..9e0a538 100644
|
||||
--- a/jdk/test/sun/util/calendar/zi/tzdata/europe
|
||||
+++ b/jdk/test/sun/util/calendar/zi/tzdata/europe
|
||||
@@ -2638,10 +2638,14 @@ Zone Europe/Simferopol 2:16:24 - LMT 1880
|
||||
# From Alexander Krivenyshev (2014-03-17):
|
||||
# time change at 2:00 (2am) on March 30, 2014
|
||||
# https://vz.ru/news/2014/3/17/677464.html
|
||||
-# From Paul Eggert (2014-03-30):
|
||||
-# Simferopol and Sevastopol reportedly changed their central town clocks
|
||||
-# late the previous day, but this appears to have been ceremonial
|
||||
-# and the discrepancies are small enough to not worry about.
|
||||
+# From Tim Parenti (2022-07-01), per Paul Eggert (2014-03-30):
|
||||
+# The clocks at the railway station in Simferopol were put forward from 22:00
|
||||
+# to 24:00 the previous day in a "symbolic ceremony"; however, per
|
||||
+# contemporaneous news reports, "ordinary Crimeans [made] the daylight savings
|
||||
+# time switch at 2am" on Sunday.
|
||||
+# https://www.business-standard.com/article/pti-stories/crimea-to-set-clocks-to-russia-time-114033000014_1.html
|
||||
+# https://www.reuters.com/article/us-ukraine-crisis-crimea-time/crimea-switches-to-moscow-time-amid-incorporation-frenzy-idUKBREA2S0LT20140329
|
||||
+# https://www.bbc.com/news/av/world-europe-26806583
|
||||
2:00 EU EE%sT 2014 Mar 30 2:00
|
||||
4:00 - MSK 2014 Oct 26 2:00s
|
||||
3:00 - MSK
|
||||
@@ -3774,8 +3778,8 @@ Link Europe/Istanbul Asia/Istanbul # Istanbul is in both continents.
|
||||
# US colleague David Cochrane) are still trying to get more
|
||||
# information upon these local deviations from Kiev rules.
|
||||
#
|
||||
-# From Paul Eggert (2022-02-08):
|
||||
-# For now, assume that Ukraine's other three zones followed the same rules,
|
||||
+# From Paul Eggert (2022-08-27):
|
||||
+# For now, assume that Ukraine's zones all followed the same rules,
|
||||
# except that Crimea switched to Moscow time in 1994 as described elsewhere.
|
||||
|
||||
# From Igor Karpov, who works for the Ukrainian Ministry of Justice,
|
||||
@@ -3845,21 +3849,7 @@ Link Europe/Istanbul Asia/Istanbul # Istanbul is in both continents.
|
||||
# * Ukrainian Government's Resolution of 20.03.1992, No. 139.
|
||||
# http://www.uazakon.com/documents/date_8u/pg_grcasa.htm
|
||||
|
||||
-# From Paul Eggert (2022-04-12):
|
||||
-# As is usual in tzdb, Ukrainian zones use the most common English spellings.
|
||||
-# In particular, tzdb's name Europe/Kyiv uses the most common spelling in
|
||||
-# English for Ukraine's capital. Although tzdb's former name was Europe/Kiev,
|
||||
-# "Kyiv" is now more common due to widespread reporting of the current conflict.
|
||||
-# Conversely, tzdb continues to use the names Europe/Uzhgorod and
|
||||
-# Europe/Zaporozhye; this is similar to tzdb's use of Europe/Prague, which is
|
||||
-# certainly wrong as a transliteration of the Czech "Praha".
|
||||
-# English-language spelling of Ukrainian names is in flux, and
|
||||
-# some day "Uzhhorod" or "Zaporizhzhia" may become substantially more
|
||||
-# common in English; in the meantime, do not change these
|
||||
-# English spellings as that means less disruption for our users.
|
||||
-
|
||||
# Zone NAME STDOFF RULES FORMAT [UNTIL]
|
||||
-# This represents most of Ukraine. See above for the spelling of "Kyiv".
|
||||
Zone Europe/Kyiv 2:02:04 - LMT 1880
|
||||
2:02:04 - KMT 1924 May 2 # Kyiv Mean Time
|
||||
2:00 - EET 1930 Jun 21
|
||||
@@ -3869,34 +3859,6 @@ Zone Europe/Kyiv 2:02:04 - LMT 1880
|
||||
2:00 1:00 EEST 1991 Sep 29 3:00
|
||||
2:00 C-Eur EE%sT 1996 May 13
|
||||
2:00 EU EE%sT
|
||||
-# Transcarpathia used CET 1990/1991.
|
||||
-# "Uzhhorod" is the transliteration of the Rusyn/Ukrainian pronunciation, but
|
||||
-# "Uzhgorod" is more common in English.
|
||||
-Zone Europe/Uzhgorod 1:29:12 - LMT 1890 Oct
|
||||
- 1:00 - CET 1940
|
||||
- 1:00 C-Eur CE%sT 1944 Oct
|
||||
- 1:00 1:00 CEST 1944 Oct 26
|
||||
- 1:00 - CET 1945 Jun 29
|
||||
- 3:00 Russia MSK/MSD 1990
|
||||
- 3:00 - MSK 1990 Jul 1 2:00
|
||||
- 1:00 - CET 1991 Mar 31 3:00
|
||||
- 2:00 - EET 1992 Mar 20
|
||||
- 2:00 C-Eur EE%sT 1996 May 13
|
||||
- 2:00 EU EE%sT
|
||||
-# Zaporozh'ye and eastern Lugansk oblasts observed DST 1990/1991.
|
||||
-# "Zaporizhzhia" is the transliteration of the Ukrainian name, but
|
||||
-# "Zaporozh'ye" is more common in English. Use the common English
|
||||
-# spelling, except omit the apostrophe as it is not allowed in
|
||||
-# portable Posix file names.
|
||||
-Zone Europe/Zaporozhye 2:20:40 - LMT 1880
|
||||
- 2:20 - +0220 1924 May 2
|
||||
- 2:00 - EET 1930 Jun 21
|
||||
- 3:00 - MSK 1941 Aug 25
|
||||
- 1:00 C-Eur CE%sT 1943 Oct 25
|
||||
- 3:00 Russia MSK/MSD 1991 Mar 31 2:00
|
||||
- 2:00 E-Eur EE%sT 1992 Mar 20
|
||||
- 2:00 C-Eur EE%sT 1996 May 13
|
||||
- 2:00 EU EE%sT
|
||||
|
||||
# Vatican City
|
||||
# See Europe/Rome.
|
||||
diff --git a/jdk/test/sun/util/calendar/zi/tzdata/southamerica b/jdk/test/sun/util/calendar/zi/tzdata/southamerica
|
||||
index 13ec081..3c0e0e2 100644
|
||||
--- a/jdk/test/sun/util/calendar/zi/tzdata/southamerica
|
||||
+++ b/jdk/test/sun/util/calendar/zi/tzdata/southamerica
|
||||
@@ -1332,8 +1332,14 @@ Zone America/Rio_Branco -4:31:12 - LMT 1914
|
||||
# for America/Santiago will start on midnight of September 11th;
|
||||
# and will end on April 1st, 2023. Magallanes region (America/Punta_Arenas)
|
||||
# will keep UTC -3 "indefinitely"... This is because on September 4th
|
||||
-# we will have a voting whether to approve a new Constitution....
|
||||
-# https://www.interior.gob.cl/noticias/2022/08/09/comunicado-el-proximo-sabado-10-de-septiembre-los-relojes-se-deben-adelantar-una-hora/
|
||||
+# we will have a voting whether to approve a new Constitution.
|
||||
+#
|
||||
+# From Eduardo Romero Urra (2022-08-17):
|
||||
+# https://www.diariooficial.interior.gob.cl/publicaciones/2022/08/13/43327/01/2172567.pdf
|
||||
+#
|
||||
+# From Paul Eggert (2022-08-17):
|
||||
+# Although the presidential decree stops at fall 2026, assume that
|
||||
+# similar DST rules will continue thereafter.
|
||||
|
||||
# Rule NAME FROM TO - IN ON AT SAVE LETTER/S
|
||||
Rule Chile 1927 1931 - Sep 1 0:00 1:00 -
|
||||
diff --git a/jdk/test/sun/util/calendar/zi/tzdata/zone.tab b/jdk/test/sun/util/calendar/zi/tzdata/zone.tab
|
||||
index 51b65fa..ee02519 100644
|
||||
--- a/jdk/test/sun/util/calendar/zi/tzdata/zone.tab
|
||||
+++ b/jdk/test/sun/util/calendar/zi/tzdata/zone.tab
|
||||
@@ -424,8 +424,6 @@ TV -0831+17913 Pacific/Funafuti
|
||||
TW +2503+12130 Asia/Taipei
|
||||
TZ -0648+03917 Africa/Dar_es_Salaam
|
||||
UA +5026+03031 Europe/Kyiv Ukraine (most areas)
|
||||
-UA +4837+02218 Europe/Uzhgorod Transcarpathia
|
||||
-UA +4750+03510 Europe/Zaporozhye Zaporozhye and east Lugansk
|
||||
UG +0019+03225 Africa/Kampala
|
||||
UM +2813-17722 Pacific/Midway Midway Islands
|
||||
UM +1917+16637 Pacific/Wake Wake Island
|
||||
--
|
||||
1.8.3.1
|
||||
File diff suppressed because it is too large
Load Diff
@ -1,826 +0,0 @@
|
||||
From d31b6120315ecc095ddffa7a5fb92c53bb70bc3b Mon Sep 17 00:00:00 2001
|
||||
From: eapen <zhangyipeng7@huawei.com>
|
||||
Date: Wed, 30 Nov 2022 14:57:07 +0000
|
||||
Subject: [PATCH 08/33] I68TO2: 8296241: (tz) Update Timezone Data to 2022e
|
||||
---
|
||||
jdk/make/data/tzdata/VERSION | 2 +-
|
||||
jdk/make/data/tzdata/asia | 36 +++++++---
|
||||
jdk/make/data/tzdata/europe | 2 +-
|
||||
jdk/make/data/tzdata/northamerica | 84 ++++++++++------------
|
||||
jdk/test/java/util/TimeZone/TimeZoneData/VERSION | 2 +-
|
||||
.../util/TimeZone/TimeZoneData/displaynames.txt | 2 -
|
||||
jdk/test/sun/util/calendar/zi/tzdata/VERSION | 2 +-
|
||||
jdk/test/sun/util/calendar/zi/tzdata/asia | 36 +++++++---
|
||||
jdk/test/sun/util/calendar/zi/tzdata/europe | 2 +-
|
||||
jdk/test/sun/util/calendar/zi/tzdata/northamerica | 84 ++++++++++------------
|
||||
10 files changed, 135 insertions(+), 117 deletions(-)
|
||||
|
||||
diff --git a/jdk/make/data/tzdata/VERSION b/jdk/make/data/tzdata/VERSION
|
||||
index 889d0e6..b8cb36e 100644
|
||||
--- a/jdk/make/data/tzdata/VERSION
|
||||
+++ b/jdk/make/data/tzdata/VERSION
|
||||
@@ -21,4 +21,4 @@
|
||||
# or visit www.oracle.com if you need additional information or have any
|
||||
# questions.
|
||||
#
|
||||
-tzdata2022d
|
||||
+tzdata2022e
|
||||
diff --git a/jdk/make/data/tzdata/asia b/jdk/make/data/tzdata/asia
|
||||
index 1dc7d34..f1771e4 100644
|
||||
--- a/jdk/make/data/tzdata/asia
|
||||
+++ b/jdk/make/data/tzdata/asia
|
||||
@@ -2254,6 +2254,17 @@ Zone Asia/Tokyo 9:18:59 - LMT 1887 Dec 31 15:00u
|
||||
# From the Arabic version, it seems to say it would be at midnight
|
||||
# (assume 24:00) on the last Thursday in February, starting from 2022.
|
||||
|
||||
+# From Issam Al-Zuwairi (2022-10-05):
|
||||
+# The Council of Ministers in Jordan decided Wednesday 5th October 2022,
|
||||
+# that daylight saving time (DST) will be throughout the year....
|
||||
+#
|
||||
+# From Brian Inglis (2022-10-06):
|
||||
+# https://petra.gov.jo/Include/InnerPage.jsp?ID=45567&lang=en&name=en_news
|
||||
+#
|
||||
+# From Paul Eggert (2022-10-05):
|
||||
+# Like Syria, model this as a transition from EEST +03 (DST) to plain +03
|
||||
+# (non-DST) at the point where DST would otherwise have ended.
|
||||
+
|
||||
# Rule NAME FROM TO - IN ON AT SAVE LETTER/S
|
||||
Rule Jordan 1973 only - Jun 6 0:00 1:00 S
|
||||
Rule Jordan 1973 1975 - Oct 1 0:00 0 -
|
||||
@@ -2285,11 +2296,12 @@ Rule Jordan 2005 only - Sep lastFri 0:00s 0 -
|
||||
Rule Jordan 2006 2011 - Oct lastFri 0:00s 0 -
|
||||
Rule Jordan 2013 only - Dec 20 0:00 0 -
|
||||
Rule Jordan 2014 2021 - Mar lastThu 24:00 1:00 S
|
||||
-Rule Jordan 2014 max - Oct lastFri 0:00s 0 -
|
||||
-Rule Jordan 2022 max - Feb lastThu 24:00 1:00 S
|
||||
+Rule Jordan 2014 2022 - Oct lastFri 0:00s 0 -
|
||||
+Rule Jordan 2022 only - Feb lastThu 24:00 1:00 S
|
||||
# Zone NAME STDOFF RULES FORMAT [UNTIL]
|
||||
Zone Asia/Amman 2:23:44 - LMT 1931
|
||||
- 2:00 Jordan EE%sT
|
||||
+ 2:00 Jordan EE%sT 2022 Oct 28 0:00s
|
||||
+ 3:00 - +03
|
||||
|
||||
|
||||
# Kazakhstan
|
||||
@@ -3838,19 +3850,27 @@ Rule Syria 2007 only - Nov Fri>=1 0:00 0 -
|
||||
# Our brief summary:
|
||||
# https://www.timeanddate.com/news/time/syria-dst-2012.html
|
||||
|
||||
-# From Arthur David Olson (2012-03-27):
|
||||
-# Assume last Friday in March going forward XXX.
|
||||
+# From Steffen Thorsen (2022-10-05):
|
||||
+# Syria is adopting year-round DST, starting this autumn....
|
||||
+# From https://www.enabbaladi.net/archives/607812
|
||||
+# "This [the decision] came after the weekly government meeting today,
|
||||
+# Tuesday 4 October ..."
|
||||
+#
|
||||
+# From Paul Eggert (2022-10-05):
|
||||
+# Like Jordan, model this as a transition from EEST +03 (DST) to plain +03
|
||||
+# (non-DST) at the point where DST would otherwise have ended.
|
||||
|
||||
Rule Syria 2008 only - Apr Fri>=1 0:00 1:00 S
|
||||
Rule Syria 2008 only - Nov 1 0:00 0 -
|
||||
Rule Syria 2009 only - Mar lastFri 0:00 1:00 S
|
||||
Rule Syria 2010 2011 - Apr Fri>=1 0:00 1:00 S
|
||||
-Rule Syria 2012 max - Mar lastFri 0:00 1:00 S
|
||||
-Rule Syria 2009 max - Oct lastFri 0:00 0 -
|
||||
+Rule Syria 2012 2022 - Mar lastFri 0:00 1:00 S
|
||||
+Rule Syria 2009 2022 - Oct lastFri 0:00 0 -
|
||||
|
||||
# Zone NAME STDOFF RULES FORMAT [UNTIL]
|
||||
Zone Asia/Damascus 2:25:12 - LMT 1920 # Dimashq
|
||||
- 2:00 Syria EE%sT
|
||||
+ 2:00 Syria EE%sT 2022 Oct 28 0:00
|
||||
+ 3:00 - +03
|
||||
|
||||
# Tajikistan
|
||||
# From Shanks & Pottenger.
|
||||
diff --git a/jdk/make/data/tzdata/europe b/jdk/make/data/tzdata/europe
|
||||
index 9e0a538..930cede 100644
|
||||
--- a/jdk/make/data/tzdata/europe
|
||||
+++ b/jdk/make/data/tzdata/europe
|
||||
@@ -3417,7 +3417,7 @@ Zone Europe/Madrid -0:14:44 - LMT 1901 Jan 1 0:00u
|
||||
0:00 Spain WE%sT 1940 Mar 16 23:00
|
||||
1:00 Spain CE%sT 1979
|
||||
1:00 EU CE%sT
|
||||
-Zone Africa/Ceuta -0:21:16 - LMT 1900 Dec 31 23:38:44
|
||||
+Zone Africa/Ceuta -0:21:16 - LMT 1901 Jan 1 0:00u
|
||||
0:00 - WET 1918 May 6 23:00
|
||||
0:00 1:00 WEST 1918 Oct 7 23:00
|
||||
0:00 - WET 1924
|
||||
diff --git a/jdk/make/data/tzdata/northamerica b/jdk/make/data/tzdata/northamerica
|
||||
index 114cef1..ce4ee74 100644
|
||||
--- a/jdk/make/data/tzdata/northamerica
|
||||
+++ b/jdk/make/data/tzdata/northamerica
|
||||
@@ -462,7 +462,7 @@ Rule Chicago 1922 1966 - Apr lastSun 2:00 1:00 D
|
||||
Rule Chicago 1922 1954 - Sep lastSun 2:00 0 S
|
||||
Rule Chicago 1955 1966 - Oct lastSun 2:00 0 S
|
||||
# Zone NAME STDOFF RULES FORMAT [UNTIL]
|
||||
-Zone America/Chicago -5:50:36 - LMT 1883 Nov 18 12:09:24
|
||||
+Zone America/Chicago -5:50:36 - LMT 1883 Nov 18 18:00u
|
||||
-6:00 US C%sT 1920
|
||||
-6:00 Chicago C%sT 1936 Mar 1 2:00
|
||||
-5:00 - EST 1936 Nov 15 2:00
|
||||
@@ -471,7 +471,7 @@ Zone America/Chicago -5:50:36 - LMT 1883 Nov 18 12:09:24
|
||||
-6:00 Chicago C%sT 1967
|
||||
-6:00 US C%sT
|
||||
# Oliver County, ND switched from mountain to central time on 1992-10-25.
|
||||
-Zone America/North_Dakota/Center -6:45:12 - LMT 1883 Nov 18 12:14:48
|
||||
+Zone America/North_Dakota/Center -6:45:12 - LMT 1883 Nov 18 19:00u
|
||||
-7:00 US M%sT 1992 Oct 25 2:00
|
||||
-6:00 US C%sT
|
||||
# Morton County, ND, switched from mountain to central time on
|
||||
@@ -481,7 +481,7 @@ Zone America/North_Dakota/Center -6:45:12 - LMT 1883 Nov 18 12:14:48
|
||||
# Jones, Mellette, and Todd Counties in South Dakota;
|
||||
# but in practice these other counties were already observing central time.
|
||||
# See <http://www.epa.gov/fedrgstr/EPA-IMPACT/2003/October/Day-28/i27056.htm>.
|
||||
-Zone America/North_Dakota/New_Salem -6:45:39 - LMT 1883 Nov 18 12:14:21
|
||||
+Zone America/North_Dakota/New_Salem -6:45:39 - LMT 1883 Nov 18 19:00u
|
||||
-7:00 US M%sT 2003 Oct 26 2:00
|
||||
-6:00 US C%sT
|
||||
|
||||
@@ -498,7 +498,7 @@ Zone America/North_Dakota/New_Salem -6:45:39 - LMT 1883 Nov 18 12:14:21
|
||||
# largest city in Mercer County). Google Maps places Beulah's city hall
|
||||
# at 47° 15' 51" N, 101° 46' 40" W, which yields an offset of 6h47'07".
|
||||
|
||||
-Zone America/North_Dakota/Beulah -6:47:07 - LMT 1883 Nov 18 12:12:53
|
||||
+Zone America/North_Dakota/Beulah -6:47:07 - LMT 1883 Nov 18 19:00u
|
||||
-7:00 US M%sT 2010 Nov 7 2:00
|
||||
-6:00 US C%sT
|
||||
|
||||
@@ -530,7 +530,7 @@ Rule Denver 1921 only - May 22 2:00 0 S
|
||||
Rule Denver 1965 1966 - Apr lastSun 2:00 1:00 D
|
||||
Rule Denver 1965 1966 - Oct lastSun 2:00 0 S
|
||||
# Zone NAME STDOFF RULES FORMAT [UNTIL]
|
||||
-Zone America/Denver -6:59:56 - LMT 1883 Nov 18 12:00:04
|
||||
+Zone America/Denver -6:59:56 - LMT 1883 Nov 18 19:00u
|
||||
-7:00 US M%sT 1920
|
||||
-7:00 Denver M%sT 1942
|
||||
-7:00 US M%sT 1946
|
||||
@@ -583,7 +583,7 @@ Rule CA 1950 1966 - Apr lastSun 1:00 1:00 D
|
||||
Rule CA 1950 1961 - Sep lastSun 2:00 0 S
|
||||
Rule CA 1962 1966 - Oct lastSun 2:00 0 S
|
||||
# Zone NAME STDOFF RULES FORMAT [UNTIL]
|
||||
-Zone America/Los_Angeles -7:52:58 - LMT 1883 Nov 18 12:07:02
|
||||
+Zone America/Los_Angeles -7:52:58 - LMT 1883 Nov 18 20:00u
|
||||
-8:00 US P%sT 1946
|
||||
-8:00 CA P%sT 1967
|
||||
-8:00 US P%sT
|
||||
@@ -845,7 +845,7 @@ Zone Pacific/Honolulu -10:31:26 - LMT 1896 Jan 13 12:00
|
||||
# Go with the Arizona State Library instead.
|
||||
|
||||
# Zone NAME STDOFF RULES FORMAT [UNTIL]
|
||||
-Zone America/Phoenix -7:28:18 - LMT 1883 Nov 18 11:31:42
|
||||
+Zone America/Phoenix -7:28:18 - LMT 1883 Nov 18 19:00u
|
||||
-7:00 US M%sT 1944 Jan 1 0:01
|
||||
-7:00 - MST 1944 Apr 1 0:01
|
||||
-7:00 US M%sT 1944 Oct 1 0:01
|
||||
@@ -873,7 +873,7 @@ Link America/Phoenix America/Creston
|
||||
# switched four weeks late in 1974.
|
||||
#
|
||||
# Zone NAME STDOFF RULES FORMAT [UNTIL]
|
||||
-Zone America/Boise -7:44:49 - LMT 1883 Nov 18 12:15:11
|
||||
+Zone America/Boise -7:44:49 - LMT 1883 Nov 18 20:00u
|
||||
-8:00 US P%sT 1923 May 13 2:00
|
||||
-7:00 US M%sT 1974
|
||||
-7:00 - MST 1974 Feb 3 2:00
|
||||
@@ -945,7 +945,7 @@ Rule Indianapolis 1941 only - Jun 22 2:00 1:00 D
|
||||
Rule Indianapolis 1941 1954 - Sep lastSun 2:00 0 S
|
||||
Rule Indianapolis 1946 1954 - Apr lastSun 2:00 1:00 D
|
||||
# Zone NAME STDOFF RULES FORMAT [UNTIL]
|
||||
-Zone America/Indiana/Indianapolis -5:44:38 - LMT 1883 Nov 18 12:15:22
|
||||
+Zone America/Indiana/Indianapolis -5:44:38 - LMT 1883 Nov 18 18:00u
|
||||
-6:00 US C%sT 1920
|
||||
-6:00 Indianapolis C%sT 1942
|
||||
-6:00 US C%sT 1946
|
||||
@@ -965,7 +965,7 @@ Rule Marengo 1951 only - Sep lastSun 2:00 0 S
|
||||
Rule Marengo 1954 1960 - Apr lastSun 2:00 1:00 D
|
||||
Rule Marengo 1954 1960 - Sep lastSun 2:00 0 S
|
||||
# Zone NAME STDOFF RULES FORMAT [UNTIL]
|
||||
-Zone America/Indiana/Marengo -5:45:23 - LMT 1883 Nov 18 12:14:37
|
||||
+Zone America/Indiana/Marengo -5:45:23 - LMT 1883 Nov 18 18:00u
|
||||
-6:00 US C%sT 1951
|
||||
-6:00 Marengo C%sT 1961 Apr 30 2:00
|
||||
-5:00 - EST 1969
|
||||
@@ -989,7 +989,7 @@ Rule Vincennes 1960 only - Oct lastSun 2:00 0 S
|
||||
Rule Vincennes 1961 only - Sep lastSun 2:00 0 S
|
||||
Rule Vincennes 1962 1963 - Oct lastSun 2:00 0 S
|
||||
# Zone NAME STDOFF RULES FORMAT [UNTIL]
|
||||
-Zone America/Indiana/Vincennes -5:50:07 - LMT 1883 Nov 18 12:09:53
|
||||
+Zone America/Indiana/Vincennes -5:50:07 - LMT 1883 Nov 18 18:00u
|
||||
-6:00 US C%sT 1946
|
||||
-6:00 Vincennes C%sT 1964 Apr 26 2:00
|
||||
-5:00 - EST 1969
|
||||
@@ -1009,7 +1009,7 @@ Rule Perry 1955 1960 - Sep lastSun 2:00 0 S
|
||||
Rule Perry 1956 1963 - Apr lastSun 2:00 1:00 D
|
||||
Rule Perry 1961 1963 - Oct lastSun 2:00 0 S
|
||||
# Zone NAME STDOFF RULES FORMAT [UNTIL]
|
||||
-Zone America/Indiana/Tell_City -5:47:03 - LMT 1883 Nov 18 12:12:57
|
||||
+Zone America/Indiana/Tell_City -5:47:03 - LMT 1883 Nov 18 18:00u
|
||||
-6:00 US C%sT 1946
|
||||
-6:00 Perry C%sT 1964 Apr 26 2:00
|
||||
-5:00 - EST 1967 Oct 29 2:00
|
||||
@@ -1026,7 +1026,7 @@ Rule Pike 1955 1960 - Sep lastSun 2:00 0 S
|
||||
Rule Pike 1956 1964 - Apr lastSun 2:00 1:00 D
|
||||
Rule Pike 1961 1964 - Oct lastSun 2:00 0 S
|
||||
# Zone NAME STDOFF RULES FORMAT [UNTIL]
|
||||
-Zone America/Indiana/Petersburg -5:49:07 - LMT 1883 Nov 18 12:10:53
|
||||
+Zone America/Indiana/Petersburg -5:49:07 - LMT 1883 Nov 18 18:00u
|
||||
-6:00 US C%sT 1955
|
||||
-6:00 Pike C%sT 1965 Apr 25 2:00
|
||||
-5:00 - EST 1966 Oct 30 2:00
|
||||
@@ -1048,7 +1048,7 @@ Rule Starke 1955 1956 - Oct lastSun 2:00 0 S
|
||||
Rule Starke 1957 1958 - Sep lastSun 2:00 0 S
|
||||
Rule Starke 1959 1961 - Oct lastSun 2:00 0 S
|
||||
# Zone NAME STDOFF RULES FORMAT [UNTIL]
|
||||
-Zone America/Indiana/Knox -5:46:30 - LMT 1883 Nov 18 12:13:30
|
||||
+Zone America/Indiana/Knox -5:46:30 - LMT 1883 Nov 18 18:00u
|
||||
-6:00 US C%sT 1947
|
||||
-6:00 Starke C%sT 1962 Apr 29 2:00
|
||||
-5:00 - EST 1963 Oct 27 2:00
|
||||
@@ -1064,7 +1064,7 @@ Rule Pulaski 1946 1954 - Sep lastSun 2:00 0 S
|
||||
Rule Pulaski 1955 1956 - Oct lastSun 2:00 0 S
|
||||
Rule Pulaski 1957 1960 - Sep lastSun 2:00 0 S
|
||||
# Zone NAME STDOFF RULES FORMAT [UNTIL]
|
||||
-Zone America/Indiana/Winamac -5:46:25 - LMT 1883 Nov 18 12:13:35
|
||||
+Zone America/Indiana/Winamac -5:46:25 - LMT 1883 Nov 18 18:00u
|
||||
-6:00 US C%sT 1946
|
||||
-6:00 Pulaski C%sT 1961 Apr 30 2:00
|
||||
-5:00 - EST 1969
|
||||
@@ -1075,7 +1075,7 @@ Zone America/Indiana/Winamac -5:46:25 - LMT 1883 Nov 18 12:13:35
|
||||
#
|
||||
# Switzerland County, Indiana, did not observe DST from 1973 through 2005.
|
||||
# Zone NAME STDOFF RULES FORMAT [UNTIL]
|
||||
-Zone America/Indiana/Vevay -5:40:16 - LMT 1883 Nov 18 12:19:44
|
||||
+Zone America/Indiana/Vevay -5:40:16 - LMT 1883 Nov 18 18:00u
|
||||
-6:00 US C%sT 1954 Apr 25 2:00
|
||||
-5:00 - EST 1969
|
||||
-5:00 US E%sT 1973
|
||||
@@ -1111,7 +1111,7 @@ Rule Louisville 1950 1961 - Apr lastSun 2:00 1:00 D
|
||||
Rule Louisville 1950 1955 - Sep lastSun 2:00 0 S
|
||||
Rule Louisville 1956 1961 - Oct lastSun 2:00 0 S
|
||||
# Zone NAME STDOFF RULES FORMAT [UNTIL]
|
||||
-Zone America/Kentucky/Louisville -5:43:02 - LMT 1883 Nov 18 12:16:58
|
||||
+Zone America/Kentucky/Louisville -5:43:02 - LMT 1883 Nov 18 18:00u
|
||||
-6:00 US C%sT 1921
|
||||
-6:00 Louisville C%sT 1942
|
||||
-6:00 US C%sT 1946
|
||||
@@ -1145,7 +1145,7 @@ Zone America/Kentucky/Louisville -5:43:02 - LMT 1883 Nov 18 12:16:58
|
||||
# Federal Register 65, 160 (2000-08-17), pp 50154-50158.
|
||||
# https://www.gpo.gov/fdsys/pkg/FR-2000-08-17/html/00-20854.htm
|
||||
#
|
||||
-Zone America/Kentucky/Monticello -5:39:24 - LMT 1883 Nov 18 12:20:36
|
||||
+Zone America/Kentucky/Monticello -5:39:24 - LMT 1883 Nov 18 18:00u
|
||||
-6:00 US C%sT 1946
|
||||
-6:00 - CST 1968
|
||||
-6:00 US C%sT 2000 Oct 29 2:00
|
||||
@@ -2640,6 +2640,8 @@ Zone America/Dawson -9:17:40 - LMT 1900 Aug 20
|
||||
# longitude they are located at.
|
||||
|
||||
# Rule NAME FROM TO - IN ON AT SAVE LETTER/S
|
||||
+Rule Mexico 1931 only - May 1 23:00 1:00 D
|
||||
+Rule Mexico 1931 only - Oct 1 0:00 0 S
|
||||
Rule Mexico 1939 only - Feb 5 0:00 1:00 D
|
||||
Rule Mexico 1939 only - Jun 25 0:00 0 S
|
||||
Rule Mexico 1940 only - Dec 9 0:00 1:00 D
|
||||
@@ -2656,13 +2658,13 @@ Rule Mexico 2002 max - Apr Sun>=1 2:00 1:00 D
|
||||
Rule Mexico 2002 max - Oct lastSun 2:00 0 S
|
||||
# Zone NAME STDOFF RULES FORMAT [UNTIL]
|
||||
# Quintana Roo; represented by Cancún
|
||||
-Zone America/Cancun -5:47:04 - LMT 1922 Jan 1 0:12:56
|
||||
+Zone America/Cancun -5:47:04 - LMT 1922 Jan 1 6:00u
|
||||
-6:00 - CST 1981 Dec 23
|
||||
-5:00 Mexico E%sT 1998 Aug 2 2:00
|
||||
-6:00 Mexico C%sT 2015 Feb 1 2:00
|
||||
-5:00 - EST
|
||||
# Campeche, Yucatán; represented by Mérida
|
||||
-Zone America/Merida -5:58:28 - LMT 1922 Jan 1 0:01:32
|
||||
+Zone America/Merida -5:58:28 - LMT 1922 Jan 1 6:00u
|
||||
-6:00 - CST 1981 Dec 23
|
||||
-5:00 - EST 1982 Dec 2
|
||||
-6:00 Mexico C%sT
|
||||
@@ -2676,23 +2678,21 @@ Zone America/Merida -5:58:28 - LMT 1922 Jan 1 0:01:32
|
||||
# See: Inicia mañana Horario de Verano en zona fronteriza, El Universal,
|
||||
# 2016-03-12
|
||||
# http://www.eluniversal.com.mx/articulo/estados/2016/03/12/inicia-manana-horario-de-verano-en-zona-fronteriza
|
||||
-Zone America/Matamoros -6:40:00 - LMT 1921 Dec 31 23:20:00
|
||||
+Zone America/Matamoros -6:30:00 - LMT 1922 Jan 1 6:00u
|
||||
-6:00 - CST 1988
|
||||
-6:00 US C%sT 1989
|
||||
-6:00 Mexico C%sT 2010
|
||||
-6:00 US C%sT
|
||||
# Durango; Coahuila, Nuevo León, Tamaulipas (away from US border)
|
||||
-Zone America/Monterrey -6:41:16 - LMT 1921 Dec 31 23:18:44
|
||||
+Zone America/Monterrey -6:41:16 - LMT 1922 Jan 1 6:00u
|
||||
-6:00 - CST 1988
|
||||
-6:00 US C%sT 1989
|
||||
-6:00 Mexico C%sT
|
||||
# Central Mexico
|
||||
-Zone America/Mexico_City -6:36:36 - LMT 1922 Jan 1 0:23:24
|
||||
+Zone America/Mexico_City -6:36:36 - LMT 1922 Jan 1 7:00u
|
||||
-7:00 - MST 1927 Jun 10 23:00
|
||||
-6:00 - CST 1930 Nov 15
|
||||
- -7:00 - MST 1931 May 1 23:00
|
||||
- -6:00 - CST 1931 Oct
|
||||
- -7:00 - MST 1932 Apr 1
|
||||
+ -7:00 Mexico M%sT 1932 Apr 1
|
||||
-6:00 Mexico C%sT 2001 Sep 30 2:00
|
||||
-6:00 - CST 2002 Feb 20
|
||||
-6:00 Mexico C%sT
|
||||
@@ -2700,35 +2700,29 @@ Zone America/Mexico_City -6:36:36 - LMT 1922 Jan 1 0:23:24
|
||||
# This includes the municipalities of Janos, Ascensión, Juárez, Guadalupe,
|
||||
# Práxedis G Guerrero, Coyame del Sotol, Ojinaga, and Manuel Benavides.
|
||||
# (See the 2016-03-12 El Universal source mentioned above.)
|
||||
-Zone America/Ojinaga -6:57:40 - LMT 1922 Jan 1 0:02:20
|
||||
+Zone America/Ojinaga -6:57:40 - LMT 1922 Jan 1 7:00u
|
||||
-7:00 - MST 1927 Jun 10 23:00
|
||||
-6:00 - CST 1930 Nov 15
|
||||
- -7:00 - MST 1931 May 1 23:00
|
||||
- -6:00 - CST 1931 Oct
|
||||
- -7:00 - MST 1932 Apr 1
|
||||
+ -7:00 Mexico M%sT 1932 Apr 1
|
||||
-6:00 - CST 1996
|
||||
-6:00 Mexico C%sT 1998
|
||||
-6:00 - CST 1998 Apr Sun>=1 3:00
|
||||
-7:00 Mexico M%sT 2010
|
||||
-7:00 US M%sT
|
||||
# Chihuahua (away from US border)
|
||||
-Zone America/Chihuahua -7:04:20 - LMT 1921 Dec 31 23:55:40
|
||||
+Zone America/Chihuahua -7:04:20 - LMT 1922 Jan 1 7:00u
|
||||
-7:00 - MST 1927 Jun 10 23:00
|
||||
-6:00 - CST 1930 Nov 15
|
||||
- -7:00 - MST 1931 May 1 23:00
|
||||
- -6:00 - CST 1931 Oct
|
||||
- -7:00 - MST 1932 Apr 1
|
||||
+ -7:00 Mexico M%sT 1932 Apr 1
|
||||
-6:00 - CST 1996
|
||||
-6:00 Mexico C%sT 1998
|
||||
-6:00 - CST 1998 Apr Sun>=1 3:00
|
||||
-7:00 Mexico M%sT
|
||||
# Sonora
|
||||
-Zone America/Hermosillo -7:23:52 - LMT 1921 Dec 31 23:36:08
|
||||
+Zone America/Hermosillo -7:23:52 - LMT 1922 Jan 1 7:00u
|
||||
-7:00 - MST 1927 Jun 10 23:00
|
||||
-6:00 - CST 1930 Nov 15
|
||||
- -7:00 - MST 1931 May 1 23:00
|
||||
- -6:00 - CST 1931 Oct
|
||||
- -7:00 - MST 1932 Apr 1
|
||||
+ -7:00 Mexico M%sT 1932 Apr 1
|
||||
-6:00 - CST 1942 Apr 24
|
||||
-7:00 - MST 1949 Jan 14
|
||||
-8:00 - PST 1970
|
||||
@@ -2763,24 +2757,20 @@ Zone America/Hermosillo -7:23:52 - LMT 1921 Dec 31 23:36:08
|
||||
# Use "Bahia_Banderas" to keep the name to fourteen characters.
|
||||
|
||||
# Mazatlán
|
||||
-Zone America/Mazatlan -7:05:40 - LMT 1921 Dec 31 23:54:20
|
||||
+Zone America/Mazatlan -7:05:40 - LMT 1922 Jan 1 7:00u
|
||||
-7:00 - MST 1927 Jun 10 23:00
|
||||
-6:00 - CST 1930 Nov 15
|
||||
- -7:00 - MST 1931 May 1 23:00
|
||||
- -6:00 - CST 1931 Oct
|
||||
- -7:00 - MST 1932 Apr 1
|
||||
+ -7:00 Mexico M%sT 1932 Apr 1
|
||||
-6:00 - CST 1942 Apr 24
|
||||
-7:00 - MST 1949 Jan 14
|
||||
-8:00 - PST 1970
|
||||
-7:00 Mexico M%sT
|
||||
|
||||
# Bahía de Banderas
|
||||
-Zone America/Bahia_Banderas -7:01:00 - LMT 1921 Dec 31 23:59:00
|
||||
+Zone America/Bahia_Banderas -7:01:00 - LMT 1922 Jan 1 7:00u
|
||||
-7:00 - MST 1927 Jun 10 23:00
|
||||
-6:00 - CST 1930 Nov 15
|
||||
- -7:00 - MST 1931 May 1 23:00
|
||||
- -6:00 - CST 1931 Oct
|
||||
- -7:00 - MST 1932 Apr 1
|
||||
+ -7:00 Mexico M%sT 1932 Apr 1
|
||||
-6:00 - CST 1942 Apr 24
|
||||
-7:00 - MST 1949 Jan 14
|
||||
-8:00 - PST 1970
|
||||
@@ -2788,7 +2778,7 @@ Zone America/Bahia_Banderas -7:01:00 - LMT 1921 Dec 31 23:59:00
|
||||
-6:00 Mexico C%sT
|
||||
|
||||
# Baja California
|
||||
-Zone America/Tijuana -7:48:04 - LMT 1922 Jan 1 0:11:56
|
||||
+Zone America/Tijuana -7:48:04 - LMT 1922 Jan 1 7:00u
|
||||
-7:00 - MST 1924
|
||||
-8:00 - PST 1927 Jun 10 23:00
|
||||
-7:00 - MST 1930 Nov 15
|
||||
diff --git a/jdk/test/java/util/TimeZone/TimeZoneData/VERSION b/jdk/test/java/util/TimeZone/TimeZoneData/VERSION
|
||||
index 7147016..0cad939 100644
|
||||
--- a/jdk/test/java/util/TimeZone/TimeZoneData/VERSION
|
||||
+++ b/jdk/test/java/util/TimeZone/TimeZoneData/VERSION
|
||||
@@ -1 +1 @@
|
||||
-tzdata2022d
|
||||
+tzdata2022e
|
||||
diff --git a/jdk/test/java/util/TimeZone/TimeZoneData/displaynames.txt b/jdk/test/java/util/TimeZone/TimeZoneData/displaynames.txt
|
||||
index b382395..2f2786f 100644
|
||||
--- a/jdk/test/java/util/TimeZone/TimeZoneData/displaynames.txt
|
||||
+++ b/jdk/test/java/util/TimeZone/TimeZoneData/displaynames.txt
|
||||
@@ -97,9 +97,7 @@ America/Winnipeg CST CDT
|
||||
America/Yakutat AKST AKDT
|
||||
America/Yellowknife MST MDT
|
||||
Antarctica/Macquarie AEST AEDT
|
||||
-Asia/Amman EET EEST
|
||||
Asia/Beirut EET EEST
|
||||
-Asia/Damascus EET EEST
|
||||
Asia/Famagusta EET EEST
|
||||
Asia/Gaza EET EEST
|
||||
Asia/Hebron EET EEST
|
||||
diff --git a/jdk/test/sun/util/calendar/zi/tzdata/VERSION b/jdk/test/sun/util/calendar/zi/tzdata/VERSION
|
||||
index 889d0e6..b8cb36e 100644
|
||||
--- a/jdk/test/sun/util/calendar/zi/tzdata/VERSION
|
||||
+++ b/jdk/test/sun/util/calendar/zi/tzdata/VERSION
|
||||
@@ -21,4 +21,4 @@
|
||||
# or visit www.oracle.com if you need additional information or have any
|
||||
# questions.
|
||||
#
|
||||
-tzdata2022d
|
||||
+tzdata2022e
|
||||
diff --git a/jdk/test/sun/util/calendar/zi/tzdata/asia b/jdk/test/sun/util/calendar/zi/tzdata/asia
|
||||
index 1dc7d34..f1771e4 100644
|
||||
--- a/jdk/test/sun/util/calendar/zi/tzdata/asia
|
||||
+++ b/jdk/test/sun/util/calendar/zi/tzdata/asia
|
||||
@@ -2254,6 +2254,17 @@ Zone Asia/Tokyo 9:18:59 - LMT 1887 Dec 31 15:00u
|
||||
# From the Arabic version, it seems to say it would be at midnight
|
||||
# (assume 24:00) on the last Thursday in February, starting from 2022.
|
||||
|
||||
+# From Issam Al-Zuwairi (2022-10-05):
|
||||
+# The Council of Ministers in Jordan decided Wednesday 5th October 2022,
|
||||
+# that daylight saving time (DST) will be throughout the year....
|
||||
+#
|
||||
+# From Brian Inglis (2022-10-06):
|
||||
+# https://petra.gov.jo/Include/InnerPage.jsp?ID=45567&lang=en&name=en_news
|
||||
+#
|
||||
+# From Paul Eggert (2022-10-05):
|
||||
+# Like Syria, model this as a transition from EEST +03 (DST) to plain +03
|
||||
+# (non-DST) at the point where DST would otherwise have ended.
|
||||
+
|
||||
# Rule NAME FROM TO - IN ON AT SAVE LETTER/S
|
||||
Rule Jordan 1973 only - Jun 6 0:00 1:00 S
|
||||
Rule Jordan 1973 1975 - Oct 1 0:00 0 -
|
||||
@@ -2285,11 +2296,12 @@ Rule Jordan 2005 only - Sep lastFri 0:00s 0 -
|
||||
Rule Jordan 2006 2011 - Oct lastFri 0:00s 0 -
|
||||
Rule Jordan 2013 only - Dec 20 0:00 0 -
|
||||
Rule Jordan 2014 2021 - Mar lastThu 24:00 1:00 S
|
||||
-Rule Jordan 2014 max - Oct lastFri 0:00s 0 -
|
||||
-Rule Jordan 2022 max - Feb lastThu 24:00 1:00 S
|
||||
+Rule Jordan 2014 2022 - Oct lastFri 0:00s 0 -
|
||||
+Rule Jordan 2022 only - Feb lastThu 24:00 1:00 S
|
||||
# Zone NAME STDOFF RULES FORMAT [UNTIL]
|
||||
Zone Asia/Amman 2:23:44 - LMT 1931
|
||||
- 2:00 Jordan EE%sT
|
||||
+ 2:00 Jordan EE%sT 2022 Oct 28 0:00s
|
||||
+ 3:00 - +03
|
||||
|
||||
|
||||
# Kazakhstan
|
||||
@@ -3838,19 +3850,27 @@ Rule Syria 2007 only - Nov Fri>=1 0:00 0 -
|
||||
# Our brief summary:
|
||||
# https://www.timeanddate.com/news/time/syria-dst-2012.html
|
||||
|
||||
-# From Arthur David Olson (2012-03-27):
|
||||
-# Assume last Friday in March going forward XXX.
|
||||
+# From Steffen Thorsen (2022-10-05):
|
||||
+# Syria is adopting year-round DST, starting this autumn....
|
||||
+# From https://www.enabbaladi.net/archives/607812
|
||||
+# "This [the decision] came after the weekly government meeting today,
|
||||
+# Tuesday 4 October ..."
|
||||
+#
|
||||
+# From Paul Eggert (2022-10-05):
|
||||
+# Like Jordan, model this as a transition from EEST +03 (DST) to plain +03
|
||||
+# (non-DST) at the point where DST would otherwise have ended.
|
||||
|
||||
Rule Syria 2008 only - Apr Fri>=1 0:00 1:00 S
|
||||
Rule Syria 2008 only - Nov 1 0:00 0 -
|
||||
Rule Syria 2009 only - Mar lastFri 0:00 1:00 S
|
||||
Rule Syria 2010 2011 - Apr Fri>=1 0:00 1:00 S
|
||||
-Rule Syria 2012 max - Mar lastFri 0:00 1:00 S
|
||||
-Rule Syria 2009 max - Oct lastFri 0:00 0 -
|
||||
+Rule Syria 2012 2022 - Mar lastFri 0:00 1:00 S
|
||||
+Rule Syria 2009 2022 - Oct lastFri 0:00 0 -
|
||||
|
||||
# Zone NAME STDOFF RULES FORMAT [UNTIL]
|
||||
Zone Asia/Damascus 2:25:12 - LMT 1920 # Dimashq
|
||||
- 2:00 Syria EE%sT
|
||||
+ 2:00 Syria EE%sT 2022 Oct 28 0:00
|
||||
+ 3:00 - +03
|
||||
|
||||
# Tajikistan
|
||||
# From Shanks & Pottenger.
|
||||
diff --git a/jdk/test/sun/util/calendar/zi/tzdata/europe b/jdk/test/sun/util/calendar/zi/tzdata/europe
|
||||
index 9e0a538..930cede 100644
|
||||
--- a/jdk/test/sun/util/calendar/zi/tzdata/europe
|
||||
+++ b/jdk/test/sun/util/calendar/zi/tzdata/europe
|
||||
@@ -3417,7 +3417,7 @@ Zone Europe/Madrid -0:14:44 - LMT 1901 Jan 1 0:00u
|
||||
0:00 Spain WE%sT 1940 Mar 16 23:00
|
||||
1:00 Spain CE%sT 1979
|
||||
1:00 EU CE%sT
|
||||
-Zone Africa/Ceuta -0:21:16 - LMT 1900 Dec 31 23:38:44
|
||||
+Zone Africa/Ceuta -0:21:16 - LMT 1901 Jan 1 0:00u
|
||||
0:00 - WET 1918 May 6 23:00
|
||||
0:00 1:00 WEST 1918 Oct 7 23:00
|
||||
0:00 - WET 1924
|
||||
diff --git a/jdk/test/sun/util/calendar/zi/tzdata/northamerica b/jdk/test/sun/util/calendar/zi/tzdata/northamerica
|
||||
index 114cef1..ce4ee74 100644
|
||||
--- a/jdk/test/sun/util/calendar/zi/tzdata/northamerica
|
||||
+++ b/jdk/test/sun/util/calendar/zi/tzdata/northamerica
|
||||
@@ -462,7 +462,7 @@ Rule Chicago 1922 1966 - Apr lastSun 2:00 1:00 D
|
||||
Rule Chicago 1922 1954 - Sep lastSun 2:00 0 S
|
||||
Rule Chicago 1955 1966 - Oct lastSun 2:00 0 S
|
||||
# Zone NAME STDOFF RULES FORMAT [UNTIL]
|
||||
-Zone America/Chicago -5:50:36 - LMT 1883 Nov 18 12:09:24
|
||||
+Zone America/Chicago -5:50:36 - LMT 1883 Nov 18 18:00u
|
||||
-6:00 US C%sT 1920
|
||||
-6:00 Chicago C%sT 1936 Mar 1 2:00
|
||||
-5:00 - EST 1936 Nov 15 2:00
|
||||
@@ -471,7 +471,7 @@ Zone America/Chicago -5:50:36 - LMT 1883 Nov 18 12:09:24
|
||||
-6:00 Chicago C%sT 1967
|
||||
-6:00 US C%sT
|
||||
# Oliver County, ND switched from mountain to central time on 1992-10-25.
|
||||
-Zone America/North_Dakota/Center -6:45:12 - LMT 1883 Nov 18 12:14:48
|
||||
+Zone America/North_Dakota/Center -6:45:12 - LMT 1883 Nov 18 19:00u
|
||||
-7:00 US M%sT 1992 Oct 25 2:00
|
||||
-6:00 US C%sT
|
||||
# Morton County, ND, switched from mountain to central time on
|
||||
@@ -481,7 +481,7 @@ Zone America/North_Dakota/Center -6:45:12 - LMT 1883 Nov 18 12:14:48
|
||||
# Jones, Mellette, and Todd Counties in South Dakota;
|
||||
# but in practice these other counties were already observing central time.
|
||||
# See <http://www.epa.gov/fedrgstr/EPA-IMPACT/2003/October/Day-28/i27056.htm>.
|
||||
-Zone America/North_Dakota/New_Salem -6:45:39 - LMT 1883 Nov 18 12:14:21
|
||||
+Zone America/North_Dakota/New_Salem -6:45:39 - LMT 1883 Nov 18 19:00u
|
||||
-7:00 US M%sT 2003 Oct 26 2:00
|
||||
-6:00 US C%sT
|
||||
|
||||
@@ -498,7 +498,7 @@ Zone America/North_Dakota/New_Salem -6:45:39 - LMT 1883 Nov 18 12:14:21
|
||||
# largest city in Mercer County). Google Maps places Beulah's city hall
|
||||
# at 47° 15' 51" N, 101° 46' 40" W, which yields an offset of 6h47'07".
|
||||
|
||||
-Zone America/North_Dakota/Beulah -6:47:07 - LMT 1883 Nov 18 12:12:53
|
||||
+Zone America/North_Dakota/Beulah -6:47:07 - LMT 1883 Nov 18 19:00u
|
||||
-7:00 US M%sT 2010 Nov 7 2:00
|
||||
-6:00 US C%sT
|
||||
|
||||
@@ -530,7 +530,7 @@ Rule Denver 1921 only - May 22 2:00 0 S
|
||||
Rule Denver 1965 1966 - Apr lastSun 2:00 1:00 D
|
||||
Rule Denver 1965 1966 - Oct lastSun 2:00 0 S
|
||||
# Zone NAME STDOFF RULES FORMAT [UNTIL]
|
||||
-Zone America/Denver -6:59:56 - LMT 1883 Nov 18 12:00:04
|
||||
+Zone America/Denver -6:59:56 - LMT 1883 Nov 18 19:00u
|
||||
-7:00 US M%sT 1920
|
||||
-7:00 Denver M%sT 1942
|
||||
-7:00 US M%sT 1946
|
||||
@@ -583,7 +583,7 @@ Rule CA 1950 1966 - Apr lastSun 1:00 1:00 D
|
||||
Rule CA 1950 1961 - Sep lastSun 2:00 0 S
|
||||
Rule CA 1962 1966 - Oct lastSun 2:00 0 S
|
||||
# Zone NAME STDOFF RULES FORMAT [UNTIL]
|
||||
-Zone America/Los_Angeles -7:52:58 - LMT 1883 Nov 18 12:07:02
|
||||
+Zone America/Los_Angeles -7:52:58 - LMT 1883 Nov 18 20:00u
|
||||
-8:00 US P%sT 1946
|
||||
-8:00 CA P%sT 1967
|
||||
-8:00 US P%sT
|
||||
@@ -845,7 +845,7 @@ Zone Pacific/Honolulu -10:31:26 - LMT 1896 Jan 13 12:00
|
||||
# Go with the Arizona State Library instead.
|
||||
|
||||
# Zone NAME STDOFF RULES FORMAT [UNTIL]
|
||||
-Zone America/Phoenix -7:28:18 - LMT 1883 Nov 18 11:31:42
|
||||
+Zone America/Phoenix -7:28:18 - LMT 1883 Nov 18 19:00u
|
||||
-7:00 US M%sT 1944 Jan 1 0:01
|
||||
-7:00 - MST 1944 Apr 1 0:01
|
||||
-7:00 US M%sT 1944 Oct 1 0:01
|
||||
@@ -873,7 +873,7 @@ Link America/Phoenix America/Creston
|
||||
# switched four weeks late in 1974.
|
||||
#
|
||||
# Zone NAME STDOFF RULES FORMAT [UNTIL]
|
||||
-Zone America/Boise -7:44:49 - LMT 1883 Nov 18 12:15:11
|
||||
+Zone America/Boise -7:44:49 - LMT 1883 Nov 18 20:00u
|
||||
-8:00 US P%sT 1923 May 13 2:00
|
||||
-7:00 US M%sT 1974
|
||||
-7:00 - MST 1974 Feb 3 2:00
|
||||
@@ -945,7 +945,7 @@ Rule Indianapolis 1941 only - Jun 22 2:00 1:00 D
|
||||
Rule Indianapolis 1941 1954 - Sep lastSun 2:00 0 S
|
||||
Rule Indianapolis 1946 1954 - Apr lastSun 2:00 1:00 D
|
||||
# Zone NAME STDOFF RULES FORMAT [UNTIL]
|
||||
-Zone America/Indiana/Indianapolis -5:44:38 - LMT 1883 Nov 18 12:15:22
|
||||
+Zone America/Indiana/Indianapolis -5:44:38 - LMT 1883 Nov 18 18:00u
|
||||
-6:00 US C%sT 1920
|
||||
-6:00 Indianapolis C%sT 1942
|
||||
-6:00 US C%sT 1946
|
||||
@@ -965,7 +965,7 @@ Rule Marengo 1951 only - Sep lastSun 2:00 0 S
|
||||
Rule Marengo 1954 1960 - Apr lastSun 2:00 1:00 D
|
||||
Rule Marengo 1954 1960 - Sep lastSun 2:00 0 S
|
||||
# Zone NAME STDOFF RULES FORMAT [UNTIL]
|
||||
-Zone America/Indiana/Marengo -5:45:23 - LMT 1883 Nov 18 12:14:37
|
||||
+Zone America/Indiana/Marengo -5:45:23 - LMT 1883 Nov 18 18:00u
|
||||
-6:00 US C%sT 1951
|
||||
-6:00 Marengo C%sT 1961 Apr 30 2:00
|
||||
-5:00 - EST 1969
|
||||
@@ -989,7 +989,7 @@ Rule Vincennes 1960 only - Oct lastSun 2:00 0 S
|
||||
Rule Vincennes 1961 only - Sep lastSun 2:00 0 S
|
||||
Rule Vincennes 1962 1963 - Oct lastSun 2:00 0 S
|
||||
# Zone NAME STDOFF RULES FORMAT [UNTIL]
|
||||
-Zone America/Indiana/Vincennes -5:50:07 - LMT 1883 Nov 18 12:09:53
|
||||
+Zone America/Indiana/Vincennes -5:50:07 - LMT 1883 Nov 18 18:00u
|
||||
-6:00 US C%sT 1946
|
||||
-6:00 Vincennes C%sT 1964 Apr 26 2:00
|
||||
-5:00 - EST 1969
|
||||
@@ -1009,7 +1009,7 @@ Rule Perry 1955 1960 - Sep lastSun 2:00 0 S
|
||||
Rule Perry 1956 1963 - Apr lastSun 2:00 1:00 D
|
||||
Rule Perry 1961 1963 - Oct lastSun 2:00 0 S
|
||||
# Zone NAME STDOFF RULES FORMAT [UNTIL]
|
||||
-Zone America/Indiana/Tell_City -5:47:03 - LMT 1883 Nov 18 12:12:57
|
||||
+Zone America/Indiana/Tell_City -5:47:03 - LMT 1883 Nov 18 18:00u
|
||||
-6:00 US C%sT 1946
|
||||
-6:00 Perry C%sT 1964 Apr 26 2:00
|
||||
-5:00 - EST 1967 Oct 29 2:00
|
||||
@@ -1026,7 +1026,7 @@ Rule Pike 1955 1960 - Sep lastSun 2:00 0 S
|
||||
Rule Pike 1956 1964 - Apr lastSun 2:00 1:00 D
|
||||
Rule Pike 1961 1964 - Oct lastSun 2:00 0 S
|
||||
# Zone NAME STDOFF RULES FORMAT [UNTIL]
|
||||
-Zone America/Indiana/Petersburg -5:49:07 - LMT 1883 Nov 18 12:10:53
|
||||
+Zone America/Indiana/Petersburg -5:49:07 - LMT 1883 Nov 18 18:00u
|
||||
-6:00 US C%sT 1955
|
||||
-6:00 Pike C%sT 1965 Apr 25 2:00
|
||||
-5:00 - EST 1966 Oct 30 2:00
|
||||
@@ -1048,7 +1048,7 @@ Rule Starke 1955 1956 - Oct lastSun 2:00 0 S
|
||||
Rule Starke 1957 1958 - Sep lastSun 2:00 0 S
|
||||
Rule Starke 1959 1961 - Oct lastSun 2:00 0 S
|
||||
# Zone NAME STDOFF RULES FORMAT [UNTIL]
|
||||
-Zone America/Indiana/Knox -5:46:30 - LMT 1883 Nov 18 12:13:30
|
||||
+Zone America/Indiana/Knox -5:46:30 - LMT 1883 Nov 18 18:00u
|
||||
-6:00 US C%sT 1947
|
||||
-6:00 Starke C%sT 1962 Apr 29 2:00
|
||||
-5:00 - EST 1963 Oct 27 2:00
|
||||
@@ -1064,7 +1064,7 @@ Rule Pulaski 1946 1954 - Sep lastSun 2:00 0 S
|
||||
Rule Pulaski 1955 1956 - Oct lastSun 2:00 0 S
|
||||
Rule Pulaski 1957 1960 - Sep lastSun 2:00 0 S
|
||||
# Zone NAME STDOFF RULES FORMAT [UNTIL]
|
||||
-Zone America/Indiana/Winamac -5:46:25 - LMT 1883 Nov 18 12:13:35
|
||||
+Zone America/Indiana/Winamac -5:46:25 - LMT 1883 Nov 18 18:00u
|
||||
-6:00 US C%sT 1946
|
||||
-6:00 Pulaski C%sT 1961 Apr 30 2:00
|
||||
-5:00 - EST 1969
|
||||
@@ -1075,7 +1075,7 @@ Zone America/Indiana/Winamac -5:46:25 - LMT 1883 Nov 18 12:13:35
|
||||
#
|
||||
# Switzerland County, Indiana, did not observe DST from 1973 through 2005.
|
||||
# Zone NAME STDOFF RULES FORMAT [UNTIL]
|
||||
-Zone America/Indiana/Vevay -5:40:16 - LMT 1883 Nov 18 12:19:44
|
||||
+Zone America/Indiana/Vevay -5:40:16 - LMT 1883 Nov 18 18:00u
|
||||
-6:00 US C%sT 1954 Apr 25 2:00
|
||||
-5:00 - EST 1969
|
||||
-5:00 US E%sT 1973
|
||||
@@ -1111,7 +1111,7 @@ Rule Louisville 1950 1961 - Apr lastSun 2:00 1:00 D
|
||||
Rule Louisville 1950 1955 - Sep lastSun 2:00 0 S
|
||||
Rule Louisville 1956 1961 - Oct lastSun 2:00 0 S
|
||||
# Zone NAME STDOFF RULES FORMAT [UNTIL]
|
||||
-Zone America/Kentucky/Louisville -5:43:02 - LMT 1883 Nov 18 12:16:58
|
||||
+Zone America/Kentucky/Louisville -5:43:02 - LMT 1883 Nov 18 18:00u
|
||||
-6:00 US C%sT 1921
|
||||
-6:00 Louisville C%sT 1942
|
||||
-6:00 US C%sT 1946
|
||||
@@ -1145,7 +1145,7 @@ Zone America/Kentucky/Louisville -5:43:02 - LMT 1883 Nov 18 12:16:58
|
||||
# Federal Register 65, 160 (2000-08-17), pp 50154-50158.
|
||||
# https://www.gpo.gov/fdsys/pkg/FR-2000-08-17/html/00-20854.htm
|
||||
#
|
||||
-Zone America/Kentucky/Monticello -5:39:24 - LMT 1883 Nov 18 12:20:36
|
||||
+Zone America/Kentucky/Monticello -5:39:24 - LMT 1883 Nov 18 18:00u
|
||||
-6:00 US C%sT 1946
|
||||
-6:00 - CST 1968
|
||||
-6:00 US C%sT 2000 Oct 29 2:00
|
||||
@@ -2640,6 +2640,8 @@ Zone America/Dawson -9:17:40 - LMT 1900 Aug 20
|
||||
# longitude they are located at.
|
||||
|
||||
# Rule NAME FROM TO - IN ON AT SAVE LETTER/S
|
||||
+Rule Mexico 1931 only - May 1 23:00 1:00 D
|
||||
+Rule Mexico 1931 only - Oct 1 0:00 0 S
|
||||
Rule Mexico 1939 only - Feb 5 0:00 1:00 D
|
||||
Rule Mexico 1939 only - Jun 25 0:00 0 S
|
||||
Rule Mexico 1940 only - Dec 9 0:00 1:00 D
|
||||
@@ -2656,13 +2658,13 @@ Rule Mexico 2002 max - Apr Sun>=1 2:00 1:00 D
|
||||
Rule Mexico 2002 max - Oct lastSun 2:00 0 S
|
||||
# Zone NAME STDOFF RULES FORMAT [UNTIL]
|
||||
# Quintana Roo; represented by Cancún
|
||||
-Zone America/Cancun -5:47:04 - LMT 1922 Jan 1 0:12:56
|
||||
+Zone America/Cancun -5:47:04 - LMT 1922 Jan 1 6:00u
|
||||
-6:00 - CST 1981 Dec 23
|
||||
-5:00 Mexico E%sT 1998 Aug 2 2:00
|
||||
-6:00 Mexico C%sT 2015 Feb 1 2:00
|
||||
-5:00 - EST
|
||||
# Campeche, Yucatán; represented by Mérida
|
||||
-Zone America/Merida -5:58:28 - LMT 1922 Jan 1 0:01:32
|
||||
+Zone America/Merida -5:58:28 - LMT 1922 Jan 1 6:00u
|
||||
-6:00 - CST 1981 Dec 23
|
||||
-5:00 - EST 1982 Dec 2
|
||||
-6:00 Mexico C%sT
|
||||
@@ -2676,23 +2678,21 @@ Zone America/Merida -5:58:28 - LMT 1922 Jan 1 0:01:32
|
||||
# See: Inicia mañana Horario de Verano en zona fronteriza, El Universal,
|
||||
# 2016-03-12
|
||||
# http://www.eluniversal.com.mx/articulo/estados/2016/03/12/inicia-manana-horario-de-verano-en-zona-fronteriza
|
||||
-Zone America/Matamoros -6:40:00 - LMT 1921 Dec 31 23:20:00
|
||||
+Zone America/Matamoros -6:30:00 - LMT 1922 Jan 1 6:00u
|
||||
-6:00 - CST 1988
|
||||
-6:00 US C%sT 1989
|
||||
-6:00 Mexico C%sT 2010
|
||||
-6:00 US C%sT
|
||||
# Durango; Coahuila, Nuevo León, Tamaulipas (away from US border)
|
||||
-Zone America/Monterrey -6:41:16 - LMT 1921 Dec 31 23:18:44
|
||||
+Zone America/Monterrey -6:41:16 - LMT 1922 Jan 1 6:00u
|
||||
-6:00 - CST 1988
|
||||
-6:00 US C%sT 1989
|
||||
-6:00 Mexico C%sT
|
||||
# Central Mexico
|
||||
-Zone America/Mexico_City -6:36:36 - LMT 1922 Jan 1 0:23:24
|
||||
+Zone America/Mexico_City -6:36:36 - LMT 1922 Jan 1 7:00u
|
||||
-7:00 - MST 1927 Jun 10 23:00
|
||||
-6:00 - CST 1930 Nov 15
|
||||
- -7:00 - MST 1931 May 1 23:00
|
||||
- -6:00 - CST 1931 Oct
|
||||
- -7:00 - MST 1932 Apr 1
|
||||
+ -7:00 Mexico M%sT 1932 Apr 1
|
||||
-6:00 Mexico C%sT 2001 Sep 30 2:00
|
||||
-6:00 - CST 2002 Feb 20
|
||||
-6:00 Mexico C%sT
|
||||
@@ -2700,35 +2700,29 @@ Zone America/Mexico_City -6:36:36 - LMT 1922 Jan 1 0:23:24
|
||||
# This includes the municipalities of Janos, Ascensión, Juárez, Guadalupe,
|
||||
# Práxedis G Guerrero, Coyame del Sotol, Ojinaga, and Manuel Benavides.
|
||||
# (See the 2016-03-12 El Universal source mentioned above.)
|
||||
-Zone America/Ojinaga -6:57:40 - LMT 1922 Jan 1 0:02:20
|
||||
+Zone America/Ojinaga -6:57:40 - LMT 1922 Jan 1 7:00u
|
||||
-7:00 - MST 1927 Jun 10 23:00
|
||||
-6:00 - CST 1930 Nov 15
|
||||
- -7:00 - MST 1931 May 1 23:00
|
||||
- -6:00 - CST 1931 Oct
|
||||
- -7:00 - MST 1932 Apr 1
|
||||
+ -7:00 Mexico M%sT 1932 Apr 1
|
||||
-6:00 - CST 1996
|
||||
-6:00 Mexico C%sT 1998
|
||||
-6:00 - CST 1998 Apr Sun>=1 3:00
|
||||
-7:00 Mexico M%sT 2010
|
||||
-7:00 US M%sT
|
||||
# Chihuahua (away from US border)
|
||||
-Zone America/Chihuahua -7:04:20 - LMT 1921 Dec 31 23:55:40
|
||||
+Zone America/Chihuahua -7:04:20 - LMT 1922 Jan 1 7:00u
|
||||
-7:00 - MST 1927 Jun 10 23:00
|
||||
-6:00 - CST 1930 Nov 15
|
||||
- -7:00 - MST 1931 May 1 23:00
|
||||
- -6:00 - CST 1931 Oct
|
||||
- -7:00 - MST 1932 Apr 1
|
||||
+ -7:00 Mexico M%sT 1932 Apr 1
|
||||
-6:00 - CST 1996
|
||||
-6:00 Mexico C%sT 1998
|
||||
-6:00 - CST 1998 Apr Sun>=1 3:00
|
||||
-7:00 Mexico M%sT
|
||||
# Sonora
|
||||
-Zone America/Hermosillo -7:23:52 - LMT 1921 Dec 31 23:36:08
|
||||
+Zone America/Hermosillo -7:23:52 - LMT 1922 Jan 1 7:00u
|
||||
-7:00 - MST 1927 Jun 10 23:00
|
||||
-6:00 - CST 1930 Nov 15
|
||||
- -7:00 - MST 1931 May 1 23:00
|
||||
- -6:00 - CST 1931 Oct
|
||||
- -7:00 - MST 1932 Apr 1
|
||||
+ -7:00 Mexico M%sT 1932 Apr 1
|
||||
-6:00 - CST 1942 Apr 24
|
||||
-7:00 - MST 1949 Jan 14
|
||||
-8:00 - PST 1970
|
||||
@@ -2763,24 +2757,20 @@ Zone America/Hermosillo -7:23:52 - LMT 1921 Dec 31 23:36:08
|
||||
# Use "Bahia_Banderas" to keep the name to fourteen characters.
|
||||
|
||||
# Mazatlán
|
||||
-Zone America/Mazatlan -7:05:40 - LMT 1921 Dec 31 23:54:20
|
||||
+Zone America/Mazatlan -7:05:40 - LMT 1922 Jan 1 7:00u
|
||||
-7:00 - MST 1927 Jun 10 23:00
|
||||
-6:00 - CST 1930 Nov 15
|
||||
- -7:00 - MST 1931 May 1 23:00
|
||||
- -6:00 - CST 1931 Oct
|
||||
- -7:00 - MST 1932 Apr 1
|
||||
+ -7:00 Mexico M%sT 1932 Apr 1
|
||||
-6:00 - CST 1942 Apr 24
|
||||
-7:00 - MST 1949 Jan 14
|
||||
-8:00 - PST 1970
|
||||
-7:00 Mexico M%sT
|
||||
|
||||
# Bahía de Banderas
|
||||
-Zone America/Bahia_Banderas -7:01:00 - LMT 1921 Dec 31 23:59:00
|
||||
+Zone America/Bahia_Banderas -7:01:00 - LMT 1922 Jan 1 7:00u
|
||||
-7:00 - MST 1927 Jun 10 23:00
|
||||
-6:00 - CST 1930 Nov 15
|
||||
- -7:00 - MST 1931 May 1 23:00
|
||||
- -6:00 - CST 1931 Oct
|
||||
- -7:00 - MST 1932 Apr 1
|
||||
+ -7:00 Mexico M%sT 1932 Apr 1
|
||||
-6:00 - CST 1942 Apr 24
|
||||
-7:00 - MST 1949 Jan 14
|
||||
-8:00 - PST 1970
|
||||
@@ -2788,7 +2778,7 @@ Zone America/Bahia_Banderas -7:01:00 - LMT 1921 Dec 31 23:59:00
|
||||
-6:00 Mexico C%sT
|
||||
|
||||
# Baja California
|
||||
-Zone America/Tijuana -7:48:04 - LMT 1922 Jan 1 0:11:56
|
||||
+Zone America/Tijuana -7:48:04 - LMT 1922 Jan 1 7:00u
|
||||
-7:00 - MST 1924
|
||||
-8:00 - PST 1927 Jun 10 23:00
|
||||
-7:00 - MST 1930 Nov 15
|
||||
--
|
||||
1.8.3.1
|
||||
219
Add-CMS-s-trim-test-cases-and-fix-failure.patch
Normal file
219
Add-CMS-s-trim-test-cases-and-fix-failure.patch
Normal file
@ -0,0 +1,219 @@
|
||||
From 69b1d2f90f27a9158bc16d549dd0afc7a4e955a8 Mon Sep 17 00:00:00 2001
|
||||
From: d30023828 <douyiwang@huawei.com>
|
||||
Date: Sat, 28 Jan 2023 15:47:20 +0800
|
||||
Subject: [PATCH 1/6] Add CMS's trim test cases and fix failure
|
||||
|
||||
DTS/AR: DTS2022120810426
|
||||
Summary: <CDS> : Add CMS's trim test cases and fix failure
|
||||
LLT: NA
|
||||
Patch Type: huawei
|
||||
Bug url: NA
|
||||
---
|
||||
hotspot/test/gc/TestTrimNative.java | 77 ++++++++++++++++++++++-------
|
||||
1 file changed, 58 insertions(+), 19 deletions(-)
|
||||
|
||||
diff --git a/hotspot/test/gc/TestTrimNative.java b/hotspot/test/gc/TestTrimNative.java
|
||||
index 58d540527..e0ac7734b 100644
|
||||
--- a/hotspot/test/gc/TestTrimNative.java
|
||||
+++ b/hotspot/test/gc/TestTrimNative.java
|
||||
@@ -41,7 +41,7 @@ package gc;
|
||||
/*
|
||||
* @test id=fullgc-serial
|
||||
* @summary Test that GCTrimNativeHeap works with Serial
|
||||
- * @requires vm.gc=="Serial"
|
||||
+ * @requires vm.gc=="Serial" | vm.gc == "null"
|
||||
* @requires os.family=="linux"
|
||||
* @modules java.base/jdk.internal.misc
|
||||
* @library /testlibrary
|
||||
@@ -51,17 +51,27 @@ package gc;
|
||||
/*
|
||||
* @test id=fullgc-parallel
|
||||
* @summary Test that GCTrimNativeHeap works with Parallel
|
||||
- * @requires vm.gc=="Parallel"
|
||||
+ * @requires vm.gc=="Parallel" | vm.gc == "null"
|
||||
* @requires os.family=="linux"
|
||||
* @modules java.base/jdk.internal.misc
|
||||
* @library /testlibrary
|
||||
* @run driver gc.TestTrimNative test-fullgc parallel
|
||||
*/
|
||||
|
||||
+ /*
|
||||
+ * @test id=fullgc-concMarkSweep
|
||||
+ * @summary Test that GCTrimNativeHeap works with concMarkSweep
|
||||
+ * @requires vm.gc=="ConcMarkSweep" | vm.gc=="null"
|
||||
+ * @requires os.family=="linux"
|
||||
+ * @modules java.base/jdk.internal.misc
|
||||
+ * @library /testlibrary
|
||||
+ * @run driver gc.TestTrimNative test-fullgc concMarkSweep
|
||||
+ */
|
||||
+
|
||||
/*
|
||||
* @test id=fullgc-g1
|
||||
* @summary Test that GCTrimNativeHeap works with G1
|
||||
- * @requires vm.gc=="G1"
|
||||
+ * @requires vm.gc=="G1" | vm.gc == "null"
|
||||
* @requires os.family=="linux"
|
||||
* @modules java.base/jdk.internal.misc
|
||||
* @library /testlibrary
|
||||
@@ -75,17 +85,27 @@ package gc;
|
||||
/*
|
||||
* @test id=auto-parallel
|
||||
* @summary Test that GCTrimNativeHeap works with Parallel
|
||||
- * @requires vm.gc=="Parallel"
|
||||
+ * @requires vm.gc=="Parallel" | vm.gc == "null"
|
||||
* @requires os.family=="linux"
|
||||
* @modules java.base/jdk.internal.misc
|
||||
* @library /testlibrary
|
||||
* @run driver gc.TestTrimNative test-auto parallel
|
||||
*/
|
||||
|
||||
+ /*
|
||||
+ * @test id=auto-concMarkSweep
|
||||
+ * @summary Test that GCTrimNativeHeap works with concMarkSweep
|
||||
+ * @requires vm.gc=="ConcMarkSweep" | vm.gc == "null"
|
||||
+ * @requires os.family=="linux"
|
||||
+ * @modules java.base/jdk.internal.misc
|
||||
+ * @library /testlibrary
|
||||
+ * @run driver gc.TestTrimNative test-auto concMarkSweep
|
||||
+ */
|
||||
+
|
||||
/*
|
||||
* @test id=auto-g1
|
||||
* @summary Test that GCTrimNativeHeap works with G1
|
||||
- * @requires vm.gc=="G1"
|
||||
+ * @requires vm.gc=="G1" | vm.gc == "null"
|
||||
* @requires os.family=="linux"
|
||||
* @modules java.base/jdk.internal.misc
|
||||
* @library /testlibrary
|
||||
@@ -100,17 +120,27 @@ package gc;
|
||||
/*
|
||||
* @test id=auto-high-interval-parallel
|
||||
* @summary Test that a high GCTrimNativeHeapInterval effectively disables automatic trimming
|
||||
- * @requires vm.gc=="Parallel"
|
||||
+ * @requires vm.gc=="Parallel" | vm.gc == "null"
|
||||
* @requires os.family=="linux"
|
||||
* @modules java.base/jdk.internal.misc
|
||||
* @library /testlibrary
|
||||
* @run driver gc.TestTrimNative test-auto-high-interval parallel
|
||||
*/
|
||||
|
||||
+/*
|
||||
+ * @test id=auto-high-interval-concMarkSweep
|
||||
+ * @summary Test that a high GCTrimNativeHeapInterval effectively disables automatic trimming
|
||||
+ * @requires vm.gc=="ConcMarkSweep" | vm.gc == "null"
|
||||
+ * @requires os.family=="linux"
|
||||
+ * @modules java.base/jdk.internal.misc
|
||||
+ * @library /testlibrary
|
||||
+ * @run driver gc.TestTrimNative test-auto-high-interval concMarkSweep
|
||||
+ */
|
||||
+
|
||||
/*
|
||||
* @test id=auto-high-interval-g1
|
||||
* @summary Test that a high GCTrimNativeHeapInterval effectively disables automatic trimming
|
||||
- * @requires vm.gc=="G1"
|
||||
+ * @requires vm.gc=="G1" | vm.gc == "null"
|
||||
* @requires os.family=="linux"
|
||||
* @modules java.base/jdk.internal.misc
|
||||
* @library /testlibrary
|
||||
@@ -124,17 +154,27 @@ package gc;
|
||||
/*
|
||||
* @test id=auto-zero-interval-parallel
|
||||
* @summary Test that a GCTrimNativeHeapInterval=0 disables periodic trimming
|
||||
- * @requires vm.gc=="Parallel"
|
||||
+ * @requires vm.gc=="Parallel" | vm.gc == "null"
|
||||
* @requires os.family=="linux"
|
||||
* @modules java.base/jdk.internal.misc
|
||||
* @library /testlibrary
|
||||
* @run driver gc.TestTrimNative test-auto-zero-interval parallel
|
||||
*/
|
||||
|
||||
+/*
|
||||
+ * @test id=auto-zero-interval-concMarkSweep
|
||||
+ * @summary Test that a GCTrimNativeHeapInterval=0 disables periodic trimming
|
||||
+ * @requires vm.gc=="ConcMarkSweep" | vm.gc == "null"
|
||||
+ * @requires os.family=="linux"
|
||||
+ * @modules java.base/jdk.internal.misc
|
||||
+ * @library /testlibrary
|
||||
+ * @run driver gc.TestTrimNative test-auto-zero-interval concMarkSweep
|
||||
+ */
|
||||
+
|
||||
/*
|
||||
* @test id=auto-zero-interval-g1
|
||||
* @summary Test that a GCTrimNativeHeapInterval=0 disables periodic trimming
|
||||
- * @requires vm.gc=="G1"
|
||||
+ * @requires vm.gc=="G1" | vm.gc == "null"
|
||||
* @requires os.family=="linux"
|
||||
* @modules java.base/jdk.internal.misc
|
||||
* @library /testlibrary
|
||||
@@ -196,20 +236,19 @@ public class TestTrimNative {
|
||||
}
|
||||
|
||||
enum GC {
|
||||
- serial, parallel, g1, shenandoah, z;
|
||||
+ serial, parallel, g1, concMarkSweep;
|
||||
String getSwitchName() {
|
||||
String s = name();
|
||||
return "-XX:+Use" + s.substring(0, 1).toUpperCase() + s.substring(1) + "GC";
|
||||
}
|
||||
- boolean isZ() { return this == GC.z; }
|
||||
boolean isSerial() { return this == GC.serial; }
|
||||
boolean isParallel() { return this == GC.parallel; }
|
||||
boolean isG1() { return this == GC.g1; }
|
||||
- boolean isShenandoah() { return this == GC.shenandoah; }
|
||||
+ boolean isConcMarkSweep() { return this == GC.concMarkSweep; }
|
||||
}
|
||||
|
||||
static private boolean usesNativeTrimmer(GC gc) {
|
||||
- return gc.isG1() || gc.isParallel() || gc.isZ();
|
||||
+ return gc.isG1() || gc.isParallel() || gc.isConcMarkSweep();
|
||||
}
|
||||
|
||||
static private final OutputAnalyzer runTestWithOptions(String[] extraOptions, String[] testArgs) throws Exception {
|
||||
@@ -234,7 +273,7 @@ public class TestTrimNative {
|
||||
/**
|
||||
* Given JVM output, look for a log line that describes a successful negative trim in the megabyte range
|
||||
* like this:
|
||||
- * "[2.053s][debug][gc,trim] Trim native heap (retain size: 5120K): RSS+Swap: 271M->223M (-49112K), 2.834ms"
|
||||
+ * "Trim native heap (retain size: 5120K): RSS+Swap: 271M->223M (-49112K), 2.834ms"
|
||||
* (Note: we use the "properXXX" print routines, therefore units can differ)
|
||||
* Check that the sum of all trim log lines comes to a total RSS reduction in the MB range
|
||||
* @param output
|
||||
@@ -244,7 +283,7 @@ public class TestTrimNative {
|
||||
private final static void parseOutputAndLookForNegativeTrim(OutputAnalyzer output, int minExpected, int maxExpected) {
|
||||
output.reportDiagnosticSummary();
|
||||
List<String> lines = output.asLines();
|
||||
- Pattern pat = Pattern.compile(".*\\[gc,trim\\] Trim native heap.*RSS\\+Swap: (\\d+)([KMB])->(\\d+)([KMB]).*");
|
||||
+ Pattern pat = Pattern.compile(".*Trim native heap.*RSS\\+Swap: (\\d+)([KMB])->(\\d+)([KMB]).*");
|
||||
int numTrimsFound = 0;
|
||||
long rssReductionTotal = 0;
|
||||
for (String line : lines) {
|
||||
@@ -270,7 +309,7 @@ public class TestTrimNative {
|
||||
// This is very fuzzy. We malloced X, free'd X, trimmed, measured the combined effect of all reductions.
|
||||
// This does not take into effect mallocs or frees that may happen concurrently. But we expect to see *some*
|
||||
// reduction somewhere. Test with a fudge factor.
|
||||
- float fudge = 0.8f;
|
||||
+ float fudge = 0.25f;
|
||||
long expectedMinimalReduction = (long) (totalAllocationsSize * fudge);
|
||||
if (rssReductionTotal < expectedMinimalReduction) {
|
||||
throw new RuntimeException("We did not see the expected RSS reduction in the UL log. Expected (with fudge)" +
|
||||
@@ -293,8 +332,8 @@ public class TestTrimNative {
|
||||
// started and shut down properly.
|
||||
if (usesNativeTrimmer(gc)) {
|
||||
output.shouldContain("NativeTrimmer started");
|
||||
- output.shouldContain("NativeTrimmer paused");
|
||||
- output.shouldContain("NativeTrimmer unpaused");
|
||||
+ //Only debug version JDK contains this item: output.shouldContain("NativeTrimmer paused");
|
||||
+ //Only debug version JDK contains this item: output.shouldContain("NativeTrimmer unpaused");
|
||||
output.shouldContain("NativeTrimmer stopped");
|
||||
} else {
|
||||
output.shouldNotContain("NativeTrimmer");
|
||||
@@ -432,4 +471,4 @@ public class TestTrimNative {
|
||||
|
||||
}
|
||||
|
||||
-}
|
||||
\ No newline at end of file
|
||||
+}
|
||||
--
|
||||
2.22.0
|
||||
|
||||
47
Disable-cds-on-x86-32.patch
Normal file
47
Disable-cds-on-x86-32.patch
Normal file
@ -0,0 +1,47 @@
|
||||
From d7ff4af3e604f4763815fde1753b38c115b23beb Mon Sep 17 00:00:00 2001
|
||||
From: hedongbo <hedongbo@huawei.com>
|
||||
Date: Thu, 2 Feb 2023 11:53:48 +0000
|
||||
Subject: [PATCH 4/6] Disable cds on x86-32
|
||||
|
||||
DTS/AR: DTS2023020203620
|
||||
Summary: <JDK> :Disable cds on x86-32
|
||||
LLT: NA
|
||||
Patch Type: huawei
|
||||
Bug url: NA
|
||||
---
|
||||
common/autoconf/generated-configure.sh | 4 ++++
|
||||
common/autoconf/jdk-options.m4 | 3 +++
|
||||
2 files changed, 7 insertions(+)
|
||||
|
||||
diff --git a/common/autoconf/generated-configure.sh b/common/autoconf/generated-configure.sh
|
||||
index a6ba1ac93..b3a9640f1 100644
|
||||
--- a/common/autoconf/generated-configure.sh
|
||||
+++ b/common/autoconf/generated-configure.sh
|
||||
@@ -14729,6 +14729,10 @@ $as_echo_n "checking if a default CDS archive should be generated... " >&6; }
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no, not possible with cross compilation" >&5
|
||||
$as_echo "no, not possible with cross compilation" >&6; }
|
||||
BUILD_CDS_ARCHIVE="false"
|
||||
+ elif test "x$OPENJDK_TARGET_CPU_BITS" = "x32"; then
|
||||
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, not possible with x32" >&5
|
||||
+$as_echo "no, not possible with x32" >&6; }
|
||||
+ BUILD_CDS_ARCHIVE="false"
|
||||
elif test "x$enable_cds_archive" = "xyes"; then
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes, forced" >&5
|
||||
$as_echo "yes, forced" >&6; }
|
||||
diff --git a/common/autoconf/jdk-options.m4 b/common/autoconf/jdk-options.m4
|
||||
index b9f251750..e2f7dc907 100644
|
||||
--- a/common/autoconf/jdk-options.m4
|
||||
+++ b/common/autoconf/jdk-options.m4
|
||||
@@ -814,6 +814,9 @@ AC_DEFUN_ONCE([JDKOPT_ENABLE_DISABLE_CDS_ARCHIVE],
|
||||
if test "x$COMPILE_TYPE" = "xcross"; then
|
||||
AC_MSG_RESULT([no, not possible with cross compilation])
|
||||
BUILD_CDS_ARCHIVE="false"
|
||||
+ elif test "x$OPENJDK_TARGET_CPU_BITS" = "x32"; then
|
||||
+ AC_MSG_RESULT([no, not possible with cross x32])
|
||||
+ BUILD_CDS_ARCHIVE="false"
|
||||
elif test "x$enable_cds_archive" = "xyes"; then
|
||||
AC_MSG_RESULT([yes, forced])
|
||||
BUILD_CDS_ARCHIVE="true"
|
||||
--
|
||||
2.22.0
|
||||
|
||||
67
Disable-no-compressedOop-cds-on-x86-32.patch
Normal file
67
Disable-no-compressedOop-cds-on-x86-32.patch
Normal file
@ -0,0 +1,67 @@
|
||||
From dd8c7151af05146c8fbc2b5d0dd94e38db6129e9 Mon Sep 17 00:00:00 2001
|
||||
From: xiezhaokun <xiezhaokun@huawei.com>
|
||||
Date: Thu, 2 Feb 2023 15:52:21 +0800
|
||||
Subject: [PATCH 5/6] Disable no compressedOop cds on x86-32
|
||||
|
||||
DTS/AR: DTS2023020203620
|
||||
Summary: <JDK> : Disable no compressedOop cds on x86-32
|
||||
LLT: NA
|
||||
Patch Type:Huawei
|
||||
Bug url: NA
|
||||
---
|
||||
common/autoconf/generated-configure.sh | 4 ----
|
||||
common/autoconf/jdk-options.m4 | 3 ---
|
||||
jdk/make/BuildJdk.gmk | 4 ++++
|
||||
3 files changed, 4 insertions(+), 7 deletions(-)
|
||||
|
||||
diff --git a/common/autoconf/generated-configure.sh b/common/autoconf/generated-configure.sh
|
||||
index b3a9640f1..a6ba1ac93 100644
|
||||
--- a/common/autoconf/generated-configure.sh
|
||||
+++ b/common/autoconf/generated-configure.sh
|
||||
@@ -14729,10 +14729,6 @@ $as_echo_n "checking if a default CDS archive should be generated... " >&6; }
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no, not possible with cross compilation" >&5
|
||||
$as_echo "no, not possible with cross compilation" >&6; }
|
||||
BUILD_CDS_ARCHIVE="false"
|
||||
- elif test "x$OPENJDK_TARGET_CPU_BITS" = "x32"; then
|
||||
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, not possible with x32" >&5
|
||||
-$as_echo "no, not possible with x32" >&6; }
|
||||
- BUILD_CDS_ARCHIVE="false"
|
||||
elif test "x$enable_cds_archive" = "xyes"; then
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes, forced" >&5
|
||||
$as_echo "yes, forced" >&6; }
|
||||
diff --git a/common/autoconf/jdk-options.m4 b/common/autoconf/jdk-options.m4
|
||||
index e2f7dc907..b9f251750 100644
|
||||
--- a/common/autoconf/jdk-options.m4
|
||||
+++ b/common/autoconf/jdk-options.m4
|
||||
@@ -814,9 +814,6 @@ AC_DEFUN_ONCE([JDKOPT_ENABLE_DISABLE_CDS_ARCHIVE],
|
||||
if test "x$COMPILE_TYPE" = "xcross"; then
|
||||
AC_MSG_RESULT([no, not possible with cross compilation])
|
||||
BUILD_CDS_ARCHIVE="false"
|
||||
- elif test "x$OPENJDK_TARGET_CPU_BITS" = "x32"; then
|
||||
- AC_MSG_RESULT([no, not possible with cross x32])
|
||||
- BUILD_CDS_ARCHIVE="false"
|
||||
elif test "x$enable_cds_archive" = "xyes"; then
|
||||
AC_MSG_RESULT([yes, forced])
|
||||
BUILD_CDS_ARCHIVE="true"
|
||||
diff --git a/jdk/make/BuildJdk.gmk b/jdk/make/BuildJdk.gmk
|
||||
index 67074568d..ac87d42cd 100644
|
||||
--- a/jdk/make/BuildJdk.gmk
|
||||
+++ b/jdk/make/BuildJdk.gmk
|
||||
@@ -106,10 +106,14 @@ images:
|
||||
ifeq ($(BUILD_CDS_ARCHIVE), true)
|
||||
echo Creating CDS archive for jdk image
|
||||
$(JDK_IMAGE_DIR)/bin/java -Xshare:dump -Xmx128M -Xms128M -XX:ParallelGCThreads=1 -Xint $(LOG_INFO)
|
||||
+ ifeq ($(OPENJDK_TARGET_CPU_BITS), 64)
|
||||
$(JDK_IMAGE_DIR)/bin/java -Xshare:dump -Xmx128M -Xms128M -XX:ParallelGCThreads=1 -Xint -XX:-UseCompressedOops $(LOG_INFO)
|
||||
+ endif
|
||||
echo Creating CDS archive for jre image
|
||||
$(JRE_IMAGE_DIR)/bin/java -Xshare:dump -Xmx128M -Xms128M -XX:ParallelGCThreads=1 -Xint $(LOG_INFO)
|
||||
+ ifeq ($(OPENJDK_TARGET_CPU_BITS), 64)
|
||||
$(JDK_IMAGE_DIR)/bin/java -Xshare:dump -Xmx128M -Xms128M -XX:ParallelGCThreads=1 -Xint -XX:-UseCompressedOops $(LOG_INFO)
|
||||
+ endif
|
||||
endif
|
||||
|
||||
|
||||
--
|
||||
2.22.0
|
||||
|
||||
@ -10,32 +10,27 @@ LLT: jdk8u/hotspot/test/compiler/criticalnatives/argumentcorruption/Test8167409.
|
||||
1 file changed, 5 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/hotspot/test/compiler/criticalnatives/argumentcorruption/Test8167409.sh b/hotspot/test/compiler/criticalnatives/argumentcorruption/Test8167409.sh
|
||||
index 81695e758..1108aaf93 100644
|
||||
index e2de2d3e55..7d0431980e 100644
|
||||
--- a/hotspot/test/compiler/criticalnatives/argumentcorruption/Test8167409.sh
|
||||
+++ b/hotspot/test/compiler/criticalnatives/argumentcorruption/Test8167409.sh
|
||||
@@ -61,19 +61,24 @@ case "$OS" in
|
||||
exit 0;
|
||||
@@ -62,6 +62,11 @@ case "$OS" in
|
||||
;;
|
||||
esac
|
||||
+
|
||||
|
||||
+${TESTJAVA}${FS}bin${FS}java -XshowSettings 2>&1 | grep sun.arch.data.model | grep 32
|
||||
+if [ 0 -eq $? ] ; then
|
||||
+ M32="-m32"
|
||||
+fi
|
||||
|
||||
+
|
||||
# CriticalJNINatives is not supported for aarch64
|
||||
if [ $VM_CPU == "aarch64" ]; then
|
||||
echo "Test Passed"
|
||||
exit 0;
|
||||
fi
|
||||
|
||||
THIS_DIR=.
|
||||
|
||||
@@ -73,7 +78,7 @@ THIS_DIR=.
|
||||
cp ${TESTSRC}${FS}*.java ${THIS_DIR}
|
||||
${TESTJAVA}${FS}bin${FS}javac *.java
|
||||
|
||||
-$cc_cmd -fPIC -shared -o libCNCheckLongArgs.so \
|
||||
+$cc_cmd ${M32} -fPIC -shared -o libCNCheckLongArgs.so \
|
||||
|
||||
-$cc_cmd ${CFLAGBITS} -fPIC -shared -o libCNCheckLongArgs.so \
|
||||
+$cc_cmd ${M32} ${CFLAGBITS} -fPIC -shared -o libCNCheckLongArgs.so \
|
||||
-I${TESTJAVA}${FS}include -I${TESTJAVA}${FS}include${FS}linux \
|
||||
${TESTSRC}${FS}libCNCheckLongArgs.c
|
||||
|
||||
|
||||
@ -16,7 +16,6 @@ Subject: The code style is fixed and test cases are added
|
||||
hotspot/src/share/vm/oops/cpCache.cpp | 1 -
|
||||
hotspot/src/share/vm/oops/instanceKlass.cpp | 4 -
|
||||
hotspot/test/runtime/6929067/Test6929067.sh | 2 +-
|
||||
.../runtime/InitialThreadOverflow/testme.sh | 2 +-
|
||||
hotspot/test/runtime/Thread/StopAtExit.java | 119 ++++
|
||||
jdk/make/profile-rtjar-includes.txt | 7 +-
|
||||
.../classes/java/io/ObjectInputStream.java | 4 +-
|
||||
@ -25,7 +24,7 @@ Subject: The code style is fixed and test cases are added
|
||||
.../security/openssl/kae_cipher_rsa.c | 3 +-
|
||||
.../security/openssl/kae_keyagreement_dh.c | 4 +-
|
||||
.../openssl/RSAKeyPairGeneratorBenchmark.java | 2 +-
|
||||
23 files changed, 194 insertions(+), 668 deletions(-)
|
||||
22 files changed, 194 insertions(+), 668 deletions(-)
|
||||
create mode 100644 hotspot/test/runtime/Thread/StopAtExit.java
|
||||
|
||||
diff --git a/hotspot/src/share/vm/cds/archiveBuilder.hpp b/hotspot/src/share/vm/cds/archiveBuilder.hpp
|
||||
@ -243,19 +242,6 @@ index 438a287c..c78e1787 100644
|
||||
fi
|
||||
|
||||
# VM type: need to know server or client
|
||||
diff --git a/hotspot/test/runtime/InitialThreadOverflow/testme.sh b/hotspot/test/runtime/InitialThreadOverflow/testme.sh
|
||||
index ffd7d6e3..cf48c2fe 100644
|
||||
--- a/hotspot/test/runtime/InitialThreadOverflow/testme.sh
|
||||
+++ b/hotspot/test/runtime/InitialThreadOverflow/testme.sh
|
||||
@@ -52,7 +52,7 @@ fi
|
||||
CFLAGS="-m${VM_BITS}"
|
||||
|
||||
if [ "${VM_CPU}" == "aarch64" ]; then
|
||||
- CFLAGS="-mabi=lp64"
|
||||
+ CFLAGS=""
|
||||
fi
|
||||
|
||||
LD_LIBRARY_PATH=.:${COMPILEJAVA}/jre/lib/${VM_CPU}/${VM_TYPE}:/usr/lib:$LD_LIBRARY_PATH
|
||||
diff --git a/hotspot/test/runtime/Thread/StopAtExit.java b/hotspot/test/runtime/Thread/StopAtExit.java
|
||||
new file mode 100644
|
||||
index 00000000..8d6344a6
|
||||
|
||||
@ -5,10 +5,9 @@ Subject: [PATCH 1/3] add missing test case
|
||||
---
|
||||
.../java/testlibrary/OutputAnalyzer.java | 2 +-
|
||||
.../lookup/TestDefenderMethodLookup.java | 2 +
|
||||
.../templates/SSLSocketSSLEngineTemplate.java | 17 +++++++-
|
||||
.../com/huawei/openjdk/TestAdaptiveHeap.java | 42 +++++++++++++++++++
|
||||
version.txt | 1 +
|
||||
9 files changed, 61 insertions(+), 3 deletions(-)
|
||||
8 files changed, 51 insertions(+), 3 deletions(-)
|
||||
create mode 100644 test/jdk/com/huawei/openjdk/TestAdaptiveHeap.java
|
||||
create mode 100644 version.txt
|
||||
|
||||
@ -38,39 +37,6 @@ index 2ee40289..8ab268b5 100644
|
||||
* @run testng/othervm test.java.lang.invoke.lookup.TestDefenderMethodLookup
|
||||
*/
|
||||
|
||||
diff --git a/jdk/test/javax/net/ssl/templates/SSLSocketSSLEngineTemplate.java b/jdk/test/javax/net/ssl/templates/SSLSocketSSLEngineTemplate.java
|
||||
index 54b4e3c6..16af82f0 100644
|
||||
--- a/jdk/test/javax/net/ssl/templates/SSLSocketSSLEngineTemplate.java
|
||||
+++ b/jdk/test/javax/net/ssl/templates/SSLSocketSSLEngineTemplate.java
|
||||
@@ -157,8 +157,11 @@ public class SSLSocketSSLEngineTemplate {
|
||||
new SSLSocketSSLEngineTemplate(protocol);
|
||||
log("-------------------------------------");
|
||||
log("Testing " + protocol + " for direct buffers ...");
|
||||
- test.runTest(true);
|
||||
-
|
||||
+
|
||||
+ test.runTest(true);
|
||||
+ // invalid session
|
||||
+
|
||||
+ test.invalidSession();
|
||||
log("---------------------------------------");
|
||||
log("Testing " + protocol + " for indirect buffers ...");
|
||||
test.runTest(false);
|
||||
@@ -529,4 +532,14 @@ public class SSLSocketSSLEngineTemplate {
|
||||
}
|
||||
}
|
||||
}
|
||||
+
|
||||
+ /*
|
||||
+ * invalid session
|
||||
+ */
|
||||
+ private void invalidSession() {
|
||||
+ if (sslSocket != null && sslSocket.getSession() != null) {
|
||||
+ sslSocket.getSession().invalidate();
|
||||
+ }
|
||||
+ }
|
||||
}
|
||||
+
|
||||
diff --git a/test/jdk/com/huawei/openjdk/TestAdaptiveHeap.java b/test/jdk/com/huawei/openjdk/TestAdaptiveHeap.java
|
||||
new file mode 100644
|
||||
index 00000000..bd22ba83
|
||||
@ -125,7 +91,7 @@ index 00000000..9b614024
|
||||
--- /dev/null
|
||||
+++ b/version.txt
|
||||
@@ -0,0 +1 @@
|
||||
+8.352.8.0.13
|
||||
+8.362.9.0.13
|
||||
--
|
||||
2.23.0
|
||||
|
||||
|
||||
76
fix-SUSE-x86_32-build-failure.patch
Normal file
76
fix-SUSE-x86_32-build-failure.patch
Normal file
@ -0,0 +1,76 @@
|
||||
From 27eea716e3d9a1a67d82ea67740f477be1e5a112 Mon Sep 17 00:00:00 2001
|
||||
From: liuyulong <liuyulong35@huawei.com>
|
||||
Date: Wed, 1 Feb 2023 16:23:44 +0800
|
||||
Subject: [PATCH 3/6] fix SUSE x86_32 build failure
|
||||
|
||||
DTS/AR: DTS2023013108238
|
||||
Summary: <hotspot>: fix SUSE x86_32 build failure
|
||||
LLT: NA
|
||||
Patch Type: huawei
|
||||
Bug url: NA
|
||||
---
|
||||
hotspot/src/share/vm/utilities/elfFile.hpp | 41 +++++++++++-----------
|
||||
1 file changed, 20 insertions(+), 21 deletions(-)
|
||||
|
||||
diff --git a/hotspot/src/share/vm/utilities/elfFile.hpp b/hotspot/src/share/vm/utilities/elfFile.hpp
|
||||
index 3277a40e0..1419d7c63 100644
|
||||
--- a/hotspot/src/share/vm/utilities/elfFile.hpp
|
||||
+++ b/hotspot/src/share/vm/utilities/elfFile.hpp
|
||||
@@ -36,27 +36,6 @@
|
||||
|
||||
#ifdef _LP64
|
||||
|
||||
-#ifdef ASSERT
|
||||
-// Helper macros to print different log levels during DWARF parsing
|
||||
-#define DWARF_LOG_SUMMARY(format, ...) DWARF_LOG_WITH_LEVEL(1, format, ##__VA_ARGS__) // Same level as error logging
|
||||
-#define DWARF_LOG_ERROR(format, ...) DWARF_LOG_WITH_LEVEL(1, format, ##__VA_ARGS__)
|
||||
-#define DWARF_LOG_INFO(format, ...) DWARF_LOG_WITH_LEVEL(2, format, ##__VA_ARGS__)
|
||||
-#define DWARF_LOG_DEBUG(format, ...) DWARF_LOG_WITH_LEVEL(3, format, ##__VA_ARGS__)
|
||||
-#define DWARF_LOG_TRACE(format, ...) DWARF_LOG_WITH_LEVEL(4, format, ##__VA_ARGS__)
|
||||
-
|
||||
-#define DWARF_LOG_WITH_LEVEL(level, format, ...) \
|
||||
- if (TraceDwarfLevel >= level) { \
|
||||
- tty->print("[dwarf] "); \
|
||||
- tty->print_cr(format, ##__VA_ARGS__); \
|
||||
- }
|
||||
-#else
|
||||
-#define DWARF_LOG_SUMMARY(format, ...)
|
||||
-#define DWARF_LOG_ERROR(format, ...)
|
||||
-#define DWARF_LOG_INFO(format, ...)
|
||||
-#define DWARF_LOG_DEBUG(format, ...)
|
||||
-#define DWARF_LOG_TRACE(format, ...)
|
||||
-#endif
|
||||
-
|
||||
typedef Elf64_Half Elf_Half;
|
||||
typedef Elf64_Word Elf_Word;
|
||||
typedef Elf64_Off Elf_Off;
|
||||
@@ -93,6 +72,26 @@ typedef Elf32_Sym Elf_Sym;
|
||||
#include "memory/allocation.hpp"
|
||||
#include "utilities/decoder.hpp"
|
||||
|
||||
+#ifdef ASSERT
|
||||
+// Helper macros to print different log levels during DWARF parsing
|
||||
+#define DWARF_LOG_SUMMARY(format, ...) DWARF_LOG_WITH_LEVEL(1, format, ##__VA_ARGS__) // Same level as error logging
|
||||
+#define DWARF_LOG_ERROR(format, ...) DWARF_LOG_WITH_LEVEL(1, format, ##__VA_ARGS__)
|
||||
+#define DWARF_LOG_INFO(format, ...) DWARF_LOG_WITH_LEVEL(2, format, ##__VA_ARGS__)
|
||||
+#define DWARF_LOG_DEBUG(format, ...) DWARF_LOG_WITH_LEVEL(3, format, ##__VA_ARGS__)
|
||||
+#define DWARF_LOG_TRACE(format, ...) DWARF_LOG_WITH_LEVEL(4, format, ##__VA_ARGS__)
|
||||
+
|
||||
+#define DWARF_LOG_WITH_LEVEL(level, format, ...) \
|
||||
+ if (TraceDwarfLevel >= level) { \
|
||||
+ tty->print("[dwarf] "); \
|
||||
+ tty->print_cr(format, ##__VA_ARGS__); \
|
||||
+ }
|
||||
+#else
|
||||
+#define DWARF_LOG_SUMMARY(format, ...)
|
||||
+#define DWARF_LOG_ERROR(format, ...)
|
||||
+#define DWARF_LOG_INFO(format, ...)
|
||||
+#define DWARF_LOG_DEBUG(format, ...)
|
||||
+#define DWARF_LOG_TRACE(format, ...)
|
||||
+#endif
|
||||
|
||||
class ElfStringTable;
|
||||
class ElfSymbolTable;
|
||||
--
|
||||
2.22.0
|
||||
|
||||
@ -23,27 +23,27 @@ index 90b96d5e9..438a287c8 100644
|
||||
./invoke
|
||||
exit $?
|
||||
diff --git a/hotspot/test/runtime/InitialThreadOverflow/testme.sh b/hotspot/test/runtime/InitialThreadOverflow/testme.sh
|
||||
index ee8d35ede..ffd7d6e3d 100644
|
||||
index abafeef4..f95a2f2c 100644
|
||||
--- a/hotspot/test/runtime/InitialThreadOverflow/testme.sh
|
||||
+++ b/hotspot/test/runtime/InitialThreadOverflow/testme.sh
|
||||
@@ -51,6 +51,10 @@ fi
|
||||
|
||||
CFLAGS="-m${VM_BITS}"
|
||||
|
||||
@@ -49,6 +49,10 @@ if [ "x$gcc_cmd" = "x" ]; then
|
||||
exit 0;
|
||||
fi
|
||||
|
||||
+if [ "${VM_CPU}" == "aarch64" ]; then
|
||||
+ CFLAGS="-mabi=lp64"
|
||||
+ CFLAGS=""
|
||||
+fi
|
||||
+
|
||||
LD_LIBRARY_PATH=.:${COMPILEJAVA}/jre/lib/${VM_CPU}/${VM_TYPE}:/usr/lib:$LD_LIBRARY_PATH
|
||||
export LD_LIBRARY_PATH
|
||||
|
||||
@@ -67,7 +71,7 @@ echo "Compilation flag: ${COMP_FLAG}"
|
||||
$gcc_cmd -DLINUX ${CFLAGS} -o invoke \
|
||||
|
||||
@@ -64,7 +68,7 @@ cp ${TESTCLASSES}${FS}DoOverflow.class .
|
||||
$gcc_cmd -DLINUX ${CFLAGBITS} -o invoke \
|
||||
-I${COMPILEJAVA}/include -I${COMPILEJAVA}/include/linux \
|
||||
-L${COMPILEJAVA}/jre/lib/${VM_CPU}/${VM_TYPE} \
|
||||
- -ljvm -lpthread invoke.cxx
|
||||
+ invoke.cxx -ljvm -lpthread
|
||||
|
||||
|
||||
./invoke
|
||||
exit $?
|
||||
--
|
||||
|
||||
@ -3305,7 +3305,7 @@ new file mode 100644
|
||||
index 000000000..c5322849e
|
||||
--- /dev/null
|
||||
+++ b/hotspot/test/gc/g1/TestG1NUMATouchRegions.java
|
||||
@@ -0,0 +1,245 @@
|
||||
@@ -0,0 +1,243 @@
|
||||
+/*
|
||||
+ * Copyright (c) 2019, Oracle and/or its affiliates. All rights reserved.
|
||||
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
@ -3329,25 +3329,23 @@ index 000000000..c5322849e
|
||||
+ * questions.
|
||||
+ */
|
||||
+
|
||||
+package gc.g1;
|
||||
+package gc;
|
||||
+
|
||||
+/**
|
||||
+ * @test TestG1NUMATouchRegions
|
||||
+ * @summary Ensure the bottom of the given heap regions are properly touched with requested NUMA id.
|
||||
+ * @key gc
|
||||
+ * @requires vm.gc.G1
|
||||
+ * @requires os.family == "linux"
|
||||
+ * @library /test/lib
|
||||
+ * @library /testlibrary /testlibrary/whitebox
|
||||
+ * @modules java.base/jdk.internal.misc
|
||||
+ * java.management
|
||||
+ * @build sun.hotspot.WhiteBox
|
||||
+ * @run driver ClassFileInstaller sun.hotspot.WhiteBox
|
||||
+ * @run main/othervm -XX:+UseG1GC -Xbootclasspath/a:. -XX:+UseNUMA -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI gc.g1.TestG1NUMATouchRegions
|
||||
+ * @run main/othervm -XX:+UseG1GC -Xbootclasspath/a:. -XX:+UseNUMA -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI gc.TestG1NUMATouchRegions
|
||||
+ */
|
||||
+
|
||||
+import java.util.LinkedList;
|
||||
+import jdk.test.lib.process.OutputAnalyzer;
|
||||
+import jdk.test.lib.process.ProcessTools;
|
||||
+import com.oracle.java.testlibrary.*;
|
||||
+import sun.hotspot.WhiteBox;
|
||||
+
|
||||
+public class TestG1NUMATouchRegions {
|
||||
|
||||
Binary file not shown.
@ -146,13 +146,13 @@
|
||||
%global origin_nice OpenJDK
|
||||
%global top_level_dir_name %{origin}
|
||||
%global repo jdk8u
|
||||
%global revision jdk8u352-b08
|
||||
%global revision jdk8u362-b09
|
||||
%global full_revision %{repo}-%{revision}
|
||||
# Define IcedTea version used for SystemTap tapsets and desktop files
|
||||
%global icedteaver 3.15.0
|
||||
|
||||
%global updatever 352
|
||||
%global buildver b08
|
||||
%global updatever 362
|
||||
%global buildver b09
|
||||
# priority must be 7 digits in total. The expression is workarounding tip
|
||||
%global priority 1800%{updatever}
|
||||
|
||||
@ -916,7 +916,7 @@ Provides: java-%{javaver}-%{origin}-accessibility%{?1} = %{epoch}:%{version}-%{r
|
||||
|
||||
Name: java-%{javaver}-%{origin}
|
||||
Version: %{javaver}.%{updatever}.%{buildver}
|
||||
Release: 6
|
||||
Release: 2
|
||||
# java-1.5.0-ibm from jpackage.org set Epoch to 1 for unknown reasons
|
||||
# and this change was brought into RHEL-4. java-1.5.0-ibm packages
|
||||
# also included the epoch in their virtual provides. This created a
|
||||
@ -1129,7 +1129,6 @@ Patch243: Fix-compile-and-runtime-failures-for-minimal1-versio.patch
|
||||
Patch244: fix_X509TrustManagerImpl_symantec_distrust.patch
|
||||
Patch245: change-sa-jdi.jar-make-file-for-BEP.PATCH
|
||||
Patch246: 7092821-java.security.Provider.getService-is-synchro.patch
|
||||
Patch248: 8067941-TESTBUG-Fix-tests-for-OS-with-64K-page-size.patch
|
||||
|
||||
# 8u342
|
||||
Patch249: Improve_AlgorithmConstraints_checkAlgorithm_performance.patch
|
||||
@ -1143,7 +1142,6 @@ Patch256: 8202951-Support-default-jsa.patch
|
||||
Patch257: 8200332-Improve-GCM-counting.patch
|
||||
Patch258: dynamic-cds-_header-and-_fd-handles-are-not-free.patch
|
||||
Patch259: fix-dumped-heap-using-jhat-parsing-to-appear-failed-to-resolve-object-id-warning-message.patch
|
||||
Patch260: 8159720-Failure-of-C2-compilation-with-tiered-preven.patch
|
||||
Patch261: revert-fPIC-and-security-compilation-flag-on.patch
|
||||
Patch262: add-configuration-option-of-huawei-internal-version-shown-in-release-file.patch
|
||||
Patch263: The-code-style-is-fixed-and-test-cases-are-added.patch
|
||||
@ -1155,9 +1153,6 @@ Patch266: 8065895-Synchronous-signals-during-error-reporting-may-terminate-or-ha
|
||||
Patch267: Huawei-fix-windows-build-Dynamic-CDS-failure.patch
|
||||
Patch268: 8296480-Fix-the-problem-that-the-TestPolicy.java-cas.patch
|
||||
Patch269: 8296485-BuildEEBasicConstraints.java-test-fails-with.patch
|
||||
Patch270: 8294357-tz-Update-Timezone-Data-to-2022d.patch
|
||||
Patch271: 8296241-tz-Update-Timezone-Data-to-2022e.patch
|
||||
Patch272: 8296108-tz-Update-Timezone-Data-to-2022f.patch
|
||||
Patch273: 8257695-linux-Add-process-memory-information-to-hs-e.patch
|
||||
Patch274: 8261167-print_process_memory_info-add-a-close-call-a.patch
|
||||
Patch275: 8268893-jcmd-to-trim-the-glibc-heap.patch
|
||||
@ -1182,6 +1177,13 @@ Patch293: 8140594-Various-minor-code-improvements-compiler.patch
|
||||
Patch294: Fix-the-crash-that-occurs-when-the-process-exits-due.patch
|
||||
Patch295: Fix-AsyncGCLog-s-content-consistent-bug.patch
|
||||
|
||||
# 8u362
|
||||
Patch296: 8178968-AArch64-Remove-non-standard-code-cache-size.patch
|
||||
Patch297: 8185736-missing-default-exception-handler-in-calls-t.patch
|
||||
Patch298: Add-CMS-s-trim-test-cases-and-fix-failure.patch
|
||||
Patch299: Disable-cds-on-x86-32.patch
|
||||
Patch300: Disable-no-compressedOop-cds-on-x86-32.patch
|
||||
Patch301: fix-SUSE-x86_32-build-failure.patch
|
||||
|
||||
#############################################
|
||||
#
|
||||
@ -1654,7 +1656,6 @@ pushd %{top_level_dir_name}
|
||||
%patch244 -p1
|
||||
%patch245 -p1
|
||||
%patch246 -p1
|
||||
%patch248 -p1
|
||||
%patch249 -p1
|
||||
%patch250 -p1
|
||||
%patch251 -p1
|
||||
@ -1666,7 +1667,6 @@ pushd %{top_level_dir_name}
|
||||
%patch257 -p1
|
||||
%patch258 -p1
|
||||
%patch259 -p1
|
||||
%patch260 -p1
|
||||
%patch261 -p1
|
||||
%patch262 -p1
|
||||
%patch263 -p1
|
||||
@ -1676,9 +1676,6 @@ pushd %{top_level_dir_name}
|
||||
%patch267 -p1
|
||||
%patch268 -p1
|
||||
%patch269 -p1
|
||||
%patch270 -p1
|
||||
%patch271 -p1
|
||||
%patch272 -p1
|
||||
%patch273 -p1
|
||||
%patch274 -p1
|
||||
%patch275 -p1
|
||||
@ -1702,6 +1699,12 @@ pushd %{top_level_dir_name}
|
||||
%patch293 -p1
|
||||
%patch294 -p1
|
||||
%patch295 -p1
|
||||
%patch296 -p1
|
||||
%patch297 -p1
|
||||
%patch298 -p1
|
||||
%patch299 -p1
|
||||
%patch300 -p1
|
||||
%patch301 -p1
|
||||
popd
|
||||
|
||||
# System library fixes
|
||||
@ -2320,7 +2323,36 @@ require "copy_jdk_configs.lua"
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
* Wed Jan 11 2023 eapen<zhangyipeng7@huawei.com> - 1:1.8.0.352-b08.6
|
||||
* Wed Feb 15 2023 kuenking111<wangkun49@huawei.com> - 1:1.8.0.362-b09.2
|
||||
- add Add-CMS-s-trim-test-cases-and-fix-failure.patch
|
||||
- add Disable-cds-on-x86-32.patch
|
||||
- add Disable-no-compressedOop-cds-on-x86-32.patch
|
||||
- add fix-SUSE-x86_32-build-failure.patch
|
||||
|
||||
* Mon Jan 30 2023 kuenking111<wangkun49@huawei.com> - 1:1.8.0.362-b09.1
|
||||
- add 8178968-AArch64-Remove-non-standard-code-cache-size.patch
|
||||
- add 8185736-missing-default-exception-handler-in-calls-t.patch
|
||||
|
||||
* Sat Jan 28 2023 kuenking111<wangkun49@huawei.com> - 1:1.8.0.362-b09.0
|
||||
- modified 6858051-Create-GC-worker-threads-dynamically.patch
|
||||
- modified 7092821-java.security.Provider.getService-is-synchro.patch
|
||||
- deleted 8067941-TESTBUG-Fix-tests-for-OS-with-64K-page-size.patch
|
||||
- deleted 8159720-Failure-of-C2-compilation-with-tiered-preven.patch
|
||||
- modified 8166253.patch
|
||||
- modified 8196485.patch
|
||||
- modified 8200720-Print-additional-information-in-thread-dump-.patch
|
||||
- modified 8293114-GC-should-trim-the-native-heap-and-bug-fix.patch
|
||||
- deleted 8294357-tz-Update-Timezone-Data-to-2022d.patch
|
||||
- deleted 8296108-tz-Update-Timezone-Data-to-2022f.patch
|
||||
- deleted 8296241-tz-Update-Timezone-Data-to-2022e.patch
|
||||
- modified Test8167409.sh-fails-to-run-with-32bit-jdk-on-64bit-.patch
|
||||
- modified The-code-style-is-fixed-and-test-cases-are-added.patch
|
||||
- modified add-missing-test-case.patch
|
||||
- modified fix-testme-Test6929067-run-faild.patch
|
||||
- modified g1gc-numa-aware-Implementation.patch
|
||||
- upgrade to jdk8u362-b09
|
||||
|
||||
* Wed Jan 11 2023 eapen<zhangyipeng7@huawei.com> - 1:1.8.0.352-b08.5
|
||||
- add 8296480-Fix-the-problem-that-the-TestPolicy.java-cas.patch
|
||||
- add 8296485-BuildEEBasicConstraints.java-test-fails-with.patch
|
||||
- add 8294357-tz-Update-Timezone-Data-to-2022d.patch
|
||||
@ -2350,9 +2382,6 @@ require "copy_jdk_configs.lua"
|
||||
- add Fix-the-crash-that-occurs-when-the-process-exits-due.patch
|
||||
- add Fix-AsyncGCLog-s-content-consistent-bug.patch
|
||||
|
||||
* Wed Dec 14 2022 DXwangg<wangjiawei80@huawei.com> - 1:1.8.0.352-b08.5
|
||||
- downgrade copy-jdk-configs from 3.9 to 3.3 in Requires
|
||||
|
||||
* Tue Oct 25 2022 kuenking111<wangkun49@huawei.com> - 1:1.8.0.352-b08.4
|
||||
- add Huawei-fix-windows-build-Dynamic-CDS-failure.patch
|
||||
|
||||
@ -2502,7 +2531,7 @@ require "copy_jdk_configs.lua"
|
||||
- deleted Delete-expired-certificate-globalsignr2ca.patch
|
||||
- deleted inline-optimize-for-aarch64.patch
|
||||
|
||||
* Tue Jan 05 2021 noah <hedongbo@huawei.com> - 1:1.8.0.312-b07.11
|
||||
* Wed Jan 05 2022 noah <hedongbo@huawei.com> - 1:1.8.0.312-b07.11
|
||||
- adapted to newst cjc to fix issue with rpm 4.17
|
||||
|
||||
* Tue Dec 21 2021 kuenking111 <wangkun49@huawei.com> - 1:1.8.0.312-b07.10
|
||||
@ -2648,7 +2677,7 @@ require "copy_jdk_configs.lua"
|
||||
* Fri May 21 2021 kuenking111 <wangkun49@huawei.com> - 1:1.8.0.292-b10.1
|
||||
- add 8247691_incorrect_handling_of_VM_exceptions_in_C1_deopt_stub.patch
|
||||
|
||||
* Tue May 18 2021 eapen <zhangyipeng7@huawei.com> - 1:1.8.0.292-b10.0
|
||||
* Wed May 19 2021 eapen <zhangyipeng7@huawei.com> - 1:1.8.0.292-b10.0
|
||||
- update to jdk8u292-b10
|
||||
- split sync-patch to multi patches
|
||||
|
||||
|
||||
0
tapsets-icedtea-3.15.0.tar.xz
Executable file → Normal file
0
tapsets-icedtea-3.15.0.tar.xz
Executable file → Normal file
Loading…
x
Reference in New Issue
Block a user