Skip to content

Commit 80ff69d

Browse files
committed
[patch] fix AssumeMP patch
1 parent ad2c530 commit 80ff69d

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

scripts/jdk10.patch

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
diff -r b09e56145e11 make/autoconf/flags.m4
22
--- a/make/autoconf/flags.m4 Thu Mar 08 04:23:31 2018 +0000
3-
+++ b/make/autoconf/flags.m4 Fri Apr 06 22:21:26 2018 +0200
3+
+++ b/make/autoconf/flags.m4 Sat Apr 07 12:29:32 2018 +0200
44
@@ -30,7 +30,7 @@
55
AC_DEFUN([FLAGS_SETUP_ABI_PROFILE],
66
[
@@ -31,7 +31,7 @@ diff -r b09e56145e11 make/autoconf/flags.m4
3131
$2JVM_ASFLAGS="[$]$2JVM_ASFLAGS -x assembler-with-cpp -mno-omit-leaf-frame-pointer -mstack-alignment=16"
3232
diff -r b09e56145e11 src/hotspot/cpu/arm/assembler_arm_32.hpp
3333
--- a/src/hotspot/cpu/arm/assembler_arm_32.hpp Thu Mar 08 04:23:31 2018 +0000
34-
+++ b/src/hotspot/cpu/arm/assembler_arm_32.hpp Fri Apr 06 22:21:26 2018 +0200
34+
+++ b/src/hotspot/cpu/arm/assembler_arm_32.hpp Sat Apr 07 12:29:32 2018 +0200
3535
@@ -498,7 +498,7 @@
3636
void dmb(DMB_Opt opt, Register reg) {
3737
if (VM_Version::arm_arch() >= 7) {
@@ -65,7 +65,7 @@ diff -r b09e56145e11 src/hotspot/cpu/arm/assembler_arm_32.hpp
6565

6666
diff -r b09e56145e11 src/hotspot/cpu/arm/vm_version_arm_32.cpp
6767
--- a/src/hotspot/cpu/arm/vm_version_arm_32.cpp Thu Mar 08 04:23:31 2018 +0000
68-
+++ b/src/hotspot/cpu/arm/vm_version_arm_32.cpp Fri Apr 06 22:21:26 2018 +0200
68+
+++ b/src/hotspot/cpu/arm/vm_version_arm_32.cpp Sat Apr 07 12:29:32 2018 +0200
6969
@@ -298,6 +298,15 @@
7070
FLAG_SET_DEFAULT(UseUnalignedAccesses, false);
7171
}
@@ -74,17 +74,17 @@ diff -r b09e56145e11 src/hotspot/cpu/arm/vm_version_arm_32.cpp
7474
+ if (arm_arch() == 5) {
7575
+ if (FLAG_IS_DEFAULT(AssumeMP)) {
7676
+ FLAG_SET_DEFAULT(AssumeMP, false);
77-
+ else if (AssumeMP) {
77+
+ } else if (AssumeMP) {
7878
+ warning("AssumeMP can not be true for ARMv5 as there is only uniprocessor support");
7979
+ FLAG_SET_DEFAULT(AssumeMP, false);
8080
+ }
81-
+ }
81+
+ }
8282
_is_initialized = true;
8383
}
8484

8585
diff -r b09e56145e11 src/hotspot/os_cpu/linux_arm/orderAccess_linux_arm.inline.hpp
8686
--- a/src/hotspot/os_cpu/linux_arm/orderAccess_linux_arm.inline.hpp Thu Mar 08 04:23:31 2018 +0000
87-
+++ b/src/hotspot/os_cpu/linux_arm/orderAccess_linux_arm.inline.hpp Fri Apr 06 22:21:26 2018 +0200
87+
+++ b/src/hotspot/os_cpu/linux_arm/orderAccess_linux_arm.inline.hpp Sat Apr 07 12:29:32 2018 +0200
8888
@@ -71,7 +71,7 @@
8989
__asm__ volatile (
9090
".word 0xF57FF050 | 0xf" : : : "memory");
@@ -105,7 +105,7 @@ diff -r b09e56145e11 src/hotspot/os_cpu/linux_arm/orderAccess_linux_arm.inline.h
105105
"mcr p15, 0, %0, c7, c10, 5"
106106
diff -r b09e56145e11 src/hotspot/share/runtime/globals.hpp
107107
--- a/src/hotspot/share/runtime/globals.hpp Thu Mar 08 04:23:31 2018 +0000
108-
+++ b/src/hotspot/share/runtime/globals.hpp Fri Apr 06 22:21:26 2018 +0200
108+
+++ b/src/hotspot/share/runtime/globals.hpp Sat Apr 07 12:29:32 2018 +0200
109109
@@ -586,7 +586,7 @@
110110
range(8, 256) \
111111
constraint(ObjectAlignmentInBytesConstraintFunc,AtParse) \

0 commit comments

Comments
 (0)