Skip to content

Commit e99dda9

Browse files
committed
[patch] rebase JDK11 patches
1 parent 59add99 commit e99dda9

5 files changed

Lines changed: 13 additions & 13 deletions

File tree

scripts/jdk11.patch

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
diff --git a/make/autoconf/flags-other.m4 b/make/autoconf/flags-other.m4
2-
index ffd093ee1..0bb8172bc 100644
2+
index dbbeaf11c..985b06cbd 100644
33
--- a/make/autoconf/flags-other.m4
44
+++ b/make/autoconf/flags-other.m4
5-
@@ -121,6 +121,10 @@ AC_DEFUN([FLAGS_SETUP_ASFLAGS_CPU_DEP],
5+
@@ -119,6 +119,10 @@ AC_DEFUN([FLAGS_SETUP_ASFLAGS_CPU_DEP],
66
# Misuse EXTRA_CFLAGS to mimic old behavior
77
$2JVM_ASFLAGS="$JVM_BASIC_ASFLAGS ${$2EXTRA_CFLAGS}"
88

@@ -14,7 +14,7 @@ index ffd093ee1..0bb8172bc 100644
1414
])
1515

1616
diff --git a/make/autoconf/flags.m4 b/make/autoconf/flags.m4
17-
index 472e7a638..a7a7b8467 100644
17+
index 1ffc43726..159a329b8 100644
1818
--- a/make/autoconf/flags.m4
1919
+++ b/make/autoconf/flags.m4
2020
@@ -34,7 +34,7 @@ m4_include([flags-other.m4])
@@ -37,7 +37,7 @@ index 472e7a638..a7a7b8467 100644
3737
ARM_FLOAT_TYPE=vfp-sflt
3838
ARM_ARCH_TYPE_FLAGS='-march=armv5t -marm'
3939
diff --git a/src/hotspot/cpu/arm/assembler_arm_32.hpp b/src/hotspot/cpu/arm/assembler_arm_32.hpp
40-
index 53d6d17de..f52495086 100644
40+
index 53d6d17de..00abcbaf7 100644
4141
--- a/src/hotspot/cpu/arm/assembler_arm_32.hpp
4242
+++ b/src/hotspot/cpu/arm/assembler_arm_32.hpp
4343
@@ -498,7 +498,7 @@ class Assembler : public AbstractAssembler {

scripts/jdk11_cds.patch

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
diff --git a/src/hotspot/share/memory/metaspaceShared.cpp b/src/hotspot/share/memory/metaspaceShared.cpp
2-
index 3a577827f..062fc5dd4 100644
2+
index 40c5f7be1..e43428a23 100644
33
--- a/src/hotspot/share/memory/metaspaceShared.cpp
44
+++ b/src/hotspot/share/memory/metaspaceShared.cpp
5-
@@ -132,7 +132,7 @@ private:
5+
@@ -133,7 +133,7 @@ private:
66
public:
77
DumpRegion(const char* name) : _name(name), _base(NULL), _top(NULL), _end(NULL), _is_packed(false) {}
88

@@ -11,7 +11,7 @@ index 3a577827f..062fc5dd4 100644
1111
char* p = (char*)align_up(_top, alignment);
1212
char* newtop = p + align_up(num_bytes, alignment);
1313
expand_top_to(newtop);
14-
@@ -1124,7 +1124,7 @@ public:
14+
@@ -1130,7 +1130,7 @@ public:
1515
address obj = ref->obj();
1616
int bytes = ref->size() * BytesPerWord;
1717
char* p;

scripts/jdk11_lib.patch

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@ index a4b67f09f..15f6f94db 100644
1515
ifeq ($(OPENJDK_TARGET_CPU_BITS), 64)
1616
RC_DESC := 64-Bit$(SPACE)
1717
diff --git a/src/hotspot/os/linux/os_linux.cpp b/src/hotspot/os/linux/os_linux.cpp
18-
index 4a7986e46..ea530bbce 100644
18+
index 2cccc9767..35a62ca1b 100644
1919
--- a/src/hotspot/os/linux/os_linux.cpp
2020
+++ b/src/hotspot/os/linux/os_linux.cpp
21-
@@ -406,10 +406,10 @@ void os::init_system_properties_values() {
21+
@@ -408,10 +408,10 @@ void os::init_system_properties_values() {
2222
// 1: ...
2323
// ...
2424
// 7: The default directories, normally /lib and /usr/lib.

scripts/jdk11_new.patch

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -73,10 +73,10 @@ index 342c1c347..ac86ecfbd 100644
7373
}
7474
#endif // !AARCH64
7575
diff --git a/src/hotspot/share/memory/metaspaceShared.cpp b/src/hotspot/share/memory/metaspaceShared.cpp
76-
index 2b82d1305..3a577827f 100644
76+
index f20f5305c..40c5f7be1 100644
7777
--- a/src/hotspot/share/memory/metaspaceShared.cpp
7878
+++ b/src/hotspot/share/memory/metaspaceShared.cpp
79-
@@ -62,6 +62,7 @@
79+
@@ -63,6 +63,7 @@
8080
#include "utilities/align.hpp"
8181
#include "utilities/defaultStream.hpp"
8282
#include "utilities/hashtable.inline.hpp"
@@ -85,7 +85,7 @@ index 2b82d1305..3a577827f 100644
8585
#include "gc/g1/g1Allocator.inline.hpp"
8686
#include "gc/g1/g1CollectedHeap.hpp"
8787
diff --git a/src/hotspot/share/oops/constantPool.cpp b/src/hotspot/share/oops/constantPool.cpp
88-
index e531669ee..ced9bd611 100644
88+
index 6ebf9513b..543fff64b 100644
8989
--- a/src/hotspot/share/oops/constantPool.cpp
9090
+++ b/src/hotspot/share/oops/constantPool.cpp
9191
@@ -400,8 +400,12 @@ void ConstantPool::remove_unshareable_info() {

scripts/jdk11_nosflt.patch

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
diff --git a/src/hotspot/cpu/arm/assembler_arm_32.hpp b/src/hotspot/cpu/arm/assembler_arm_32.hpp
2-
index 53d6d17de..f52495086 100644
2+
index 00abcbaf7..f52495086 100644
33
--- a/src/hotspot/cpu/arm/assembler_arm_32.hpp
44
+++ b/src/hotspot/cpu/arm/assembler_arm_32.hpp
55
@@ -1239,10 +1239,11 @@ extern int __aeabi_dcmpgt(double, double);

0 commit comments

Comments
 (0)