Max Ockner
91dbd4f088
8060074: os::free() takes MemoryTrackingLevel but doesn't need it
...
Cleaned up unused arguments in os::free and it's callers.
Reviewed-by: lfoltan, coleenp, ctornqvi, dholmes
2014-12-01 12:16:15 -05:00
Jesper Wilhelmsson
c72d5c48e2
Merge
2014-11-13 12:29:09 +01:00
Jiangli Zhou
75778598e2
Merge
2014-11-06 01:31:31 +00:00
Chris Plummer
7a414a2c7d
8043770: File leak in MemNotifyThread::start() in hotspot.src.os.linux.vm.os_linux.cpp
...
Fixed by removing all code related to LowMemoryProtection, which removed offending code.
Reviewed-by: dholmes, minqi
2014-11-05 13:00:59 -08: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
Daniel D. Daugherty
0d3acc8838
8061552: Contended Locking speedup PlatformEvent unpark bucket
...
JEP-143/JDK-8046133 - optimization #2 - speedup PlatformEvent unpark bucket.
Co-authored-by: Dave Dice <dave.dice@oracle.com>
Co-authored-by: Karen Kinnear <karen.kinnear@oracle.com>
Reviewed-by: acorn, dice, dholmes
2014-10-29 09:19:59 -07:00
Erik Helin
0e54928686
8061467: Bad page size passed to setup_large_pages() on Solaris
...
Reviewed-by: tschatzl, mgerdin
2014-11-05 16:39:10 +01:00
Frederic Parain
209ffcd9a5
8061618: Removed unused networking functions from os class
...
Reviewed-by: lfoltan, hseigel, dholmes
2014-10-22 02:31:25 -07:00
Frederic Parain
94af790733
8057777: Cleanup of old and unused VM interfaces
...
Reviewed-by: coleenp, hseigel, alanb, sherman
2014-10-09 04:45:58 -07:00
Jesper Wilhelmsson
66abbc4862
Merge
2014-09-18 18:19:44 +02:00
Daniel D. Daugherty
e7bc11f7b1
Merge
2014-09-10 17:06:36 -07:00
Daniel D. Daugherty
5e63b8cfc4
8057109: manual cleanup of white space issues prior to Contended Locking reorder and cache line bucket
...
Reviewed-by: fparain, sspitsyn, coleenp
2014-09-10 11:52:16 -06:00
Daniel D. Daugherty
e1a36d62a0
8057107: cleanup indent white space issues prior to Contended Locking reorder and cache line bucket
...
Reviewed-by: fparain, sspitsyn, coleenp
2014-09-10 11:48:20 -06:00
Fredrik Arvidsson
07001d0332
8056242: Add function to return structured information about loaded libraries
...
Return structured information about loaded libraries.
Reviewed-by: sla, dsamersoff
2014-09-03 14:43:49 +02:00
Serguei Spitsyn
b0367c3bea
Merge
2014-07-18 23:53:59 -07:00
Coleen Phillimore
c9b2bc62c9
Merge
2014-07-14 10:15:21 -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
Goetz Lindenmaier
25f33c005d
8049325: Introduce and clean up umbrella headers for the files in the cpu subdirectories
...
Introduce and clean up umbrella headers for the files in the cpu subdirectories.
Reviewed-by: lfoltan, coleenp, dholmes
2014-07-04 11:46:01 +02: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
Jesper Wilhelmsson
3e005941e7
Merge
2014-09-15 13:32:30 +00:00
Jesper Wilhelmsson
1cd9ffc931
Merge
2014-09-15 15:28:43 +02:00
Erik Helin
1d4a5e9412
8049536: os::commit_memory on Solaris uses aligment_hint as page size
...
Reviewed-by: stefank, tschatzl
2014-09-15 10:57:22 +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
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
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
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
ba522e5098
8038473: Remove support for old T1 libthread
...
Reviewed-by: dholmes, coleenp, acorn, dcubed
2014-04-03 09:28:28 +00: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
Frederic Parain
2655375438
8036128: Remove deprecated VM flag UseVMInterruptibleIO
...
Reviewed-by: acorn, dholmes, dcubed, coleenp
2014-03-14 12:02:54 +00: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
Gerald Thornbrugh
d3a85e73a7
8029775: Solaris code cleanup
...
8033464: Linux code cleanup
Cleaned up warnings in solaris and linux specific os code.
Reviewed-by: coleenp, fparain, dcubed
2014-02-06 14:28:35 -05: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
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
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
Roland Westrelin
d9ae342dff
Merge
2013-07-11 01:11:52 -07:00
Albert Noll
93d49935a9
8016749: -XX:+UseISM fails an assert(obj->is_oop()) when running SPECjbb2005
...
Remove obsolete code that relates to ISM which was used only on Solaris 8.
Reviewed-by: kvn, twisti
2013-07-10 13:33:56 -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