482 Commits

Author SHA1 Message Date
Jie Fu
fbaebd4243 8268014: Build failure on SUSE Linux Enterprise Server 11.4 (s390x) due to 'SYS_get_mempolicy' was not declared
Reviewed-by: dholmes, mdoerr, mbaesken
2021-06-03 12:55:21 +00:00
Stefan Karlsson
64f0f68958 8267464: Circular-dependency resilient inline headers
Reviewed-by: kbarrett, eosterlund, dholmes, kvn
2021-05-31 08:59:19 +00:00
Jie Fu
9031477f27 8267945: ZGC: Revert NUMA changes (JDK-8266217 and JDK-8241354) after JDK-8241423
Reviewed-by: pliden
2021-05-30 23:03:57 +00:00
Jie Fu
1413f9e070 8241423: NUMA APIs fail to work in dockers due to dependent syscalls are disabled by default
Reviewed-by: dholmes, pliden
2021-05-28 13:51:37 +00:00
Xin Liu
41185d38f2 8229517: Support for optional asynchronous/buffered logging
Reviewed-by: ysuenaga, simonis, stuefe, phh, dholmes, ayang
2021-05-27 16:35:24 +00:00
Marcus G K Williams
94cfeb9c4f 8256155: Allow multiple large page sizes to be used on Linux
Co-authored-by: Marcus G K Williams <mgkwill@openjdk.org>
Co-authored-by: Stefan Johansson <sjohanss@openjdk.org>
Co-authored-by: Thomas Stuefe <stuefe@openjdk.org>
Reviewed-by: stuefe, sjohanss
2021-05-21 14:15:29 +00:00
Anton Kozlov
3b11d811a2 8266742: Check W^X state on possible safepoint
Reviewed-by: dholmes, gziemski
2021-05-17 19:15:18 +00:00
Stefan Johansson
7b736ec932 8266489: Enable G1 to use large pages on Windows when region size is larger than 2m
Reviewed-by: tschatzl, iwalulya
2021-05-17 08:32:30 +00:00
David Holmes
02f895c5f6 8252685: APIs that require JavaThread should take JavaThread arguments
Reviewed-by: coleenp, sspitsyn, kvn, iklam
2021-05-17 04:05:44 +00:00
Stefan Johansson
2798b0d98a 8266349: Pass down requested page size to reserve_memory_special
Reviewed-by: stuefe, mgkwill
2021-05-07 11:33:10 +00:00
Thomas Stuefe
0ac84d1813 8266506: [aix] Treat mapping attempt too close to BRK as a mapping error
Reviewed-by: mdoerr
2021-05-05 11:57:20 +00:00
Thomas Stuefe
02cdd6eb6d 8266419: [aix] in mmap mode, os::attempt_reserve_memory_at() fails to handle wrong mapping address
Reviewed-by: mdoerr
2021-05-05 11:54:57 +00:00
Thomas Stuefe
250b45a510 8266222: [aix] In mmap-mode, partial releases with os::release_memory may trash internal bookkeeping
Reviewed-by: mdoerr
2021-05-05 11:49:44 +00:00
Jie Fu
5ecef01c4a 8266217: ZGC: Improve the -Xlog:gc+init output for NUMA
Reviewed-by: stefank, tschatzl, pliden
2021-04-29 23:06:35 +00:00
Jie Fu
794cefe8f9 8241354: ZGC still crashes in containers with NUMA due to get_mempolicy is disabled by default
Co-authored-by: Per Liden <pliden@openjdk.org>
Reviewed-by: pliden
2021-04-28 22:37:29 +00:00
Harold Seigel
f40bf1d240 8266087: Move 'buffer' declaration in get_user_name_slow() inside of linux specific code
Reviewed-by: zgu, dcubed
2021-04-28 14:50:12 +00:00
Harold Seigel
879a77f173 8265757: stack-use-after-scope in perfMemory_posix.cpp get_user_name_slow()
Reviewed-by: lfoltan, dcubed
2021-04-27 12:07:40 +00:00
Vladimir Kozlov
694acedf18 8264805: Remove the experimental Ahead-of-Time Compiler
Reviewed-by: coleenp, erikj, stefank, iignatyev, dholmes, aph, shade, iklam, mchung, iveresov
2021-04-27 01:12:18 +00:00
Per Liden
0d08d73537 8265702: ZGC on macOS/aarch64
Reviewed-by: erikj, dholmes, stefank, gziemski
2021-04-26 08:45:42 +00:00
Yumin Qi
20a373a0d0 8265393: VM crashes if both -XX:+RecordDynamicDumpInfo and -XX:SharedArchiveFile options are specified
Reviewed-by: iklam, ccheung
2021-04-23 21:51:11 +00:00
Thomas Stuefe
ac23870186 8265831: 8257831 broke Windows x86 build
Reviewed-by: shade
2021-04-23 16:37:07 +00:00
Ioi Lam
95f0fd6c4d 8265696: Move CDS sources to src/hotspot/shared/cds
Reviewed-by: erikj, dholmes, stuefe
2021-04-23 04:13:02 +00:00
Robbin Ehn
86bd44fe80 8257831: Suspend with handshakes
Reviewed-by: dcubed, rrich, dholmes, pchilanomate, sspitsyn
2021-04-22 10:30:47 +00:00
Ioi Lam
33b6378f1e 8265101: Remove unnecessary functions in os*.inline.hpp
Reviewed-by: dholmes, kbarrett
2021-04-22 05:44:39 +00:00
Yasumasa Suenaga
f1d4ae6cc9 8263718: unused-result warning happens at os_linux.cpp
Reviewed-by: dholmes, stuefe
2021-04-20 05:06:55 +00:00
Stefan Johansson
f2f7aa3bec 8262291: Refactor reserve_memory_special_huge_tlbfs
Reviewed-by: iwalulya, stuefe
2021-04-13 08:59:09 +00:00
Yi Yang
666fd62ee8 8264881: Remove the old development option MemProfiling
Reviewed-by: dholmes, coleenp, shade
2021-04-09 06:23:12 +00:00
Harold Seigel
af13c64f68 8264711: More runtime TRAPS cleanups
Reviewed-by: lfoltan, pchilanomate, dholmes, dcubed
2021-04-08 12:13:19 +00:00
Ioi Lam
17202c89d5 8264748: Do not include arguments.hpp from compilerDefinitions.hpp
Reviewed-by: gziemski, stefank
2021-04-07 05:37:37 +00:00
Martin Doerr
9061271b0b 8261957: [PPC64] Support for Concurrent Thread-Stack Processing
Reviewed-by: lucy, nradomski
2021-03-31 09:37:16 +00:00
Jie Fu
38e0a58f6c 8264273: macOS: zero VM is broken due to no member named 'is_cpu_emulated' after JDK-8261966
Reviewed-by: iklam
2021-03-27 09:54:11 +00:00
Anton Kozlov
dbc9e4b50c 8253795: Implementation of JEP 391: macOS/AArch64 Port
8253816: Support macOS W^X
8253817: Support macOS Aarch64 ABI in Interpreter
8253818: Support macOS Aarch64 ABI for compiled wrappers
8253819: Implement os/cpu for macOS/AArch64
8253839: Update tests and JDK code for macOS/Aarch64
8254941: Implement Serviceability Agent for macOS/AArch64
8255776: Change build system for macOS/AArch64
8262903: [macos_aarch64] Thread::current() called on detached thread

