Hello community,
here is the log from the commit of package java-1_7_0-openjdk for
openSUSE:Factory checked in at 2013-11-26 06:10:21
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/java-1_7_0-openjdk (Old)
and /work/SRC/openSUSE:Factory/.java-1_7_0-openjdk.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "java-1_7_0-openjdk"
Changes:
--------
--- /work/SRC/openSUSE:Factory/java-1_7_0-openjdk/java-1_7_0-openjdk.changes
2013-11-21 15:25:21.000000000 +0100
+++
/work/SRC/openSUSE:Factory/.java-1_7_0-openjdk.new/java-1_7_0-openjdk.changes
2013-11-26 06:10:22.000000000 +0100
@@ -1,0 +2,6 @@
+Thu Nov 21 15:21:21 UTC 2013 - [email protected]
+
+- fix stackoverflow for powerpc
+ (java-1_7_0-openjdk-ppc-stackoverflow.patch)
+
+-------------------------------------------------------------------
New:
----
java-1_7_0-openjdk-ppc-stackoverflow.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ java-1_7_0-openjdk.spec ++++++
--- /var/tmp/diff_new_pack.oalMeo/_old 2013-11-26 06:10:25.000000000 +0100
+++ /var/tmp/diff_new_pack.oalMeo/_new 2013-11-26 06:10:25.000000000 +0100
@@ -190,6 +190,7 @@
Patch105: java-1.7.0-openjdk-ppc-zero-hotspot.patch
Patch106: java-1.7.0-openjdk-freetype-check-fix.patch
+Patch110: java-1_7_0-openjdk-ppc-stackoverflow.patch
# Patches for AArch64
Patch108: java-1.7.0-openjdk-zero-arch.patch
@@ -563,6 +564,7 @@
# PPC fixes
qpatch -p0 %{PATCH104}
qpatch -p0 %{PATCH105}
+qpatch -p1 %{PATCH110}
%endif
# AArch64 fixes
++++++ java-1_7_0-openjdk-ppc-stackoverflow.patch ++++++
diff -r 0505a797849f openjdk/hotspot/src/os/linux/vm/os_linux.cpp
--- a/openjdk/hotspot/src/os/linux/vm/os_linux.cpp Wed Oct 23 05:23:32 2013
+0100
+++ b/openjdk/hotspot/src/os/linux/vm/os_linux.cpp Thu Oct 24 14:21:47 2013
+0000
@@ -4538,6 +4538,7 @@
initial_time_count = os::elapsed_counter();
pthread_mutex_init(&dl_mutex, NULL);
+NOT_ZERO (
// If the pagesize of the VM is greater than 8K determine the appropriate
// number of initial guard pages. The user can change this with the
// command line arguments, if needed.
@@ -4546,6 +4547,7 @@
StackRedPages = 1;
StackShadowPages =
round_to((StackShadowPages*Linux::vm_default_page_size()), vm_page_size()) /
vm_page_size();
}
+)
}
// To install functions for atexit system call
@@ -4598,9 +4600,16 @@
// size. Add a page for compiler2 recursion in main thread.
// Add in 2*BytesPerWord times page size to account for VM stack during
// class initialization depending on 32 or 64 bit VM.
+NOT_ZERO (
os::Linux::min_stack_allowed = MAX2(os::Linux::min_stack_allowed,
(size_t)(StackYellowPages+StackRedPages+StackShadowPages) *
Linux::page_size() +
(2*BytesPerWord COMPILER2_PRESENT(+1)) *
Linux::vm_default_page_size());
+)
+ZERO_ONLY (
+ os::Linux::min_stack_allowed = MAX2(os::Linux::min_stack_allowed,
+ (size_t)(StackYellowPages+StackRedPages+StackShadowPages+
+ 2*BytesPerWord COMPILER2_PRESENT(+1)) *
Linux::page_size());
+)
size_t threadStackSizeInBytes = ThreadStackSize * K;
if (threadStackSizeInBytes != 0 &&
--
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]