64 Commits

Author SHA1 Message Date
Matthias Baesken
9314a2853b 8223574: add more thread-related system settings info to hs_error file on AIX
Reviewed-by: goetz, mdoerr
2019-05-10 09:58:01 +02:00
Matthias Baesken
133401ac02 8222280: Provide virtualization related info in the hs_error file on AIX
Reviewed-by: clanger, mdoerr
2019-04-12 09:13:50 +02:00
Matthias Baesken
7414acdd07 8221915: cleanup ticks related coding in os_perf_aix.cpp [aix]
Reviewed-by: mdoerr
2019-04-10 09:33:32 +02:00
Matthias Baesken
8f556345e1 8221535: add steal tick related information to hs_error file [linux]
Reviewed-by: dholmes, goetz
2019-04-08 14:36:33 +02:00
Ralf Schmelter
0714b75ac4 8220570: Additonal trace when native thread creation fails
Added additonal trace when native thread creation fails

Reviewed-by: dholmes, goetz
2019-03-22 04:47:02 -07:00
Ao Qi
176e37f082 8170639: [Linux] jsig is limited to a maximum of 64 signals
Reviewed-by: dholmes, iklam
2019-03-13 00:48:52 -04:00
Claes Redestad
33d947b7e3 8219247: Enable inlining of newly introduced PlatformMonitor methods
Reviewed-by: dholmes, rehn
2019-02-22 09:23:37 +01:00
Mikael Vidstedt
15d554b395 8214777: Avoid some GCC 8.X strncpy() errors in HotSpot
Reviewed-by: kbarrett, rehn
2019-02-21 16:56:06 -08:00
Matthias Baesken
8218872024 8218136: minor hotspot adjustments for xlclang++ from xlc16 on AIX
Reviewed-by: dholmes, goetz, ihse
2019-02-05 17:40:15 +01:00
David Holmes
c6653432a5 8214816: os::read() should not transition to _thread_blocked with safepoint check on Solaris
Reviewed-by: jiangli, mgronlun
2019-01-13 16:54:01 -05:00
Coleen Phillimore
154a1a02bf 8216167: Update include guards to reflect correct directories
Use script and some manual fixup to fix directores names in include guards.

Reviewed-by: lfoltan, eosterlund, kbarrett
2019-01-10 15:13:51 -05:00
Robbin Ehn
994ab71870 8214180: Need better granularity for sleeping
Reviewed-by: eosterlund, dcubed, dholmes
2018-12-20 10:05:19 +01:00
Matthias Baesken
f8ccc8393b 8214944: replace strerror by os::strerror
Reviewed-by: dholmes, neliasso
2018-12-06 09:48:33 +01:00
Jakub Vanek
b2bf2d252b 8214332: Add a flag for overriding default JNI library search path
Reviewed-by: erikj, dholmes
2018-11-28 22:29:35 -05: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
Muthusamy Chinnathambi
cbe11130f5 8027434: "-XX:OnOutOfMemoryError" uses fork instead of vfork
Reviewed-by: dholmes, iklam
2018-10-09 16:08:07 +05:30
Thomas Stuefe
23635d7d6f 8210314: [aix] NMT does not show "Safepoint" memory type
Reviewed-by: goetz, mbaesken
2018-09-03 14:27:03 +02: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
Phil Race
28e828130d Merge 2018-07-19 10:17:22 -07: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
Martin Doerr
bcdf345cc2 8205609: [PPC64] Fix PPC64 part of 8010319 and TLH without UseSIGTRAP on AIX
Reviewed-by: dholmes, goetz
2018-06-27 11:54:15 +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
Goetz Lindenmaier
0a2bbf0da1 8204652: [aix] fix thread stack allocation, too big stack sizes not recognized
Reviewed-by: stuefe, dholmes
2018-06-10 17:26:13 +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
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
Martin Doerr
2dd143b06f 8203288: PPC64 and s390 fail to build after JDK-8199712 (Flight Recorder)
Reviewed-by: shade
2018-05-17 14:16:49 +02:00
Yasumasa Suenaga
256b6f1a4c 8202889: Remove trailing LF from perf log
Reviewed-by: stuefe, clanger
2018-05-11 09:40:23 +09:00
Christoph Langer
a322e0f0ff 8202650: Enforce group for attach listener file
Reviewed-by: cjplummer, stuefe
2018-05-09 07:48:31 +01:00
Thomas Stuefe
19f0e3f5d7 8202435: [aix] print program break as part of memory info into hs-err file
Reviewed-by: mdoerr, dholmes
2018-05-03 17:10:39 +02:00
Martin Doerr
d5a05363ef 8207342: error occurred during error reporting (printing register info)
Os::print_location misses a check if the pointer is readable.

Reviewed-by: goetz, coleenp
2018-07-18 11:27:14 +02:00
Christoph Langer
024d4eb8f4 8201247: Various cleanups in the attach framework
Reviewed-by: goetz, cjplummer
2018-04-11 09:47:41 +02: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
Jesper Wilhelmsson
9beff15bed Merge 2018-02-10 09:25:35 +01:00
Christoph Langer
60f417575e 8196565: AIX: Clean up os::javaTimeNanos according to AIX/PASE specification
Reviewed-by: stuefe, dholmes
2018-02-07 16:03:12 +01:00
Jesper Wilhelmsson
d7dd9d1027 Merge 2018-02-05 23:12:03 +01:00
Lana Steuck
845f7823de Merge 2018-02-09 02:23:34 +00:00
Arno Zeller
b0cb59ac31 8196678: avoid printing uninitialized buffer in os::print_memory_info on AIX
Reviewed-by: dholmes, goetz, clanger
2018-02-07 09:18:13 +01:00
Jesper Wilhelmsson
fc1b01b9a2 Merge 2018-01-13 02:56:22 +01: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
Martin Doerr
201a232a23 8194258: PPC64 safepoint mechanism: Fix initialization on AIX and support SIGTRAP
Use mmap on AIX to allocate protected page. Use trap instructions for polling if UseSIGTRAP is enabled.

Reviewed-by: rehn, goetz
2018-01-10 11:09:55 +01:00
Stefan Karlsson
58dd5210ec 8192061: Clean up allocation.inline.hpp includes
Reviewed-by: eosterlund, coleenp
2017-11-28 21:43:45 +01:00