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
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
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
Goetz Lindenmaier
83b3b21342
8139040: Fix initializations before ShouldNotReachHere() etc. and enable -Wuninitialized on linux
...
Reviewed-by: stuefe, coleenp, roland
2015-10-22 13:07:10 -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
Matthias Klose
e587cb7165
8135298: Fix zero builds for "unknown" architectures on linux
...
Add zero architectures for default cases
Reviewed-by: coleenp
2015-09-09 23:47:32 -04:00
David Holmes
6b3f9d3d1a
8029453: java/util/concurrent/locks/ReentrantLock/TimeoutLockLoops.java failed by timeout
...
Reviewed-by: bdelsart, ddmitriev, dcubed
2015-08-13 22:08:40 -04: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
Jeremy Manson
4b348c9fec
6661889: thread id on Linux is inconsistent in error and log outputs
...
Reviewed-by: dholmes, kvn
2015-07-29 22:59:03 -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
Daniel D. Daugherty
5cf176b870
Merge
2015-05-16 13:19:11 -07:00
Jesper Wilhelmsson
042902811c
Merge
2015-05-11 16:30:26 +02:00
Claes Redestad
a890eee817
8079263: Suppress warning about disabling adaptive size policy when enabling UseLargePages with UseNUMA when adaptive size policy is disabled
...
Reviewed-by: jmasa, jwilhelm
2015-05-08 15:41:39 +02:00
David Holmes
5c859405b5
8078470: [Linux] Replace syscall use in os::fork_and_exec with glibc fork() and execve()
...
Reviewed-by: stuefe, dsamersoff, dcubed
2015-05-12 20:55:40 -04:00
Thomas Stuefe
301298546c
8077276: allocating heap with UseLargePages and HugeTLBFS may trash existing memory mappings (linux)
...
Remove MAP_FIXED from initial mapping allocation; add tests
Reviewed-by: stefank, coleenp
2015-04-23 18:00:50 +02: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
Yumin Qi
d30de5ab31
8074354: Make CreateMinidumpOnCrash a new name and available on all platforms
...
Rename CreateMinidumpOnCrash which is used only for Windows as CreateCoredumpOnCrash and make it available for all platforms. Changed order for dumping core on Windows to be similar on other platforms. Also reviewed by thomas.stuefe@gmail.com
Co-authored-by: Thomas Stuefe <thomas.stuefe@gmail.com>
Reviewed-by: dcubed
2015-04-15 17:34:28 -07:00
Max Ockner
bdbad87334
6983747: Remove obsolete dl_mutex lock
...
Unused dl_mutex lock has been removed.
Reviewed-by: hseigel, coleenp, dholmes
2015-04-02 10:12:49 -04:00
Jeremy Manson
0353353bde
8074895: os::getenv is inadequate
...
Reviewed-by: dholmes, coleenp
2015-03-30 17:32:18 -04:00
Goetz Lindenmaier
a7edf52a02
8073315: Enable gcc -Wtype-limits and fix upcoming issues
...
Relevant fixes in blockOffsetTable.cpp, os_linux.cpp, parCardTableModRefBS.cpp.
Reviewed-by: jwilhelm, kbarrett, simonis
2015-02-16 14:07:36 +01:00
Dean Long
aa21fdd0c0
8072383: resolve conflicts between open and closed ports
...
Refactor close to remove references to closed ports
Reviewed-by: kvn, simonis, dholmes
2015-02-24 17:23:53 -05:00
Vladimir Kozlov
239370b736
Merge
2015-02-26 10:56:54 -08:00
Daniel Fuchs
967c448681
8068730: Increase the precision of the implementation of java.time.Clock.systemUTC()
...
Changes the implementation of java.time.Clock.systemUTC() to take advantage of the maximum resolution of the underlying native clock on which System.currentTimeMillis() is based.
Reviewed-by: dholmes, rriggs, scolebourne, sla
2015-01-28 17:52:48 +01:00
Vladimir Kozlov
5f8d6ce7b6
Merge
2015-01-20 15:24:58 -08:00
Yasumasa Suenaga
bd3ea105b9
8059586: hs_err report should treat redirected core pattern
...
Reviewed-by: dholmes, sla, stuefe
2014-12-14 20:18:17 -05:00