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
Kim Barrett
e54adefc2f
8186166: Generalize Atomic::cmpxchg with templates
...
Reviewed-by: dholmes, coleenp
2017-08-23 14:01:17 +02:00
Jesper Wilhelmsson
efd1054686
8182299: Enable disabled clang warnings, build on OSX 10 + Xcode 8
...
8182656: Make the required changes in GC code to build on OSX 10 + Xcode 8
8182657: Make the required changes in Runtime code to build on OSX 10 + Xcode 8
8182658: Make the required changes in Compiler code to build on OSX 10 + Xcode 8
Co-authored-by: Paul Hohensee <hohensee@amazon.com>
Reviewed-by: jwilhelm, ehelin, phh
2017-07-06 01:50:26 +02: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
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
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
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
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
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
Goetz Lindenmaier
8a945875b6
8159335: Fix problems with stack overflow handling
...
Reviewed-by: dlong, coleenp, mdoerr
2016-06-13 09:28:25 +02: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
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
Thomas Stuefe
3487b38cc4
8148425: strerror() function is not thread-safe
...
Reviewed-by: dholmes, coleenp
2016-03-12 08:35:05 +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
David Holmes
15d7ff42b0
8145725: Remove the WorkAroundNPTLTimedWaitHang workaround
...
Reviewed-by: ddmitriev, stuefe, dcubed
2016-02-10 18:57:19 -05:00
Frederic Parain
ae7f8632ce
8146751: jdk/test/tools/launcher/TooSmallStackSize.java failed on Mac OS
...
Reviewed-by: dholmes, gtriantafill
2016-01-19 05:28:34 -08: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
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
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
Coleen Phillimore
ed82cd0ee8
Merge
2015-10-23 23:06:53 +02:00
Coleen Phillimore
f1e89ea4cc
8140274: methodHandles and constantPoolHandles should be passed as const references
...
Modified code to use const reference parameters
Reviewed-by: sspitsyn, twisti
2015-10-23 16:48:38 -04:00
Bob Vandette
d369cdd811
Merge
2015-10-21 16:38:48 -04:00
Bob Vandette
d65d34b99d
8136556: Add the ability to perform static builds of MacOSX x64 binaries
...
Reviewed-by: ihse, bdelsart, gadams, lfoltan, rriggs, hseigel, twisti
2015-10-19 13:21:37 -04:00
David Lindholm
5770f4eb32
8042893: compiler: PRAGMA_FORMAT_MUTE_WARNINGS_FOR_GCC needs to be removed from source files
...
8042894: runtime: PRAGMA_FORMAT_MUTE_WARNINGS_FOR_GCC needs to be removed from source files
Reviewed-by: goetz, brutisso
2015-10-09 09:42:33 +02:00
David Lindholm
1e71f67736
8080775: Better argument formatting for assert() and friends
...
Reviewed-by: kbarrett, pliden
2015-09-29 11:02:08 +02:00
David Holmes
8dfd822c41
8080298: Clean up os::...::supports_variable_stack_size()
...
Reviewed-by: kbarrett, simonis, stuefe, coleenp
2015-08-03 16:54:08 -04:00
Coleen Phillimore
24c0f4e471
8026324: hs_err improvement: Add summary section to hs_err file
...
8026333: hs_err improvement: Print GC Strategy
8026336: hs_err improvement: Print compilation mode, server, client or tiered
Added command line, summary cpu and os information to summary section. Moved time of crash and duration in summary section. Add GC strategy and compiler setting (tiered) to enhanced version string in error report. Moved the stack trace sooner in hs_err file.
Reviewed-by: dholmes, ctornqvi, ddmitriev
2015-07-22 00:03:45 -04:00
Stefan Karlsson
1a534420a8
8087322: Implement a Semaphore utility class
...
Reviewed-by: kbarrett, dholmes
2015-01-19 11:06:08 +01:00
Thomas Stuefe
b46373e827
8078513: [linux] Clean up code relevant to LinuxThreads implementation
...
Reviewed-by: dholmes, sla, coleenp, simonis
2015-06-22 19:21:04 -04:00
Coleen Phillimore
2a2b10342e
Merge
2015-06-17 15:45:43 +00:00
Coleen Phillimore
29a1b9c2ed
8085865: hs_err improvement: Printing /proc/cpuinfo makes too long hs_err files
...
Summarize information from linux-x86; it's too long and redundant
Reviewed-by: gtriantafill, dholmes, mgerdin, dcubed
2015-06-17 11:30:51 -04:00
Bertrand Delsart
a6a13b5344
8079473: allow demangling to be optional in dll_address_to_function_name
...
Add a demangling boolean argument to dll_address_to_function_name and decode
Reviewed-by: dholmes, simonis
2015-06-16 11:58:25 +02:00
Christian Tornqvist
665eee5efe
8080718: Make -XX:CreateCoredumpOnCrash control core dumping in all cases
...
Reviewed-by: sla, dholmes, gtriantafill
2015-06-01 14:02:59 -07:00
David Holmes
650fe66a1b
8077674: BSD build failures due to undefined macros
...
Reviewed-by: dsamersoff, kbarrett, hseigel
2015-04-20 21:32:28 -04:00