Jesper Wilhelmsson
1cd9ffc931
Merge
2014-09-15 15:28:43 +02:00
Mikael Gerdin
a2d9ba3fd6
8056039: Hotspot does not compile with clang 3.4 on Linux
...
Reviewed-by: brutisso, sla
2014-08-26 11:53:24 +02:00
Harold Seigel
7ec22758dc
8030763: Validate global memory allocation
...
Add length checks where necessary
Reviewed-by: coleenp, mschoene
2014-07-14 12:43:50 +04:00
Frederic Parain
5a8cc5f33d
8047714: Fix for JDK-6546236 made Solaris os::yield() a no-op
...
Reviewed-by: hseigel, lfoltan
2014-07-08 08:04:06 -07:00
Daniel D. Daugherty
2876714328
8047104: cleanup misc issues prior to Contended Locking reorder and cache
...
Checkpoint misc cleanups for Contended Locking prior to first optimization bucket.
Reviewed-by: dholmes, sspitsyn, dice
2014-07-03 11:07:51 -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
Jon Masamitsu
0e622bfc55
Merge
2014-06-25 20:41:16 -07:00
Frederic Parain
5507f2b476
8043630: Method os::yield_all() should be removed
...
Reviewed-by: dholmes, dsimms
2014-06-23 06:58:26 -07:00
Daniel D. Daugherty
7d153c461e
8046758: cleanup non-indent white space issues prior to Contended Locking cleanup bucket
...
Checkpoint do_space_filter.ksh cleanups for Contended Locking.
Reviewed-by: sspitsyn, coleenp
2014-06-17 12:54:01 -07:00
Goetz Lindenmaier
8e7c8f1d88
8044775: Improve usage of umbrella header atomic.inline.hpp
...
Reviewed-by: stefank, kvn
2014-06-04 11:56:44 +02:00
Igor Ignatyev
f19a510532
8044339: Update FilterSpuriousWakeups documentation. Review "Solaris only" vm options descriptions
...
Reviewed-by: kvn, dholmes, iignatyev
2014-06-04 00:25:21 +04: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
Goetz Lindenmaier
6e6f0720a9
8042195: Introduce umbrella header orderAccess.inline.hpp
...
Reviewed-by: dholmes, kvn, stefank, twisti
2014-04-29 15:17:27 +02:00
Staffan Larsen
0ef4fb7100
8040140: System.nanoTime() is slow and non-monotonic on OS X
...
Reviewed-by: sspitsyn, shade, dholmes, acorn
2014-04-25 07:40:33 +02:00
Frederic Parain
9aa74d318c
Merge
2014-04-03 06:39:26 -04:00
Frederic Parain
ba522e5098
8038473: Remove support for old T1 libthread
...
Reviewed-by: dholmes, coleenp, acorn, dcubed
2014-04-03 09:28:28 +00:00
Andreas Eriksson
fbb7bd8781
8033696: "assert(thread != NULL) failed: just checking" due to Thread::current() and JNI pthread interaction
...
Reviewed-by: dholmes, dsamersoff
2014-04-02 18:40:52 +02:00
Goetz Lindenmaier
f190cc8c67
8038201: Clean up misleading usage of malloc() in init_system_properties_values()
...
Remove the misleading malloc macro and cleanup the code
Reviewed-by: dsamersoff, kvn
2014-04-01 03:59:01 -07:00
Yumin Qi
f2fbd2207d
6536943: Bogus -Xcheck:jni warning for SIG_INT action for SIGINT in JVM started from non-interactive shell
...
Under non-interactive shell, with -Xcheck:jni, check_signal_handler will print out Warning for SHURDOWN2_SIGNAL (SIGINT) which is replaced by non-interactive shell. Fix by supply more information of the replacement to user.
Reviewed-by: acorn, dsamersoff
2014-03-14 14:17:11 -07:00
Harold Seigel
b2c117b170
Merge
2014-02-23 13:16:03 -05:00
Vladimir Kozlov
4200d0d095
Merge
2014-02-20 12:20:56 -08: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
Mike Duigou
b633a889a7
8030350: Enable additional compiler warnings for GCC
...
Reviewed-by: dholmes, coleenp, erikj, tbell, ihse
2014-02-12 09:37:18 -08:00
Ron Durbin
97d55c801e
8027113: decouple the '-XXaltjvm=<path>' option from the gamma launcher
...
Decoupled the '-XXaltjvm=<path>' option from the gamma launcher. Clearing the way for removing the remaining cruft associated with the previously removed gamma launcher.
Reviewed-by: dcubed, dholmes
2014-01-30 14:12:22 -08:00
David Simms
edb5dd324e
8028280: ParkEvent leak when running modified runThese which only loads classes
...
Use spin lock to manage ParkEvent and PlatformEvent free lists.
Reviewed-by: dholmes, fparain
2014-01-24 09:28:47 +01: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
Vladimir Kozlov
39b0e57fdd
Merge
2013-11-05 17:38:04 -08:00
Alejandro Murillo
473901ee62
Merge
2013-11-01 08:26:54 -07:00
Jaroslav Bachorik
76ac5b0c28
8027294: Prepare hotspot for non TOD based uptime counter
...
Use HR timer when available for os::elapsed_counter() on linux/bsd. Add a new counter for the JVM uptime.
Reviewed-by: dholmes, sla
2013-10-25 09:07:58 +02:00
David Dehaven
be6a9b1f9c
8025673: [macosx] Disable X11 AWT toolkit
...
Disable but not completely remove the XAWT and headless toolkits on Mac OS X
Reviewed-by: dholmes
2013-10-24 20:47:18 -04:00
Gerard Ziemski
db171c7b5d
8025942: os::Bsd::available_memory() needs implementation
...
Implement using the host_statistics64() api.
Reviewed-by: dsamersoff, morris, dholmes, coleenp, hseigel, dcubed
2013-10-12 13:09:18 -04:00
Dmitry Samersoff
13b13b1aed
8022616: u4 should not be used as a type for thread_id
...
Usage of u4 as a type for thread_id cause a compilation error on platform, where thread_id is a pointer
Reviewed-by: sla, sspitsyn, minqi
2013-10-03 12:39:58 +04:00
Dmitry Samersoff
259468dd26
8025283: Nits in os_bsd file breaks compilation of open hotspot
...
Couple of nits in os_bsd.cpp brake compilation of open hotspot on non-apple platforms
Reviewed-by: sla, sspitsyn
2013-10-02 20:58:44 +04:00
Thomas Schatzl
962008f22b
8010722: assert: failed: heap size is too big for compressed oops
...
Use conservative assumptions of required alignment for the various garbage collector components into account when determining the maximum heap size that supports compressed oops. Using this conservative value avoids several circular dependencies in the calculation.
Reviewed-by: stefank, dholmes
2013-09-11 16:25:02 +02:00
Vladimir Kozlov
1a700c9216
Merge
2013-09-05 11:04:39 -07:00
Stefan Karlsson
7ade7987a0
8007074: SIGSEGV at ParMarkBitMap::verify_clear()
...
Replace the broken large pages implementation on Linux. New flag: -XX:+UseTransparentHugePages - Linux specific flag to turn on transparent huge page hinting with madvise(..., MAP_HUGETLB). Changed behavior: -XX:+UseLargePages - tries to use -XX:+UseTransparentHugePages before trying other large pages implementations (on Linux). Changed behavior: -XX:+UseHugeTLBFS - Use upfront allocation of Large Pages instead of using the broken implementation to dynamically committing large pages. Changed behavior: -XX:LargePageSizeInBytes - Turned off the ability to use this flag on Linux and provides warning to user if set to a value different than the OS chosen large page size. Changed behavior: Setting no large page size - Now defaults to use -XX:UseTransparentHugePages if the OS supports it. Previously, -XX:+UseHugeTLBFS was chosen if the OS was configured to use large pages.
Reviewed-by: tschatzl, dcubed, brutisso
2013-08-16 13:22:32 +02:00
Harold Seigel
2df9b70f5e
7121403: [TESTBUG] runtime/7051189/Xchecksig.sh fails on 64bit solaris
...
8023393: Need to suppress info message if -Xcheck:jni used with libjsig.dylab on Mac OSX
Rewrite 7051189 test in Java, port Linux fix for 7051189 to Mac OSX.
Reviewed-by: coleenp, dholmes, mseledtsov, ccheung
2013-08-22 11:52:27 -04:00
Staffan Larsen
1e740c466f
8022808: Kitchensink hangs on macos
...
Use pthread_mach_thread_np() instead of mach_thread_self() to avoid leaking resources
Reviewed-by: dholmes, rbackman
2013-08-21 13:18:52 +02: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
Vladimir Kozlov
ed85bb1853
Merge
2013-07-19 13:32:53 -07:00
Daniel D. Daugherty
765f5cd4e7
8015884: runThese crashed with SIGSEGV, hs_err has an error instead of stacktrace
...
Dl_info struct should only be used if dladdr() has returned non-zero (no errors) and always check the dladdr() return value; Dl_info.dli_sname and Dl_info.dli_saddr fields should only be used if non-NULL; update/improve runtime/6888954/vmerrors.sh test
Reviewed-by: dsamersoff, zgu, hseigel, coleenp
2013-07-04 21:10:17 -07:00
Vladimir Kozlov
7509ebea00
Merge
2013-06-27 13:04:51 -07:00
Vladimir Kozlov
b390a2d8e3
Merge
2013-06-21 15:56:24 -07:00
Goetz Lindenmaier
036382cefd
8016491: PPC64 (part 2): Clean up PPC defines
...
Distinguish PPC, PPC64 and PPC32. PPC should guard code needed on any PPC system. PPC32 and PPC64 should guard code needed in a port for the ppc64 or ppc32 instruction set.
Reviewed-by: kvn
2013-06-19 12:29:30 +02:00
Zhengyu Gu
61a30f035b
8013651: NMT: reserve/release sequence id's in incorrect order due to race
...
Fixed NMT race condition for realloc, uncommit and release
Reviewed-by: coleenp, ccheung
2013-06-18 08:44:08 -04:00
Daniel D. Daugherty
72a51a0c44
8013057: assert(_needs_gc || SafepointSynchronize::is_at_safepoint()) failed: only read at safepoint
...
Detect mmap() commit failures in Linux and Solaris os::commit_memory() impls and call vm_exit_out_of_memory(). Add os::commit_memory_or_exit(). Also tidy up some NMT accounting and some mmap() return value checking.
Reviewed-by: zgu, stefank, dholmes, dsamersoff
2013-06-13 11:16:38 -07:00
Staffan Larsen
718f3252f6
8005849: JEP 167: Event-Based JVM Tracing
...
Co-authored-by: Karen Kinnear <karen.kinnear@oracle.com>
Co-authored-by: Bengt Rutisson <bengt.rutisson@oracle.com>
Co-authored-by: Calvin Cheung <calvin.cheung@oracle.com>
Co-authored-by: Erik Gahlin <erik.gahlin@oracle.com>
Co-authored-by: Erik Helin <erik.helin@oracle.com>
Co-authored-by: Jesper Wilhelmsson <jesper.wilhelmsson@oracle.com>
Co-authored-by: Keith McGuigan <keith.mcguigan@oracle.com>
Co-authored-by: Mattias Tobiasson <mattias.tobiasson@oracle.com>
Co-authored-by: Markus Gronlund <markus.gronlund@oracle.com>
Co-authored-by: Mikael Auno <mikael.auno@oracle.com>
Co-authored-by: Nils Eliasson <nils.eliasson@oracle.com>
Co-authored-by: Nils Loodin <nils.loodin@oracle.com>
Co-authored-by: Rickard Backman <rickard.backman@oracle.com>
Co-authored-by: Stefan Karlsson <stefan.karlsson@oracle.com>
Co-authored-by: Yekaterina Kantserova <yekaterina.kantserova@oracle.com>
Reviewed-by: acorn, coleenp, sla
2013-06-10 11:30:51 +02:00
Vladimir Kozlov
e62cfbfd5f
Merge
2013-06-06 11:02:25 -07:00
Daniel D. Daugherty
7771d30db3
Merge
2013-06-06 05:56:33 -07:00