77 Commits

Author SHA1 Message Date
Andrew Dinn
047b8bfeb7 8224974: Implement JEP 352
Non-Volatile Mapped Byte Buffers

Reviewed-by: alanb, kvn, bpb, gromero, darcy, shade, bulasevich, dchuyko
2019-08-20 10:11:53 +01:00
Matthias Baesken
f454862e65 8228902: add os::dll_load to the unified logging os category
Reviewed-by: coleenp, mdoerr
2019-08-02 10:10:42 +02:00
David Holmes
9e4054bd0e 8227250: UserHandler contains ancient LinuxThreads code
Reviewed-by: hseigel, dcubed
2019-07-31 00:02:01 -04:00
Matthias Baesken
e576eaa483 8227869: fix wrong format specifiers in os_aix.cpp
Reviewed-by: dholmes, mdoerr, clanger
2019-07-17 15:40:27 +02:00
Ralf Schmelter
d97475df72 8227435: Perf::attach() should not throw a java.lang.Exception
Reviewed-by: sspitsyn, clanger, dholmes
2019-07-18 10:25:49 +02:00
Matthias Baesken
5224520e9f 8227631: Adjust AIX version check
Reviewed-by: clanger, goetz
2019-07-16 11:10:38 +02:00
Matthias Baesken
74143d5ab8 8227630: adjust format specifiers in loadlib_aix.cpp
Reviewed-by: mdoerr, shade
2019-07-12 12:19:58 +02:00
Yasumasa Suenaga
2870c9d55e 8225690: Multiple AttachListener threads can be created
Reviewed-by: sspitsyn, cjplummer
2019-07-16 07:29:12 +09:00
Calvin Cheung
5d1361df03 8211723: AppCDS: referring to a jar file in any way other than exactly how it was done during dumping doesn't work
Replaced os::file_name_strncmp() with os::same_files().

Reviewed-by: iklam, jiangli
2019-06-28 09:49:10 -07:00
Matthias Baesken
0bf2650bb1 8224958: add os::dll_load calls to event log
Reviewed-by: dholmes, mdoerr, stuefe
2019-06-05 16:53:52 +02:00
Daniel D. Daugherty
09b642e937 8224793: os::die() does not honor CreateCoredumpOnCrash option
Reviewed-by: kbarrett, dholmes, stuefe
2019-06-05 14:01:01 -04:00
Matthias Baesken
247729cdd7 8224221: add memprotect calls to event log
Reviewed-by: dholmes, mdoerr
2019-05-23 15:15:01 +02:00
Stefan Karlsson
4914e0ee95 8224203: Remove need to specify type when using FLAG_SET macros
Reviewed-by: rehn, pliden, coleenp
2019-05-22 13:06:31 +02:00
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