Per Lidén
ce57b75eef
8181319: Make os::Linux::sched_getcpu() available even when UseNUMA is false
...
Reviewed-by: dholmes, rehn
2017-05-31 13:17:00 +02:00
Zhengyu Gu
025c1e8da9
8181055: PPC64: "mbind: Invalid argument" still seen after 8175813
...
Use numa_interleave_memory v2 api when available
Reviewed-by: dholmes, shade, gromero
2017-05-31 09:19:28 -04:00
David Holmes
3a8c8edb86
8174231: Factor out and share PlatformEvent and Parker code for POSIX systems
...
Reviewed-by: stuefe, rehn, dcubed
2017-05-30 17:14:52 -04:00
Gustavo Romero
0e0b42b18a
8175813: PPC64: "mbind: Invalid argument" when -XX:+UseNUMA is used
...
Reviewed-by: simonis, dholmes
2017-05-07 16:42:03 -04:00
Chris Plummer
17a8069db3
8176768: hotspot ignores PTHREAD_STACK_MIN when creating new threads
...
Use PTHREAD_STACK_MIN as a minimum, plus other stack size cleanup
Reviewed-by: dholmes, stuefe, dcubed
2017-03-23 11:10:55 -07:00
Thomas Stuefe
35d5d1c53d
8173848: realpath is unsafe
...
Fix occurrences of realpath in hotspot to use safe POSIX.1-2008 form.
Reviewed-by: dsamersoff, dholmes, clanger
2017-03-13 20:23:11 +01:00
Daniel D. Daugherty
a6fa72b21c
Merge
2016-12-20 19:52:52 -08:00
David Holmes
ca6eb09ef7
8170307: Stack size option -Xss is ignored
...
Reviewed-by: dcubed, sspitsyn
2016-12-18 22:07:31 -05:00
Erik Joelsson
6d271f4386
8066474: Remove the lib/ directory from Linux and Solaris images
...
Reviewed-by: tbell, ihse, kvn
2016-12-05 17:57:43 +01:00
Goetz Lindenmaier
c5a2c4af0e
8169373: Work around linux NPTL stack guard error
...
Also skip libc guard page for compiler thread, merge similar code on linux platforms, and streamline libc guard page handling on linuxs390, linuxppc, aixppc.
Reviewed-by: dholmes, dcubed, kvn
2016-11-08 16:30:36 +01:00
Goetz Lindenmaier
7aed968c10
8166560: [s390] Basic enablement of s390 port
...
Also fix problem with ARM Elf configuration.
Reviewed-by: dholmes, coleenp
2016-09-22 18:23:15 +02:00
Ron Durbin
2bb3bc6449
8140520: segfault on solaris-amd64 with "-XX:VMThreadStackSize=1" option
...
Split the single thread_min_stack_allowed into three distinct values (java_thread_min_stack_allowed, compiler_thread_min_stack_allowed and vm_internal_thread_min_stack_allowed) on non-Windows platforms.
Reviewed-by: dcubed, gthornbr, dholmes, coleenp, fparain, aph
2016-09-09 11:14:57 -07:00
David Holmes
1a8f8e22f1
8165153: Crash in rebuild_cpu_to_node_map
...
Use processor_count(), not active_processor_count() to determine physical number of CPUs
Reviewed-by: rehn, cjplummer
2016-09-07 16:43:32 -04:00
Christian Tornqvist
f2dafaefc7
8163146: Remove os::check_heap on Windows
...
Reviewed-by: gtriantafill, coleenp, stuefe
2016-08-23 21:49:33 -04:00
David Holmes
5f1f4489ac
8157907: Incorrect inclusion of atomic.hpp instead of atomic.inline.hpp
...
Remove atomic.inline.hpp and move the contents back into atomic.hpp
Reviewed-by: stefank, pliden, simonis
2016-08-21 20:56:37 -04:00
David Holmes
74e840d64c
8159461: bigapps/Kitchensink/stressExitCode hits assert: Must be VMThread or JavaThread
...
Reviewed-by: fparain, simonis, dcubed
2016-08-12 00:19:44 -04:00
Goetz Lindenmaier
da3339948e
8161258: Simplify including platform files
...
Include patform files with macros cpu_header() etc. Do various cleanups of macro usages. Remove _64/_32 from adlc generated files and platform .hpp files. Merge stubRoutines_x86*.hpp. Remove empty mutex_<os>* files.
Reviewed-by: dholmes, coleenp, kbarrett
2016-07-13 12:23:05 +02:00
Yasumasa Suenaga
146cbf3702
8160353: narrowing conversion error is occurred with GCC 6
...
Reviewed-by: kbarrett, dholmes
2016-07-04 12:43:01 +09:00
Goetz Lindenmaier
8a945875b6
8159335: Fix problems with stack overflow handling
...
Reviewed-by: dlong, coleenp, mdoerr
2016-06-13 09:28:25 +02:00
Vladimir Ivanov
36daf60d8f
Merge
2016-05-20 18:05:09 +03:00
Brian Gardner
0e8376bd17
8154715: Missing destructor and/or TLS clearing calls for terminating threads
...
Clear TLS on return from thread->run() unless already done. Prohibit asynchronous thread deletion.
Reviewed-by: stefank, sspitsyn
2016-05-11 01:02:28 -04:00
Goetz Lindenmaier
1e4b00b1dc
8140594: Various minor code improvements (compiler)
...
Various minor code improvements (compiler)
Reviewed-by: thartmann, kvn
2016-05-03 12:23:06 +02:00
Stefan Karlsson
9ca6318ece
8017629: G1: UseSHM in combination with a G1HeapRegionSize > os::large_page_size() falls back to use small pages
...
Reviewed-by: pliden, sjohanss, stuefe
2016-04-25 11:36:14 +02:00
Matthias Baesken
d88ba0b30d
8154566: os_linux.cpp parse_os_info gives non descriptive output on current SLES releases
...
For SuSE, read the first line of the /etc/xrelease file, also get PRETTY_NAME from /etc/os_release
Reviewed-by: gthornbr, coleenp
2016-04-23 15:21:48 -04:00
Marcus Larsson
8b2f63bd2b
8146879: Add option for handling existing log files in UL
...
Reviewed-by: dsamersoff, gziemski, rehn
2016-04-11 12:22:09 +02:00
Coleen Phillimore
0d3e7977ae
8151939: VM_Version_init() print buffer is too small
...
Increase buffer size, use logging to print out version and os information
Reviewed-by: kvn, rprotacio, mockner
2016-04-07 16:37:35 -04:00
Jesper Wilhelmsson
132e217524
Merge
2016-03-19 01:23:46 +01:00
Thomas Stuefe
3487b38cc4
8148425: strerror() function is not thread-safe
...
Reviewed-by: dholmes, coleenp
2016-03-12 08:35:05 +01:00
David Holmes
7f66b2839b
8137165: Tests fail in SR_Handler because thread is not VMThread or JavaThread
...
Reviewed-by: kbarrett
2016-03-15 03:00:32 -04:00
Matthias Baesken
f90ee56f23
8151593: Cleanup definition/usage of INLINE/NOINLINE macros and add xlC support
...
Reviewed-by: coleenp, stuefe
2016-03-11 16:39:38 +01:00
Thomas Stuefe
31f86a2308
8150619: Improve thread based logging introduced with 8149036
...
Reviewed-by: coleenp, dholmes
2016-02-29 08:50:57 +01:00
Thomas Stuefe
3634fb9df2
8149036: Add tracing for thread related events at os level
...
Reviewed-by: coleenp, mlarsson, dholmes
2016-02-24 18:06:34 +01:00
Gustavo Romero
1c2427a182
8150353: PPC64LE: Support RTM on linux
...
Reviewed-by: mdoerr, kvn
2016-03-07 10:03:06 -03:00
David Holmes
1246d21895
8149697: Fix for 8145725 is broken
...
As per the existing comment we needed to check the saved 'index' instead
Reviewed-by: gthornbr, dcubed, kbarrett
2016-02-11 15:43:30 -05:00
David Holmes
e82f5cf677
8148987: [Linux] Allow building on older systems without CPU_ALLOC support
...
Reviewed-by: dsamersoff, stuefe, dcubed
2016-02-10 22:22:48 -05:00
David Holmes
15d7ff42b0
8145725: Remove the WorkAroundNPTLTimedWaitHang workaround
...
Reviewed-by: ddmitriev, stuefe, dcubed
2016-02-10 18:57:19 -05:00
David Holmes
1875f65a54
6515172: Runtime.availableProcessors() ignores Linux taskset command
...
Extract processor count from sched_getaffinity mask
Reviewed-by: dcubed, stuefe, gthornbr
2016-01-29 05:32:12 -05:00
Goetz Lindenmaier
b5bca5cc1b
8139864: Improve handling of stack protection zones
...
Reviewed-by: stuefe, coleenp, fparain
2015-12-20 10:37:23 -05:00
Thomas Stuefe
6996edcbb5
8144219: [posix] Remove redundant code around os::print_siginfo()
...
For posix platforms, consolidate os::print_siginfo() in os_posix.cpp and remove cds fault special handling
Reviewed-by: dholmes, simonis
2015-12-09 14:56:02 +01:00
Thomas Stuefe
0eda47f124
8145114: const-correctness for ucontext_t* reading functions
...
Reviewed-by: dholmes, coleenp
2015-12-14 02:29:11 -05:00
Alexander Smundak
74f0500a47
8073139: PPC64: User-visible arch directory and os.arch value on ppc64le cause issues with Java tooling
...
Set LIBARCH to ppc64le, make SA and hsdis work, have os.arch return ppc64le on PowerPC64 LE
Co-authored-by: Andrew Hughes <gnu.andrew@redhat.com>
Reviewed-by: dholmes, ihse
2015-12-13 22:32:16 -05:00
Frederic Parain
ef800bd53f
8046936: JEP 270: Reserved Stack Areas for Critical Sections
...
Reviewed-by: acorn, dcubed
2015-12-11 09:07:07 -08:00
Mikael Vidstedt
c9fc986a36
8144881: Various fixes to linux/sparc
...
Fixed sigflags printing, format specfiers, codeCache includes and some function returns
Reviewed-by: dsamersoff, simonis
2015-12-08 11:36:16 -08:00
David Holmes
6e0ea9d21c
8132510: Replace ThreadLocalStorage with compiler/language-based thread-local variables
...
Used compiled-based TLS when available. Additional contributions by Thomas Stufe (AIX) and Andrew Haley (Aarch64)
Reviewed-by: stuefe, bdelsart, dcubed
2015-12-04 04:06:37 -05:00
Thomas Stuefe
9e9eac05ae
8143291: Remove redundant coding around os::exception_name
...
Reviewed-by: dholmes, coleenp
2015-12-01 21:30:34 -05:00
Sebastian Sickelmann
4699c70e25
8136978: Much nearly duplicated code for vmError support
...
Moved all non os specific code in vmError_[os].cpp to vmError_posix.cpp, moved os specific code to os_[os].cpp and refactored all other references accordingly
Reviewed-by: stuefe, coleenp, dholmes
2015-11-25 16:33:28 +01:00
Goetz Lindenmaier
0a4657e8c1
8141529: Fix handling of _JAVA_SR_SIGNUM
...
Reviewed-by: dholmes, stuefe, dsamersoff
2015-11-05 15:05:59 +01:00
Goetz Lindenmaier
3b8c97faae
8140482: Various minor code improvements (runtime)
...
Reviewed-by: dholmes, coleenp, sspitsyn, dsamersoff
2015-10-26 16:21:37 +01:00
Thomas Stuefe
9adaaa0c96
8140648: Clean up remnants of fork1() from non-solaris platforms
...
Clean up any remnants of fork1() from Non-Solaris platforms
Reviewed-by: dholmes, goetz
2015-11-03 19:53:10 -05:00
David Holmes
fee39c63e6
8129526: Solaris: clean up another remnant of interruptible I/O
...
Reviewed-by: fparain, dcubed
2015-10-30 00:23:07 -04:00