/[packages]/cauldron/java-1.8.0-openjdk/current/SOURCES/1015432.patch
ViewVC logotype

Contents of /cauldron/java-1.8.0-openjdk/current/SOURCES/1015432.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 623672 - (show annotations) (download)
Sun May 18 20:25:02 2014 UTC (9 years, 10 months ago) by dmorgan
File size: 1072 byte(s)
New version
1 --- jdk8/hotspot/src/os/linux/vm/os_linux.cpp Wed Oct 23 15:44:12 2013 -0700
2 +++ jdk8/hotspot/src/os/linux/vm/os_linux.cpp Thu Dec 19 16:03:33 2013 +0000
3 @@ -4797,9 +4797,19 @@
4 // size. Add a page for compiler2 recursion in main thread.
5 // Add in 2*BytesPerWord times page size to account for VM stack during
6 // class initialization depending on 32 or 64 bit VM.
7 +
8 +
9 os::Linux::min_stack_allowed = MAX2(os::Linux::min_stack_allowed,
10 (size_t)(StackYellowPages+StackRedPages+StackShadowPages) * Linux::page_size() +
11 - (2*BytesPerWord COMPILER2_PRESENT(+1)) * Linux::vm_default_page_size());
12 + (2*BytesPerWord COMPILER2_PRESENT(+1))
13 + *
14 +#ifdef PPC
15 + NOT_ZERO ( Linux::vm_default_page_size() )
16 + ZERO_ONLY ( Linux::page_size() )
17 +#else
18 + ( Linux::vm_default_page_size() )
19 +#endif
20 + );
21
22 size_t threadStackSizeInBytes = ThreadStackSize * K;
23 if (threadStackSizeInBytes != 0 &&

  ViewVC Help
Powered by ViewVC 1.1.30