Commit graph

65 commits

Author SHA1 Message Date
Yasumasa Suenaga
a38277e67b 8219414: SA: jhsdb jsnap throws UnmappedAddressException with core generated by gcore
Reviewed-by: cjplummer, jgeorge
2019-02-21 21:02:39 +09:00
Thomas Schatzl
3f0ac3a75c 8218063: JDK-8218060 breaks build for S390
Reinstated function removed by JDK-8218060 and properly ifdef'ed it.

Reviewed-by: shade, eosterlund
2019-01-30 17:02:17 +01:00
Thomas Schatzl
8c9cc0b205 8218060: JDK-8217786 breaks build due to remaining unused function
Remove unused function.

Reviewed-by: eosterlund
2019-01-30 16:19:25 +01:00
Matthias Baesken
0a71872212 8217786: Provide virtualization related info in the hs_error file on linux s390x
Reviewed-by: dholmes, stuefe
2019-01-30 09:57:59 +01:00
David Holmes
4931a2a9d6 8194860: Cleanup Semaphore timed-wait time calculations
Reviewed-by: coleenp, kbarrett
2019-01-23 21:17:51 -05:00
Amith Pawar
8bd5f49675 8213827: NUMA heap allocation does not respect process membind/interleave settings
Optionally use libnuma v2 API to query for and support NUMA membind/interleave process configuration.

Reviewed-by: tschatzl, sangheki
2019-01-16 22:32:04 +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
Severin Gehwolf
e978a4094a 8216559: [JFR] Native libraries not correctly parsed from /proc/self/maps
Use %7s for the dev scan format as major:minor may be up to that length

Reviewed-by: mgronlun, jwilhelm
2019-01-11 13:34:57 +01:00
Matthias Baesken
db1518dae2 8215962: Support ThreadPriorityPolicy mode 1 for non-root users on linux/bsd
Reviewed-by: dcubed, dholmes
2019-01-04 17:46:56 +01:00
Jesper Wilhelmsson
59716b0bb3 Merge 2019-01-02 16:05:13 +01:00
Kishor Kharbas
d580e2eed2 8211425: Allocation of old generation of java heap on alternate memory devices - G1 GC
8202286: Allocation of old generation of Java heap on alternate memory devices

Enable an experimental feature in HotSpot JVM to allocate old generation of G1 GC on an alternative memory device, such as NV-DIMMs.

Reviewed-by: sangheki, sjohanss
2018-12-21 08:18:59 -08:00
David Holmes
526f854cc1 8214097: Rework thread initialization and teardown logic
Reviewed-by: rehn, mgronlun, dcubed, kbarrett
2018-12-27 21:17:11 -05:00
Robbin Ehn
994ab71870 8214180: Need better granularity for sleeping
Reviewed-by: eosterlund, dcubed, dholmes
2018-12-20 10:05:19 +01:00
Christophe Phillips
169729fe9b 8215342: [Zero] Build fails after JDK-8200613
Reviewed-by: shade, jgeorge
2018-12-13 10:25:50 +01:00
Jini George
fdf7d4ec11 8200613: SA: jstack throws UnmappedAddressException with a CDS core file
Dump the closed archive heap space into the corefile on Linux by setting bit 2 of the coredump_filter file to dump the file backed private mappings.

Reviewed-by: iklam, cjplummer, kevinw, coleenp
2018-12-12 10:13:11 +05:30
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
Igor Ignatyev
35871a8ca1 8213058: remove ExecuteInternalVMTests and VerboseInternalVMTests flags
Reviewed-by: erikj, dholmes, ihse
2018-11-02 16:27:55 -07: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
David Holmes
a3cd6a1a70 8188764: Obsolete AssumeMP and then remove all support for non-MP builds
Reviewed-by: mikael, mdoerr, bulasevich, eosterlund
2018-10-03 03:41:57 -04:00
Mikael Vidstedt
8e53d1b5dc 8211350: Remove jprt support
Reviewed-by: dholmes, erikj, mchung, alanb, jjg
2018-10-02 22:36:08 -07:00
David Holmes
d1d1c16f8c 8211175: Remove temporary clock initialization duplication
Reviewed-by: rehn, mikael
2018-10-02 17:12:13 -04:00
Matthias Baesken
36f62aa6c0 8210964: add more ld preloading related info to hs_error file on Linux
Reviewed-by: clanger, stuefe
2018-09-28 09:20:46 +02:00
John Paul Adrian Glaubitz
e7a2c9d679 8165440: Add Zero support for x86_64-linux-gnux32 target
Reviewed-by: erikj, ihse
2018-09-05 11:15:28 +02:00
Ioi Lam
bd57506f87 8207832: serviceability/sa/ClhsdbCDSCore.java failed with "Couldn't find core file location"
Handle %p in /proc/sys/kernel/core_pattern

Reviewed-by: dholmes, hseigel
2018-08-15 19:22:46 -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
Phil Race
1387c87093 Merge 2018-07-26 10:00:40 -07:00
Swati Sharma
0440d172a0 8189922: UseNUMA memory interleaving vs membind
Reviewed-by: gromero, drwhite, dholmes, tschatzl
2018-07-19 16:56:05 -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
Jesper Wilhelmsson
4fc510cc89 Merge 2018-07-14 02:14:54 +02:00
Goetz Lindenmaier
8a9b0134a8 8206977: Minor improvements of runtime code
Reviewed-by: coleenp, lfoltan
2018-07-11 16:11:10 +02:00
David Holmes
5fcb3ecb4e 8205878: pthread_getcpuclockid is expected to return 0 code
Reviewed-by: cjplummer, amenkov, coleenp
2018-07-09 20:17:32 -04: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
Zhengyu Gu
2979a83cfa 8204557: NMT: Linux os::committed_in_range() does not break out outer loop when contiguous region is found
Fixed bug that did not break out outer loop when region was found

Reviewed-by: stuefe, adinn
2018-06-12 11:21:07 -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
David Holmes
e9ad46f26c 8205878: pthread_getcpuclockid is expected to return 0 code
Reviewed-by: cjplummer, amenkov, coleenp
2018-07-09 20:17:32 -04: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
Matthias Baesken
053b43564c 8204598: add more thread-related system settings info to hs_error file on Linux
Reviewed-by: dholmes, stuefe
2018-06-08 14:14:44 +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
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
Zhengyu Gu
9353d59547 8199067: [REDO] NMT: Enhance thread stack tracking
Precise thread stack tracking on Linux and Windows

Reviewed-by: stuefe, coleenp
2018-05-03 08:07:20 -04:00
Claes Redestad
4d780ef52d 8199717: Avoid calculating primordial thread stack bounds on VM startup
Reviewed-by: dholmes, rehn, stuefe
2018-04-03 12:55:26 +02:00
Daniel D. Daugherty
d2e9c712ad 8199813: SIGSEGV in ThreadsList::includes()
ThreadsListHandles cannot be used by JavaThreads that are not on the Threads list.

Reviewed-by: eosterlund, gthornbr, dholmes, rehn
2018-03-28 12:04:33 -04: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
Andrew Haley
f48f7c36d5 8197429: Increased stack guard causes segfaults on x86-32
Reviewed-by: dholmes
2018-02-16 09:43:26 +00:00
Coleen Phillimore
2842bcc5c7 8199133: [BACKOUT] NMT: Enhance thread stack tracking
Reviewed-by: jwilhelm
2018-03-06 17:45:31 -05:00