Co-authored-by: Vladimir Kempik <vkempik@openjdk.org>
Co-authored-by: Bernhard Urban-Forster <burban@openjdk.org>
Co-authored-by: Ludovic Henry <luhenry@openjdk.org>
Co-authored-by: Monica Beckwith <mbeckwit@openjdk.org>
Reviewed-by: erikj, ihse, prr, cjplummer, stefank, gziemski, aph, mbeckwit, luhenry
2021-03-25 18:10:18 +00:00
Thomas Stuefe
d602ae080b 8263884: Clean up os::is_allocatable() across Posix platforms
Reviewed-by: stefank
2021-03-25 08:54:05 +00:00
Stefan Johansson
623f0b6bc6 8262235: Remove unnecessary logic in hugetlbfs_sanity_check()
Reviewed-by: iwalulya, tschatzl
2021-03-24 20:28:04 +00:00
Gerard Ziemski
4d8e9860e2 8261966: macOS M1: report in hs_err log if we are running x86 code in emulation mode (Rosetta)
Reviewed-by: dcubed, mikael, dholmes
2021-03-24 15:18:39 +00:00
Thomas Stuefe
5b8233ba0a 8263871: On sem_destroy() failing we should assert
Reviewed-by: dholmes
2021-03-20 05:51:04 +00:00
Christoph Göttschkes
454af8719e 8263185: Mallinfo deprecated in glibc 2.33
Reviewed-by: stuefe, dholmes
2021-03-19 08:58:36 +00:00
David Holmes
8c1112a690 8261916: gtest/GTestWrapper.java vmErrorTest.unimplemented1_vm_assert failed
Reviewed-by: dcubed, coleenp
2021-03-15 23:11:13 +00:00
David Holmes
554dd29fb6 8263564: Consolidate POSIX code for runtime exit support: os::shutdown, os::abort and os::die
Reviewed-by: mikael
2021-03-15 02:03:22 +00:00
Anton Kozlov
0bc45625b0 8263068: Rename safefetch.hpp to safefetch.inline.hpp
Reviewed-by: stefank
2021-03-09 08:19:59 +00:00
Thomas Stuefe
5b9b170db9 8262955: Unify os::fork_and_exec() across Posix platforms
Reviewed-by: dholmes, hseigel
2021-03-09 06:00:46 +00:00
Mikhailo Seledtsov
9221540e2a 8213269: convert test/hotspot/jtreg/runtime/memory/RunUnitTestsConcurrently to gtest
Reviewed-by: iignatyev, coleenp, stuefe
2021-03-08 20:09:59 +00:00
Koichi Sakata
22513199e5 8262828: Format of OS information is different on macOS
Reviewed-by: dholmes, ysuenaga
2021-03-04 07:56:14 +00:00
Yasumasa Suenaga
c3eb80e18f 8262500: HostName entry in VM.info should be a new line
Reviewed-by: stuefe, dcubed, dholmes
2021-03-02 03:02:30 +00:00
Stefan Johansson
0a7fff46cf 8261636: The test mapping in hugetlbfs_sanity_check should consider LargePageSizeInBytes
Reviewed-by: tschatzl, iwalulya
2021-03-01 12:02:54 +00:00
Thomas Stuefe
7e2c909ee1 8260485: Simplify and unify handler vectors in Posix signal code
Reviewed-by: dholmes, gziemski
2021-02-19 06:40:40 +00:00
Calvin Cheung
b8fd61420c 8261939: os::strdup_check_oom() should be used in os::same_files() in os_windows.cpp
Reviewed-by: minqi
2021-02-18 04:40:20 +00:00
Calvin Cheung
5f308291a0 8202750: Reduce the use of get_canonical_path() in CDS
Reviewed-by: minqi, iklam
2021-02-18 02:51:24 +00:00
Stefan Johansson
f639df435e 8261401: Add sanity check for UseSHM large pages similar to the one used with hugetlb large pages
Reviewed-by: stuefe, tschatzl
2021-02-17 12:03:25 +00:00
Anton Kozlov
b955f85e03 8261075: Create stubRoutines.inline.hpp with SafeFetch implementation
Reviewed-by: dcubed, stuefe, stefank
2021-02-17 08:10:32 +00:00