diff options
Diffstat (limited to 'recipes-core/openjdk/patches-openjdk-8/1001-hotspot-fix-crash-on-JNI_CreateJavaVM.patch')
-rw-r--r-- | recipes-core/openjdk/patches-openjdk-8/1001-hotspot-fix-crash-on-JNI_CreateJavaVM.patch | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/recipes-core/openjdk/patches-openjdk-8/1001-hotspot-fix-crash-on-JNI_CreateJavaVM.patch b/recipes-core/openjdk/patches-openjdk-8/1001-hotspot-fix-crash-on-JNI_CreateJavaVM.patch index 280ee60..b2e50e0 100644 --- a/recipes-core/openjdk/patches-openjdk-8/1001-hotspot-fix-crash-on-JNI_CreateJavaVM.patch +++ b/recipes-core/openjdk/patches-openjdk-8/1001-hotspot-fix-crash-on-JNI_CreateJavaVM.patch | |||
@@ -1,7 +1,7 @@ | |||
1 | From 5e8080a8dd56205f550f7c490f864c95dc8e509b Mon Sep 17 00:00:00 2001 | 1 | From 4d1bd6a65c52564f32761217ded7b9bdde43556b Mon Sep 17 00:00:00 2001 |
2 | From: Wenlin Kang <wenlin.kang@windriver.com> | 2 | From: Wenlin Kang <wenlin.kang@windriver.com> |
3 | Date: Sun, 17 Feb 2019 22:38:33 -0800 | 3 | Date: Sun, 17 Feb 2019 22:38:33 -0800 |
4 | Subject: [PATCH 1001/1012] hotspot: fix crash on JNI_CreateJavaVM | 4 | Subject: [PATCH 1001/1013] hotspot: fix crash on JNI_CreateJavaVM |
5 | 5 | ||
6 | In function os::pd_create_stack_guard_pages(char* addr, size_t size), | 6 | In function os::pd_create_stack_guard_pages(char* addr, size_t size), |
7 | when addr < os::Linux::initial_thread_stack_bottom(), usually munmap() | 7 | when addr < os::Linux::initial_thread_stack_bottom(), usually munmap() |
@@ -19,10 +19,10 @@ Signed-off-by: Richard Leitner <richard.leitner@skidata.com> | |||
19 | 1 file changed, 2 insertions(+), 1 deletion(-) | 19 | 1 file changed, 2 insertions(+), 1 deletion(-) |
20 | 20 | ||
21 | diff --git a/hotspot/src/os/linux/vm/os_linux.cpp b/hotspot/src/os/linux/vm/os_linux.cpp | 21 | diff --git a/hotspot/src/os/linux/vm/os_linux.cpp b/hotspot/src/os/linux/vm/os_linux.cpp |
22 | index 03cabfefb..4f28cc1fb 100644 | 22 | index c477851c1..47eef1e7c 100644 |
23 | --- a/hotspot/src/os/linux/vm/os_linux.cpp | 23 | --- a/hotspot/src/os/linux/vm/os_linux.cpp |
24 | +++ b/hotspot/src/os/linux/vm/os_linux.cpp | 24 | +++ b/hotspot/src/os/linux/vm/os_linux.cpp |
25 | @@ -3192,7 +3192,8 @@ bool os::pd_create_stack_guard_pages(char* addr, size_t size) { | 25 | @@ -3227,7 +3227,8 @@ bool os::pd_create_stack_guard_pages(char* addr, size_t size) { |
26 | uintptr_t stack_extent = (uintptr_t) os::Linux::initial_thread_stack_bottom(); | 26 | uintptr_t stack_extent = (uintptr_t) os::Linux::initial_thread_stack_bottom(); |
27 | unsigned char vec[1]; | 27 | unsigned char vec[1]; |
28 | 28 | ||
@@ -33,5 +33,5 @@ index 03cabfefb..4f28cc1fb 100644 | |||
33 | stack_extent = (uintptr_t) get_stack_commited_bottom( | 33 | stack_extent = (uintptr_t) get_stack_commited_bottom( |
34 | os::Linux::initial_thread_stack_bottom(), | 34 | os::Linux::initial_thread_stack_bottom(), |
35 | -- | 35 | -- |
36 | 2.24.1 | 36 | 2.26.2 |
37 | 37 | ||