Marcus Larsson
17dce93f31
8145934: Make ttyLocker equivalent for Unified Logging framework
...
Reviewed-by: rprotacio, stuefe, jrose
2016-05-09 15:46:12 +02:00
Igor Ignatyev
66686b8152
8149591: Prepare hotspot for GTest
...
Co-authored-by: Stefan Karlsson <stefan.karlsson@oracle.com>
Co-authored-by: Stefan Sarne <stefan.sarne@oracle.com>
Co-authored-by: Jesper Wilhelmsson <jesper.wilhelmsson@oracle.com>
Co-authored-by: Erik Helin <erik.helin@oracle.com>
Co-authored-by: Alexandre Iline <alexandre.iline@oracle.com>
Reviewed-by: jwilhelm
2016-05-09 14:15:39 +03:00
Goetz Lindenmaier
dafa24689b
8154921: Fix aix after "8146879: Add option for handling existing log files in UL"
...
Rename os::fileno to os::get_fileno because AIX defines macro 'fileno'.
Reviewed-by: coleenp
2016-04-22 14:57:18 +02: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
Jesper Wilhelmsson
b7ca1e57ee
Merge
2016-03-23 23:36:29 +01:00
Chris Hegarty
9978f9b065
Merge
2016-03-22 17:04:25 +00:00
Alan Bateman
f30fc1c88b
8142968: Module System implementation
...
Initial integration of JEP 200, JEP 260, JEP 261, and JEP 282
Co-authored-by: Alex Buckley <alex.buckley@oracle.com>
Co-authored-by: Jonathan Gibbons <jonathan.gibbons@oracle.com>
Co-authored-by: Karen Kinnear <karen.kinnear@oracle.com>
Co-authored-by: Mandy Chung <mandy.chung@oracle.com>
Co-authored-by: Mark Reinhold <mark.reinhold@oracle.com>
Co-authored-by: Harold Seigel <harold.seigel@oracle.com>
Co-authored-by: Lois Foltan <lois.foltan@oracle.com>
Co-authored-by: Calvin Cheung <calvin.cheung@oracle.com>
Co-authored-by: Christian Tornqvist <christian.tornqvist@oracle.com>
Co-authored-by: Erik Joelsson <erik.joelsson@oracle.com>
Co-authored-by: George Triantafillou <george.triantafillou@oracle.com>
Co-authored-by: Igor Ignatyev <igor.ignatyev@oracle.com>
Co-authored-by: Ioi Lam <ioi.lam@oracle.com>
Co-authored-by: James Laskey <james.laskey@oracle.com>
Co-authored-by: Jean-Francois Denise <jean-francois.denise@oracle.com>
Co-authored-by: Jiangli Zhou <jiangli.zhou@oracle.com>
Co-authored-by: Markus Gronlund <markus.gronlund@oracle.com>
Co-authored-by: Serguei Spitsyn <serguei.spitsyn@oracle.com>
Co-authored-by: Staffan Larsen <staffan.larsen@oracle.com>
Co-authored-by: Sundararajan Athijegannathan <sundararajan.athijegannathan@oracle.com>
Reviewed-by: acorn, ccheung, coleenp, ctornqvi, dholmes, dsimms, gtriantafill, iklam, jiangli, mgronlun, mseledtsov, cjplummer, sspitsyn, stefank, twisti, hseigel, lfoltan, alanb, mchung, dfazunen
2016-03-17 19:04:01 +00:00
Thomas Stuefe
3487b38cc4
8148425: strerror() function is not thread-safe
...
Reviewed-by: dholmes, coleenp
2016-03-12 08:35:05 +01:00
Sharath Ballal
1df8126210
8147456: Parsing of argument for -agentpath can write outside of allocated memory
...
Reviewed-by: sspitsyn, dholmes
2016-03-07 20:58:09 +03: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
Robbin Ehn
a81f4a10da
8148219: Add decorator hostname to UL
...
Reviewed-by: dholmes, mlarsson
2016-02-17 11:11:47 +01:00
Joseph Provino
9288ff53e7
Merge
2016-01-07 21:10:28 +00:00
Andrew Haley
c4a81b327d
8145096: Undefined behaviour in HotSpot
...
Fix some integer overflows
Reviewed-by: jrose, kvn, kbarrett, adinn, iklam
2015-12-21 16:58:29 +00:00
Thomas Stuefe
0eda47f124
8145114: const-correctness for ucontext_t* reading functions
...
Reviewed-by: dholmes, coleenp
2015-12-14 02:29:11 -05:00
David Lindholm
1f55a9122c
8145073: Filename and linenumber are not printed for asserts any more
...
Reviewed-by: dholmes, stuefe
2015-12-10 08:50:36 +01: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
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
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
Gerald Thornbrugh
d56280ca10
8141445: Use of Solaris/SPARC M7 libadimalloc.so can generate unknown signal in hs_err file
...
Add libadimalloc.so SIGSEGV defines and a test to validate the correct message is printed in the hs_err file
Reviewed-by: dcubed, dholmes
2015-11-18 09:32:52 -08:00
Rachel Protacio
54f5cc46d7
8138916: Logging write function does not allow for long enough messages
...
The unified logging framework's vwrite function is updated to allow strings longer than 512 characters, for the sake of messages of non-pre-determined length.
Reviewed-by: coleenp, dsamersoff, mlarsson
2015-11-04 17:18:59 -05: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
Volker Simonis
8cc8dd861a
8132232: Signature mismatch between declaration and definition of PosixSemaphore::timedwait
...
Reviewed-by: dholmes, kbarrett
2015-07-23 16:29:48 +02: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
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
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
Coleen Phillimore
4250926e07
8066803: compiler/intrinsics/mathexact/SubExactINonConstantTest.java crashed in os::is_first_C_frame(frame*)
...
Stop native stack walk when we get to compiled or stub frame.
Reviewed-by: hseigel, lfoltan, ctornqvi
2014-12-12 13:19:33 -05:00
Goetz Lindenmaier
0aa09022fa
8062370: Various minor code improvements
...
A lot of fixes useful to improve the code quality.
Reviewed-by: coleenp, dholmes
2014-10-29 10:13:24 +01:00
Yumin Qi
9b0811172b
8056930: Output host info under some condition for core dump
...
Output host name after java crashed for debug version.
Reviewed-by: dholmes, ccheung
2014-09-08 22:48:09 -07:00
Zhengyu Gu
f0cf82f571
8046598: Scalable Native memory tracking development
...
Enhance scalability of native memory tracking
Reviewed-by: coleenp, ctornqvi, gtriantafill
2014-08-07 12:18:58 -07:00
Goetz Lindenmaier
f2051ed6fa
8048241: Introduce umbrella header os.inline.hpp and clean up includes
...
Reviewed-by: coleenp, dholmes, lfoltan
2014-06-26 16:05:15 +02:00
David Chase
305ec3bd3f
8037816: Fix for 8036122 breaks build with Xcode5/clang
...
Repaired or selectively disabled offending formats; future-proofed with additional checking
Reviewed-by: kvn, jrose, stefank
2014-05-09 16:50:54 -04:00
Harold Seigel
b2c117b170
Merge
2014-02-23 13:16:03 -05:00
Vladimir Kozlov
5117e1a805
Merge
2014-02-19 12:08:49 -08:00
Frederic Parain
eff08434da
6546236: Thread interrupt() of Thread.sleep() can be lost on Solaris due to race with signal handler
...
Reviewed-by: dholmes, dcubed
2014-02-19 16:22:15 +00:00
Staffan Larsen
eaac73cf84
8032462: Change the linux SDT implementation to use USDT2 instead of USDT1
...
Reviewed-by: coleenp, sspitsyn, kamg
2014-02-03 13:41:26 +01:00
Vladimir Kozlov
c3a0e80e0b
Merge
2014-01-28 12:25:34 -08:00
Staffan Larsen
6f46c5c2f0
8031968: Mac OS X: VM starts the agent by calling both Agent_OnAttach and Agent_OnAttach_L functions if its agent library is dynamically linked
...
Make sure we only look for statically linked agents in the main process image
Reviewed-by: dsamersoff, bpittore, dcubed
2014-01-23 09:06:21 +01:00
Mikael Vidstedt
a0da47fd66
8029233: Update copyright year to match last edit in jdk8 hotspot repository for 2013
...
Copyright year updated for files modified during 2013
Reviewed-by: twisti, iveresov
2013-12-24 11:48:39 -08:00
Vladimir Kozlov
39b0e57fdd
Merge
2013-11-05 17:38:04 -08:00
Vladimir Kozlov
1a700c9216
Merge
2013-09-05 11:04:39 -07:00
Daniel D. Daugherty
379674be8f
Merge
2013-08-30 07:04:42 -07:00
Staffan Larsen
026aac8993
8023720: (hotspot) setjmp/longjmp changes the process signal mask on OS X
...
Reviewed-by: dholmes, rbackman
2013-08-29 11:05:55 +02:00
Bill Pittore
993de8ba28
8014135: The JVMTI specification does not conform to recent changes in JNI specification
...
Added support for statically linked agents
Reviewed-by: sspitsyn, bobv, coleenp
2013-08-23 20:33:02 -04:00
Goetz Lindenmaier
fac7ee02c5
8023033: PPC64 (part 13): basic changes for AIX
...
Added AIX includes alpha-sorted before BSD. Fix compilation issues with xlC in shared code. Basic shared platform dependend adaption (vm_version etc.).
Reviewed-by: kvn, dholmes, stefank
2013-08-22 09:39:54 -07:00
Thomas Stuefe
a72b868ac2
8020775: PPC64 (part 12): posix signal printing
...
Implement methods printing posix signal information and call them in unix os files.
Reviewed-by: kvn, dholmes, twisti
2013-07-26 00:59:18 +02:00
Rickard Bäckman
2d77390705
8020701: Avoid crashes in WatcherThread
...
Reviewed-by: acorn, dcubed, dsimms
2013-07-17 13:48:15 +02:00
Christian Thalinger
7c367a6025
8008772: remove gamma launcher
...
Reviewed-by: kvn, neliasso, ctornqvi
2013-05-06 19:49:23 -07:00