782 Commits

Author SHA1 Message Date
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
Kim Barrett
e54adefc2f 8186166: Generalize Atomic::cmpxchg with templates
Reviewed-by: dholmes, coleenp
2017-08-23 14:01:17 +02:00
Goetz Lindenmaier
c5488874c2 8186293: [aix] Fix thread creation with huge stack sizes
Reviewed-by: stuefe, dholmes
2017-08-16 16:00:15 +02:00
John Paul Adrian Glaubitz
78950924d0 8186221: Define CPU search_string for M68K
Reviewed-by: dholmes
2017-08-14 21:04:57 -04:00
Matthias Baesken
cf1044d114 8184323: compile-time guard some UseSharedSpaces-only coding with the INCLUDE_CDS macro
Reviewed-by: jiangli, shade, simonis
2017-07-18 15:46:04 -04:00
Robbin Ehn
cc9648a8b8 8183925: Decouple crash protection from watcher thread
Reviewed-by: dcubed, coleenp
2017-07-07 23:11:33 +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
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
9f9bfb8d8e 8178501: Replace usages of align macros with calls to the align inline functions
Reviewed-by: mgerdin, tschatzl
2017-04-24 09:14:09 +02:00
Stefan Karlsson
d37b9c1f8d 8178500: Replace usages of round_to and round_down with align_up and align_down
Reviewed-by: rehn, tschatzl
2017-04-13 09:57:51 +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
Mikael Gerdin
f21390e927 8183229: Implement WindowsSemaphore::trywait
Reviewed-by: redestad, stefank, kbarrett
2017-06-30 10:36:32 +02:00
Mikael Gerdin
e62cebc78a 8183203: Remove stubRoutines_os
Reviewed-by: stefank, tschatzl
2017-06-30 10:36:32 +02:00
Mikael Gerdin
d39a34d689 8183198: Factor out thread state serialization into a proper helper function
Reviewed-by: tschatzl, eosterlund, coleenp
2017-06-26 15:25:25 +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
Coleen Phillimore
f2b191c2a1 Merge 2017-06-28 20:21:04 +00:00
Coleen Phillimore
9edb2c5e5a 8182554: Code for os::random() assumes long is 32 bits
And make updating the _rand_seed thread safe.

Reviewed-by: stuefe, kbarrett, stefank
2017-06-28 16:14:20 -04:00
Thomas Stuefe
428063dd5e 8182984: [aix] Make stack traces independent on successful vm initialization
Reviewed-by: simonis, mdoerr, clanger
2017-06-28 16:12:54 +02:00
Thomas Stuefe
f525172036 8182864: [aix] os::print_native_callstack should not assert for primordial threadness
Reviewed-by: clanger, mdoerr
2017-06-27 07:52:50 +02:00
Kim Barrett
08361aedba Merge 2017-06-23 01:08:42 +00:00
Kim Barrett
6cc7e33ce7 8181449: Fix debug.hpp / globalDefinitions.hpp dependency inversion
Refactor debug.hpp and reverse include dependency.

Reviewed-by: coleenp, stefank, dcubed
2017-06-22 20:47:22 -04:00
Thomas Stuefe
7c972a103a 8182034: os::Posix::is_valid_signal() should, if it uses sigaddset, initialize the signal set
Added missing sigemptyset.

Reviewed-by: kbarrett, clanger
2017-06-13 08:09:17 +02:00
Erik Österlund
2a0bd0cd04 8181785: Remove the experimental ClearFPUAtPark JVM Flag
Removing the experimental and unstable ClearFPUAtPark optimization for SPARC

Reviewed-by: kbarrett, tschatzl, rehn
2017-06-14 08:47:27 +02:00
Kim Barrett
8a5654850e 8086005: Define __STDC_xxx_MACROS config macros globally via build system
Moved macro definitions to hotspot build configuration

