455 Commits

Author SHA1 Message Date
David Holmes
1d50b2761c 8229516: Thread.isInterrupted() always returns false after thread termination
Reviewed-by: dnsimon, sspitsyn, dcubed, alanb
2019-11-03 18:02:29 -05:00
Bob Vandette
f5632e62b2 8227006: [linux] Runtime.availableProcessors execution time increased by factor of 100
Reviewed-by: dholmes, sgehwolf, redestad
2019-10-31 19:32:41 +00:00
Stefan Karlsson
ecb66d2c55 8232650: ZGC: Add initialization hooks for OS specific code
Reviewed-by: pliden, eosterlund
2019-10-28 11:26:53 +01:00
Stefan Karlsson
cc72a06c3b 8232651: Add implementation of os::processor_id() for Windows
Reviewed-by: dholmes, stuefe
2019-10-28 11:26:00 +01:00
Per Lidén
a8c4e6786d 8231552: ZGC: Refine address space reservation
Reviewed-by: eosterlund, stefank
2019-10-24 17:24:58 +02:00
Benoit Daloze
54be25b07b 8232571: Add missing SIGINFO signal
Reviewed-by: dholmes, rriggs
2019-10-22 22:00:21 -04:00
Per Lidén
ee4c8f5f19 8232239: ZGC: Inline ZCPU::count() and ZCPU:id()
Reviewed-by: tschatzl
2019-10-21 09:58:32 +02:00
Claes Redestad
a4e6e67553 8232207: Linux os::available_memory re-reads cgroup configuration on every invocation
Reviewed-by: bobv, sgehwolf
2019-10-17 00:19:02 +02:00
Claes Redestad
638fe2b833 8232211: Remove dead code from os.hpp|cpp
Reviewed-by: dholmes, dcubed, rehn
2019-10-17 00:00:13 +02:00
Matthias Baesken
2882b4c549 8232107: support ThreadPriorityPolicy flag on AIX
Reviewed-by: clanger, dholmes
2019-10-10 14:20:43 +02:00
Matthias Baesken
19a6085f43 8232052: use string literal for format string when handling PauseAtStartupFile
Reviewed-by: clanger, stuefe
2019-10-09 14:07:44 +02:00
Matthias Baesken
124bc7bb1e 8232060: add some initializations using sigemptyset in os_aix.cpp
Reviewed-by: clanger, stuefe
2019-10-10 08:46:07 +02:00
Matthias Baesken
d10abea7cf 8231753: use more Posix functionality in aix os::print_os_info
Reviewed-by: clanger, dholmes
2019-10-08 09:33:57 +02:00
Matthias Baesken
0072545f58 8231751: on aix handle Power 9 in os::get_summary_cpu_info
Reviewed-by: clanger, mdoerr
2019-10-02 10:01:18 +02:00
Christoph Langer
d00fd45b66 8231885: Fix/remove malformed assert in os_windows.cpp
Reviewed-by: dcubed, stuefe, kbarrett
2019-10-07 13:32:44 +01:00
Per Lidén
fb0197c5db 8231774: ZGC: ZVirtualMemoryManager unmaps incorrect address
Reviewed-by: kbarrett, stefank
2019-10-03 10:54:18 +02:00
Ralf Schmelter
98a2c05b5d 8191521: handle long relative path specified in -Xbootclasspath/a on windows
Reviewed-by: ccheung, clanger
2019-10-01 14:09:44 +02:00
Arno Zeller
03c764c5e3 8231457: Asserts on AIX because os::elapsed_counter() is not monotonic
Replace gettimeofday with javaTimeNanos

Reviewed-by: dholmes, stuefe
2019-09-28 17:52:07 -04:00
Erik Österlund
13d0bac294 8224820: ZGC: Support discontiguous heap reservations
Reviewed-by: pliden, stefank
2019-09-24 10:04:13 +00:00
David Holmes
23ec926327 8230395: Code checks for NULL value returned from NEW_C_HEAP_ARRAY which can not happen
Reviewed-by: lkorinth, hseigel, thartmann, dnsimon
2019-09-24 03:28:42 -04:00
Matthias Baesken
e2ebf7b822 8231171: remove remaining sun.java.launcher.pid references
Reviewed-by: alanb, dholmes
2019-09-20 10:28:48 +02:00
Matthias Baesken
b9e177677c 8228482: fix xlc16/xlclang comparison of distinct pointer types and string literal conversion warnings
Reviewed-by: clanger, mdoerr
2019-07-23 16:52:38 +02:00
David Holmes
5bca86f9f4 8230424: Use platform independent code for Thread.interrupt support
8231094: os::sleep in assert message should be changed to JavaThread::sleep

Reviewed-by: rehn, dcubed
2019-09-17 19:09:37 -04:00
Per Lidén
39fd81e4a7 8230846: ZGC: Make ZUtils::alloc_aligned() posix-specific
Reviewed-by: stefank
2019-09-13 08:40:09 +02:00
David Holmes
99252bd9d6 8230423: Move os::sleep to JavaThread::sleep
Reviewed-by: rehn, dcubed
2019-09-11 22:09:05 -04:00
Bob Vandette
591c4f80f1 8229202: Docker reporting causes secondary crashes in error handling
Reviewed-by: coleenp, hseigel, mseledtsov
2019-09-11 17:30:30 +00:00
Leo Korinth
4b6f9ed07f 8230398: Remove NULL checks before FREE_C_HEAP_ARRAY
Reviewed-by: dholmes, kbarrett, tschatzl
2019-09-11 14:16:30 +02:00
Leo Korinth
eafb888c18 8227168: Cleanup usage of NEW_C_HEAP_ARRAY
Reviewed-by: coleenp, dholmes, kbarrett, tschatzl
2019-09-11 14:16:27 +02:00
David Holmes
99c17fbf33 6313903: Thread.sleep(3) might wake up immediately on windows
Reviewed-by: rehn, dcubed, rriggs
2019-09-03 23:42:06 -04:00
Matthias Baesken
b7821ad399 8224214: [AIX] Remove support for legacy xlc compiler
Reviewed-by: erikj, kbarrett, mdoerr, dholmes
2019-08-30 09:37:41 +02:00
Per Lidén
536122fed6 8230092: ZGC: Consolidate ZBackingFile, ZBackingPath and ZPhysicalMemoryBacking on Linux
Reviewed-by: stefank
2019-08-28 09:50:21 +02:00
Per Lidén
1a76c72367 8230090: ZGC: Introduce ZSyscall
Reviewed-by: stefank
2019-08-28 09:50:20 +02:00
Stefan Karlsson
e1aca70a1c 8229836: Remove include of globals.hpp from allocation.hpp
Reviewed-by: coleenp, kbarrett
2019-08-26 09:13:38 +02:00
Boris Ulasevich
9e633ae065 8229254: solaris_x64 build fails after JDK-8191278
Reviewed-by: kbarrett, dholmes
2019-08-21 17:09:05 +03:00
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
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