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
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
Vladimir Ivanov
f26c1a6c88
8012260: ciReplay: Include PID into the name of replay data file
...
Reviewed-by: kvn, twisti
2013-04-25 11:02:32 -07:00
Bharadwaj Yadavalli
4b9150eaf7
Merge
2013-04-04 17:01:34 -07:00
Vladimir Kozlov
c68fa92e4b
8011198: LP64 setting is not preserved on Solaris after 8006965
...
Fixed incremental build makefiles generated by buildtree.make. Consolidated unix build.sh.
Reviewed-by: twisti
2013-04-04 12:18:46 -07:00
Thomas Schatzl
bb5bd507d7
7112912: Message "Error occurred during initialization of VM" on boxes with lots of RAM
...
Ergonomics now also takes available virtual memory into account when deciding for a heap size. The helper method to determine the maximum allocatable memory block now uses the appropriate OS specific calls to retrieve available virtual memory for the java process. In 32 bit environments this method now also searches for the maximum actually reservable amount of memory. Merge previously separate implementations for Linux/BSD/Solaris into a single method.
Reviewed-by: jmasa, tamao
2013-03-27 19:21:18 +01:00
Harold Seigel
68f3dd76c9
7102489: RFE: cleanup jlong typedef on __APPLE__and _LLP64 systems
...
Define jlong as long on all LP64 platforms and add JLONG_FORMAT macro.
Reviewed-by: dholmes, coleenp, mikael, kvn
2013-01-17 10:25:16 -05:00
Bengt Rutisson
a3355065be
7173959: Jvm crashed during coherence exabus (tmb) testing
...
Mapping of aligned memory needs to be MT safe. Also reviewed by: vitalyd@gmail.com
Reviewed-by: dholmes, coleenp, zgu
2012-12-17 08:49:20 +01:00
Mikael Vidstedt
769dd50182
7197424: update copyright year to match last edit in jdk8 hotspot repository
...
Update copyright year to 2012 for relevant files
Reviewed-by: dholmes, coleenp
2012-10-09 10:09:34 -07:00
Staffan Larsen
6d8fa095b3
7192916: Hotspot development launcher should use DYLD_LIBRARY_PATH on OS X
...
Reviewed-by: dholmes, dsamersoff, nloodin
2012-08-22 10:01:51 +02:00
Mikael Vidstedt
af253d110d
7129724: MAC: Core file location is wrong in crash report
...
Updated core path location to reflect macosx default
Reviewed-by: dholmes, kamg
2012-07-03 17:35:00 -07:00
Zhengyu Gu
a39b17624a
6995781: Native Memory Tracking (Phase 1)
...
7151532: DCmd for hotspot native memory tracking
Implementation of native memory tracking phase 1, which tracks VM native memory usage, and related DCmd
Reviewed-by: acorn, coleenp, fparain
2012-06-28 17:03:16 -04:00
Nils Loodin
7d82c13142
7165755: OS Information much longer on linux than other platforms
...
Reviewed-by: sla, dholmes
2012-05-10 15:44:19 +02:00
James Melvin
ccf7d491f7
7125793: MAC: test_gamma should always work
...
Fix gamma launcher on Mac OS X and reconcile test_gamma script on Unix platforms
Reviewed-by: dcubed, ohair, jcoomes, dholmes, ksrini
2012-01-24 19:33:14 -05:00
Erik Gahlin
5782866b28
7126185: Clean up lasterror handling, add os::get_last_error()
...
Add os::get_last_error(), replace getLastErrorString() by os::lasterror() in os_windows.cpp.
Reviewed-by: kamg, dholmes
2012-01-03 15:11:31 -05:00
Bengt Rutisson
7fa7f8a597
7099454: /bin/sh does not support syntax used in the src/os/posix/launcher/launcher.script shell script
...
Also reviewed by mikael.gerdin@oracle.com ; Changed to the `` syntax instead. Also changed "source" to ".".
Reviewed-by: never, stefank, dsamersoff, rottenha
2011-10-11 10:21:36 +02:00
Kurt Miller
95c56a472b
7089790: integrate bsd-port changes
...
Co-authored-by: Greg Lewis <glewis@eyesbeyond.com>
Co-authored-by: Jung-uk Kim <jkim@freebsd.org>
Co-authored-by: Christos Zoulas <christos@zoulas.com>
Co-authored-by: Landon Fuller <landonf@plausible.coop>
Co-authored-by: The FreeBSD Foundation <board@freebsdfoundation.org>
Co-authored-by: Michael Franz <mvfranz@gmail.com>
Co-authored-by: Roger Hoover <rhoover@apple.com>
Co-authored-by: Alexander Strange <astrange@apple.com>
Reviewed-by: kvn, twisti, jrose
2011-09-25 16:03:29 -07:00
Staffan Larsen
cc6f461357
7022037: Pause when exiting if debugger is attached on windows
...
Reviewed-by: dsamersoff, kamg, hosterda
2011-02-28 14:19:52 +01:00