Reviewed-by: erikj, eosterlund
2017-06-13 11:10:33 -04:00
Kim Barrett
98a9f40e34 8181787: Remove Solaris SPARC GCC code
Remove obsolete code.

Reviewed-by: kbarrett, coleenp, gtriantafill
2017-06-13 07:30:11 -04:00
George Triantafillou
39a08d3fd9 8166748: Clean out Windows IA64 support
Reviewed-by: kbarrett, coleenp, bobv, mdoerr
2017-06-08 13:17:51 -04:00
Thomas Stuefe
40fd8cda73 8171504: [aix] On AIX, -XXaltjvm=<path> option is ignored
Reviewed-by: clanger, mdoerr
2017-06-06 17:07:42 +02:00
David Holmes
8ce49ec34e 8181451: JDK-8174231 broke some clang builds
Reviewed-by: stuefe, kbarrett, iveresov
2017-06-02 05:24:28 -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
Mikael Vidstedt
292ac89940 8180184: Add DATA and FSIZE to os::Posix::print_rlimit_info
Reviewed-by: dholmes, stuefe
2017-05-30 15:41:23 -07: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
Vladimir Kempik
84fde21dc7 8177522: -XX:OnOutOfMemoryError does not work if supplied twice on windows
Use cmd /c on windows to execute onError commands

Reviewed-by: dholmes, hseigel
2017-05-18 08:14:33 -04:00
Mikael Vidstedt
4b288cf612 8180003: Remove sys/ prefix from poll.h and signal.h includes
Reviewed-by: dholmes, bpb
2017-05-11 17:55:03 -07:00
Mikael Vidstedt
41f95937de 8180039: Use more portable print format/arguments for rlim_t
Reviewed-by: dholmes, mgerdin, stuefe
2017-05-11 08:40:32 -07: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
Rachel Protacio
66fa0999d1 8168122: Update logging in perfMemory to Unified Logging
-XX:+PerfTraceMemOps replaced with -Xlog:perf+memops=debug, -XX:+PerfTraceDataCreation replaced with -Xlog:perf+datacreation=debug

Reviewed-by: sspitsyn, coleenp
2017-04-24 11:32:38 -04:00
Thomas Stuefe
2aad9e57f8 8176872: [s390] wrong pc shown in error logs
Reviewed-by: dholmes, dsamersoff
2017-03-21 14:14:06 +01: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
David Holmes
cee7beace2 8175817: Clean up Solaris signal code: SIGUSR2, SIGasync, SIGJVM1/2
Reviewed-by: rehn, stuefe, dsamersoff
2017-03-19 16:40:09 -04: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
Bob Vandette
929fc23c45 Merge 2017-02-24 12:41:26 -05:00
Thomas Stuefe
8f9584260e 8166944: Hanging Error Reporting steps may lead to torn error logs
Interupt error reporting if reporting steps hang to enable subsequent reporting steps to run.

Reviewed-by: cjplummer, dholmes
2017-02-23 15:59:14 -05:00
Lana Steuck
e02360463a Merge 2017-02-09 18:15:37 +00:00
David Holmes
fe4d1bb602 8173421: Obsolete and expired flags for JDK 10 need to be removed and related tests updated
Reviewed-by: lfoltan, mikael, dcubed
2017-01-31 19:26:50 -05:00
Thomas Stuefe
3c619c2451 8172964: [aix] AIX VM should not handle SIGDANGER
Reviewed-by: simonis, clanger
2017-01-19 10:30:37 +01:00
Robbin Ehn
b1c82624b9 8079441: Intermittent failures on Windows with "Unexpected exit from test [exit code: 1080890248]" (0x406d1388)
Do not raise (windows thread name) exception 0x406d1388 when no debugger is attached.

Reviewed-by: iklam, stuefe
2017-01-11 12:47:16 +01:00
Daniel D. Daugherty
a6fa72b21c Merge 2016-12-20 19:52:52 -08:00