Matthias Baesken
f8ccc8393b
8214944: replace strerror by os::strerror
...
Reviewed-by: dholmes, neliasso
2018-12-06 09:48:33 +01:00
David Holmes
5e0ae53450
8213723: More Monitor/mutex initialization management
...
8213893: StringTable_lock is unused
Reviewed-by: tschatzl, dcubed, coleenp
2018-11-15 17:55:41 -05:00
David Holmes
ea22b27348
8213760: os::obsolete_option is obsolete and should be removed
...
Reviewed-by: jiangli, igerasim, stuefe
2018-11-13 16:49:58 -05:00
Thomas Stuefe
e4f51809e4
8212173: Thread._stack_base/_stack_size initialized too late for new threads
...
Reviewed-by: dholmes, simonis
2018-10-19 09:39:29 +02:00
Kim Barrett
6330fc1cb6
8212023: Implicit narrowing in Solaris/sparc initializers
...
Explicitly narrow or fix destination types.
Reviewed-by: dholmes, tschatzl
2018-10-12 17:35:26 -04:00
Muthusamy Chinnathambi
cbe11130f5
8027434: "-XX:OnOutOfMemoryError" uses fork instead of vfork
...
Reviewed-by: dholmes, iklam
2018-10-09 16:08:07 +05:30
Chris Plummer
77921f8a38
8199811: com/sun/jdi/ProcessAttachTest.java fails intermittently: Remote thread failed for unknown reason
...
Give attach listener thread a chance to finish starting
Reviewed-by: dholmes, gadams
2018-08-29 20:13:53 -07:00
Coleen Phillimore
647c7d5344
8164683: Solaris: JVM abuses thread preemption control
...
Complete removal of preemption control and command line arguments (were deprecated in 11).
Reviewed-by: hseigel, pchilanomate, dholmes
2018-08-10 09:36:01 -04:00
Mikael Vidstedt
83a51d869e
Merge
2018-08-09 10:08:07 -07:00
Robin Westberg
961156b1d5
8208676: Missing NULL check and resource leak in NetworkPerformanceInterface::NetworkPerformance::network_utilization
...
Reviewed-by: mgronlun, rehn
2018-08-06 14:56:56 +02:00
Coleen Phillimore
39dd04b953
8207359: Make SymbolTable increment_refcount disallow zero
...
Use cmpxchg for non permanent symbol refcounting, and pack refcount and length into an int.
Reviewed-by: gziemski, kbarrett, iklam
2018-07-20 14:52:11 -04:00
Kim Barrett
9a9c824ece
8202353: os::readdir should use readdir instead of readdir_r
...
8202835: jfr/event/os/TestSystemProcess.java fails on missing events
Os::readdir uses POSIX readdir, drop buffer arg, fix JFR uses.
Reviewed-by: coleenp, tschatzl, bsrbnd
2018-07-17 15:59:47 -04:00
Calvin Cheung
a10d6e71d8
8205946: JVM crash after call to ClassLoader::setup_bootstrap_search_path()
...
Exit vm if setting of boot class path fails.
Reviewed-by: lfoltan, jiangli, dholmes
2018-07-10 19:04:13 -07:00
Patricio Chilano Mateo
209071d135
8134538: Duplicate implementations of os::lasterror
...
Method os::lasterror was moved to os_posix.cpp
Reviewed-by: hseigel, kbarrett, coleenp
2018-07-03 15:08:01 -04:00
Robin Westberg
b11c7752e8
8003209: JFR events for network utilization
...
Reviewed-by: mgronlun, egahlin
2018-06-28 15:06:55 +02:00
Thomas Stuefe
6f462fbc70
8203680: os::stat() on Posix platform does not need to copy input path
...
Reviewed-by: hseigel, dholmes
2018-06-19 09:34:41 +02:00
Coleen Phillimore
892a2af03f
8204301: Make OrderAccess functions available to hpp rather than inline.hpp files
...
Move orderAccess.inline.hpp into orderAccess.hpp and remove os.hpp inclusion and conditional os::is_MP() for fence on x86 platforms
Reviewed-by: dholmes, hseigel
2018-06-06 10:45:40 -04:00
Daniil Titov
a2a5e85195
8197387: jcmd started by "root" must be allowed to access all VM processes
...
Reviewed-by: sspitsyn, stuefe
2018-05-31 14:09:04 -07:00
Jiangli Zhou
422e112ffd
8199807: AppCDS performs overly restrictive path matching check
...
8203377: Cleanup the usage of os::file_name_strcmp() in SharedPathsMiscInfo::check()
Relax CDS/AppCDS path check for modules image.
Reviewed-by: iklam, ccheung
2018-05-21 15:15:58 -04:00
Coleen Phillimore
768632f24b
8202014: Possible to receive signal before signal semaphore created
...
Initialize jdk.internal.misc.Signal in os_init2 and rename initialization functions.
Reviewed-by: dholmes, stuefe
2018-05-18 15:56:42 -04:00
Per Lidén
dface12e6d
8203227: Introduce os::processor_id() for Linux and Solaris
...
Reviewed-by: dholmes, rehn
2018-05-18 15:21:23 +02:00
Coleen Phillimore
ab469d40fc
8134537: Much nearly duplicated code for sun.misc.Signal support
...
Merged jvm_<os>.cpp into jvm_posix.cpp
Reviewed-by: dholmes, stuefe
2018-05-18 08:47:42 -04:00
Erik Gahlin
a060be188d
8199712: Flight Recorder
...
Co-authored-by: Markus Gronlund <markus.gronlund@oracle.com>
Reviewed-by: coleenp, ihse, erikj, dsamersoff, mseledtsov, egahlin, mgronlun
2018-05-15 20:24:34 +02:00
Yasumasa Suenaga
256b6f1a4c
8202889: Remove trailing LF from perf log
...
Reviewed-by: stuefe, clanger
2018-05-11 09:40:23 +09:00
Jesper Wilhelmsson
72b7487789
Merge
2018-04-13 14:06:39 +02:00
Jesper Wilhelmsson
468c1c19bb
Merge
2018-04-13 03:05:19 +02:00
Magnus Ihse Bursie
70e23d4ded
8200298: Unify all unix versions of libjsig/jsig.c
...
Reviewed-by: dholmes, stuefe
2018-04-10 19:46:02 +02:00
Christoph Langer
024d4eb8f4
8201247: Various cleanups in the attach framework
...
Reviewed-by: goetz, cjplummer
2018-04-11 09:47:41 +02:00
Jesper Wilhelmsson
aa69f8c75c
Merge
2018-03-24 01:08:35 +01:00
Jesper Wilhelmsson
7ffa43700f
Merge
2018-03-24 01:08:35 +01:00
Stefan Karlsson
7595845e9a
8200105: Remove cyclic dependency between oop.inline.hpp and collectedHeap.inline.hpp
...
Reviewed-by: coleenp, kbarrett
2018-03-15 21:29:36 +01:00
Coleen Phillimore
fde89a34d0
8199263: Split interfaceSupport.hpp to not require including .inline.hpp files
...
InterfaceSupport.hpp is an inline file so moved to interfaceSupport.inline.hpp and stopped including it in .hpp files
Reviewed-by: stefank, rehn, kvn
2018-03-16 09:12:13 -04:00
Magnus Ihse Bursie
3e166182e0
8198862: Stop doing funky compilation stuff for dtrace
...
Reviewed-by: erikj, tbell
2018-03-03 08:39:08 +01:00
Matthias Baesken
b2609808df
8195857: Remove os::is_headless_jre
...
Reviewed-by: goetz, dholmes
2018-01-28 19:49:06 -05:00
Coleen Phillimore
1c41d1d3e0
8130039: Move the platform-specific [OS]Semaphore code
...
8130038: Unify the semaphore usage in os_xxx.cpp
8194763: os::signal_lookup is unused
Reviewed-by: dholmes, kbarrett
2018-01-11 18:42:36 -05:00
Kishor Kharbas
3fc999a1fe
8190308: Implementation: JEP 316: Heap Allocation on Alternative Memory Devices
...
Sub-task to be used for implementation of JEP 316: Support heap allocation on alternative memory devices
Reviewed-by: sangheki, tschatzl
2017-11-29 17:03:10 -08:00
David Holmes
687c2c5412
8189170: Add option to disable stack overflow checking in primordial thread for use with JNI_CreateJavaJVM
...
Reviewed-by: stuefe, dcubed
2017-11-20 15:56:32 -05:00
Bob Vandette
20a8de0f70
8146115: Improve docker container detection and resource configuration usage
...
Reviewed-by: dholmes, kbarrett, phh
2017-11-15 10:34:17 -05:00
Robbin Ehn
104ecb2dd1
8189941: Implementation JEP 312: Thread-local handshake
...
Introduce a way to execute a callback on threads without performing a global VM safepoint. Make it both possible and cheap to stop individual threads and not just all threads or none.
Co-authored-by: Mikael Gerdin <mikael.gerdin@oracle.com>
Co-authored-by: Erik Osterlund <erik.osterlund@oracle.com>
Reviewed-by: mdoerr, neliasso, acorn, aph, coleenp, dholmes
2017-08-31 10:00:28 +02:00
Coleen Phillimore
e908052a71
8189610: Reconcile jvm.h and all jvm_md.h between java.base and hotspot
...
Removed hotspot version of jvm*h and jni*h files.
Reviewed-by: ihse, mchung, dholmes
2017-10-31 11:55:09 -04:00
Mikael Gerdin
04b79fa8f3
8187040: ThreadCritical crashes on Solaris if used between os::init and os::init_2
...
Reviewed-by: dholmes, stuefe
2017-09-25 21:25:46 -04:00
Erik Joelsson
3789983e89
8187443: Forest Consolidation: Move files to unified layout
...
Reviewed-by: darcy, ihse
2017-09-12 19:03:39 +02:00