420 Commits

Author SHA1 Message Date
Bob Vandette
9893531f35 8229699: [Graal] jck tests fail on windows with AOTed Graal
Reviewed-by: kvn
2019-08-15 19:29:58 +00:00
David Holmes
392b5f8f62 8228857: Refactor PlatformMonitor into PlatformMutex and PlatformMonitor
Reviewed-by: kbarrett, dcubed, pliden
2019-08-14 00:18:00 -04: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
Thomas Stuefe
ac0e72332e 8227275: Within native OOM error handling, assertions may hang the process
Reviewed-by: mdoerr, coleenp
2019-07-11 06:56:51 +02:00
Jeremy Manson
238c17bdb5 8225035: Thread stack size issue caused by large TLS size
Adjust thread stack size for static TLS on Linux when AdjustStackSizeForTLS is enabled.

Co-authored-by: Florian Weimer <fweimer@redhat.com>
Co-authored-by: Jiangli Zhou <jianglizhou@google.com>
Reviewed-by: dholmes, fweimer, stuefe, rriggs, martin
2019-07-09 10:27:38 -07:00
Alex Menkov
f464df375f 8227124: "could not open pipe" error does not report error details
Reviewed-by: sspitsyn, cjplummer
2019-07-05 10:35:37 -07:00
Matthias Baesken
202159bc57 8226238: Improve error output and fix elf issues in os::dll_load
Reviewed-by: clanger, mdoerr
2019-07-02 13:45:08 +02: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
Jamsheed Mohammed C M
aedbb75803 8191278: MappedByteBuffer bulk access memory failures are not handled gracefully
Unsafe.copy*Memory access failures are handled gracefully.

Co-authored-by: Harold Seigel <harold.seigel@oracle.com>
Reviewed-by: kvn, dcubed, thartmann, coleenp, aph
2019-06-24 11:37:56 -07:00
Daniil Titov
338958936d 8220175: serviceability/dcmd/framework/VMVersionTest.java fails with a timeout
Reviewed-by: sspitsyn, cjplummer
2019-06-20 18:47:44 -07:00
Erik Österlund
cf79907536 8224871: os::attempt_reserve_memory_at() tries too hard
Reviewed-by: pliden, coleenp, stuefe
2019-06-11 10:55:17 +02: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
Thomas Stuefe
1b21a47c71 8225178: [Solaris] os::signal() should call sigaction() with SA_SIGINFO
Reviewed-by: dcubed, dholmes
2019-06-04 07:49:58 +02:00
Erik Österlund
328ab43c45 8224816: Provide os::processor_id() implementation for Mac OS
Reviewed-by: rehn, pliden, kbarrett, gziemski
2019-06-03 13:35:08 +02:00
Calvin Cheung
561c9182e8 8223336: Assert in VirtualMemoryTracker::remove_released_region when running the SharedArchiveConsistency.java test with -XX:NativeMemoryTracking=detail
Added the missing call MemTracker::record_virtual_memory_reserve_and_commit()

Reviewed-by: jiangli, zgu
2019-05-31 15:49:12 -07: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
Andrew Luo
5bdacf11bd 8223810: HotSpot compile warnings from VS2017
Reviewed-by: dholmes, stuefe
2019-05-14 20:29:40 -04:00
Per Lidén
44e7959bb8 8222480: Implementation: JEP 351: ZGC: Uncommit Unused Memory
Reviewed-by: stefank, eosterlund
2019-05-14 09:55:02 +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
Stefan Karlsson
feeab37ce7 8223637: Fix build breakage after 8223136
Co-authored-by: Lutz Schmidt <lutz.schmidt@sap.com>
Co-authored-by: John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>
Co-authored-by: Aleksey Shipilev <shade@redhat.com>
Reviewed-by: stefank, coleenp
2019-05-11 13:10:24 +02:00
Yasumasa Suenaga
a5c506b411 8223186: HotSpot compile warnings from GCC 9
Reviewed-by: dholmes, aeubanks
2019-05-11 01:17:18 +09:00
Severin Gehwolf
fb355041ea 8221639: [i386] expand_exec_shield_cs_limit workaround is undefined code after JDK-8199717
Only perform this optimization for x86_64

Reviewed-by: dholmes, andrew
2019-04-18 13:58:31 +02:00
Coleen Phillimore
fbafef11c0 8222811: Consolidate MutexLockerEx and MutexLocker
Make MutexLocker be MutexLockerEx implementation, remove MutexLockerEx calls.

Reviewed-by: dcubed, dholmes, pliden, rehn
2019-04-25 10:56:31 -04:00
Robin Westberg
37281369f0 8220795: Rework naked_short_nanosleep on Windows to improve time-to-safepoint
Reviewed-by: dholmes, rehn
2019-04-24 14:03:20 +02:00
Severin Gehwolf
73d7e8f86c 8217338: [Containers] Improve systemd slice memory limit support
Use hierachical memory limit in addition to memory_limits_in_bytes

Reviewed-by: bobv, dholmes
2019-03-12 10:43:27 +01:00
Coleen Phillimore
733d251078 8222379: JFR TestClassLoadEvent.java failed due to EXCEPTION_ACCESS_VIOLATION
Give fatal error if CDS loses archive mapping.

Reviewed-by: iklam, ccheung, jiangli
2019-04-18 07:02:07 -04: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
Christoph Langer
ab051f87d4 8221979: Cleanups for building Windows resources
Reviewed-by: erikj
2019-04-11 15:36:09 +01: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
d40aa622cf 8219241: Provide basic virtualization related info in the hs_error file on linux/windows x86_64
Reviewed-by: dholmes, mdoerr
2019-04-10 08:51:38 +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
a801be79eb 8221325: Add information about swap space to print_memory_info() on MacOS
Reviewed-by: stuefe, dholmes
2019-03-26 01:46:06 -07: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
Jie Fu
2c4b9e0778 8220658: Improve the readability of container information in the error log
Reviewed-by: dholmes, bobv
2019-03-21 04:55:20 -04:00
Kim Barrett
2946ff5ca5 8218975: Bug in macOSX kernel's pthread support
Use freelist of pthread_mutex/condvar pairs on macOSX.

Co-authored-by: Patricio Chilano Mateo <patricio.chilano.mateo@oracle.com>
Reviewed-by: tschatzl, dholmes, dcubed
2019-03-19 14:32:41 -04:00
Bob Vandette
30342b596b 8217766: Container Support doesn't work for some Join Controllers combinations
Reviewed-by: rriggs, sgehwolf
2019-03-19 12:29:40 -04:00
Bob Vandette
e97e09288e 8219562: Line of code in osContainer_linux.cpp L102 appears unreachable
Reviewed-by: rriggs, sgehwolf
2019-03-19 12:00:54 -04:00
Matthias Baesken
dc7b3e8df3 8220781: linux-s390 : os::get_summary_cpu_info gives bad output
Reviewed-by: dholmes, lucy
2019-03-18 16:04:23 +01:00
Per Lidén
3d4b0ea232 8220741: ZGC: Move CPU agnostic files from linux_x86 to linux
Reviewed-by: stefank, eosterlund
2019-03-18 11:50:38 +01: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
Martin Doerr
97ec4aeed2 8219584: Try to dump error file by thread which causes safepoint timeout
Reviewed-by: stuefe, dholmes, kvn
2019-03-08 11:23:30 +01:00
David Holmes
0d13646cbf 8219619: Remove UseFakeTimers and related code
Reviewed-by: zgu, redestad
2019-03-02 18:09:18 -05:00