Commit graph

283 commits

Author SHA1 Message Date
Erik Joelsson
3789983e89 8187443: Forest Consolidation: Move files to unified layout
Reviewed-by: darcy, ihse
2017-09-12 19:03:39 +02:00
Gerard Ziemski
59445a845c 8173715: Remove FlatProfiler
Obsoleted Xprof flag, removed FlatProfiler code

Reviewed-by: dholmes, coleenp, vlivanov, pliden
2017-08-31 20:26:53 -05:00
Goetz Lindenmaier
b07974fd9f 8186072: dll_build_name returns true even if file is missing
Split dll_build_name into two functions and consolidate to os.cpp file.

Reviewed-by: stuefe, dholmes
2017-08-17 17:26:02 +02:00
John Paul Adrian Glaubitz
bfaabfed8c 8186723: Add SuperH as new architecture for linux
Reviewed-by: dholmes, stuefe
2017-08-27 20:09:21 -04:00
John Paul Adrian Glaubitz
33f7b43ace 8186655: Identifier strings for PowerPC 64 LE and PowerPC 64 are swapped
Reviewed-by: stuefe, dholmes
2017-08-23 17:45:49 -04:00
John Paul Adrian Glaubitz
78950924d0 8186221: Define CPU search_string for M68K
Reviewed-by: dholmes
2017-08-14 21:04:57 -04:00
Vladimir Kozlov
eb20e62194 8183262: noexecstack check in os::dll_load on Linux is too expensive
Convert ElfFile::specifies_noexecstack() to static method which read file header and check executable stack flag.

Reviewed-by: iklam, stuefe
2017-07-05 11:03:19 -07:00
Stefan Karlsson
a18f1c2d58 8183552: Move align functions to align.hpp
Reviewed-by: stuefe, pliden
2017-07-05 11:33:17 +02:00
Stefan Karlsson
dbd3b5a79e 8178499: Remove _ptr_ and _size_ infixes from align functions
Reviewed-by: rehn, tschatzl
2017-07-04 15:58:10 +02:00
Stefan Karlsson
0fcf645cff 8178489: Make align functions more type safe and consistent
Reviewed-by: mgerdin, rehn
2017-04-12 17:53:18 +02:00
Coleen Phillimore
7225e6008d 8182848: Some functions misplaced in debug.hpp
Moved to vmError.hpp,cpp where they seemed more appropriate

Reviewed-by: stefank, stuefe
2017-06-28 19:12:58 -04:00
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