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
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
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
Ron Durbin
be6e745755
7178026: os::close can restart ::close but that is not a restartable syscall
...
Removed restart macros from all os:close calls on Solaris, Linux, MacOS X platforms.
Reviewed-by: dcubed, dholmes
2013-06-14 07:46:22 -07: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
43fbbe98b7
Merge
2013-05-02 18:50:05 -07:00
Calvin Cheung
0f7adcc3d9
8011661: Insufficient memory message says "malloc" when sometimes it should say "mmap"
...
Reviewed-by: coleenp, zgu, hseigel
2013-04-30 11:56:52 -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
Daniel D. Daugherty
78339229bb
Merge
2013-04-05 10:38:08 -07:00
Mikael Vidstedt
eeb83733a6
8003310: Enable -Wunused-function when compiling with gcc
...
Add the -Wunused-function flag and remove a number of unused functions.
Reviewed-by: dholmes, coleenp, kvn
2013-04-04 10:01:26 -07:00
Calvin Cheung
33f6dd2215
8006103: [parfait] Possible null pointer dereference at hotspot/src/os/linux/vm/os_linux.cpp; os_windows.cpp; os_solaris.cpp; os_bsd.cpp
...
Reviewed-by: zgu, iklam
2013-04-03 16:43:09 -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
Stefan Karlsson
35177d7db2
Merge
2013-03-15 08:57:55 +01:00
Stefan Karlsson
1e1174e0be
8004697: SIGSEGV on Solaris sparc with -XX:+UseNUMA
...
Don't scan pages outside the given range.
Reviewed-by: jwilhelm, jmasa
2013-03-11 02:24:01 -07:00
Zhengyu Gu
4cdcd6dc13
8008257: NMT: assert(new_rec->is_allocation_record()) failed when running with shared memory option
...
Corrected virtual memory recording and tagging code when large pages are used
Reviewed-by: coleenp, ccheung
2013-03-07 14:06:44 -05:00
Harold Seigel
301152ddb7
6749267: Signal handler should save/restore errno
...
Save errno before processing signal, then restore it.
Reviewed-by: acorn, sspitsyn
2013-02-19 08:51:56 -05:00
Staffan Larsen
1439d121c2
8007779: os::die() on solaris should generate core file
...
Reviewed-by: dholmes, rbackman
2013-02-18 12:49:53 +01:00
Dave Dice
98c357abf8
8004902: correctness fixes motivated by contended locking work (6607129)
...
Misc correctness fixes
Reviewed-by: acorn, dholmes, dice, sspitsyn
2013-01-22 05:56:42 -08:00
Ron Durbin
9c761152db
8005044: remove crufty '_g' support from HS runtime code
...
Phase 2 is removing '_g' support from the Runtime code.
Reviewed-by: dcubed, coleenp, hseigel
2012-12-19 10:35:08 -08:00