Commit Graph

57 Commits

Author SHA1 Message Date
Simon Tooke
7a64fbbb92 8338851: Hoist os::Posix::realpath() to os::realpath() and implement on Windows
Reviewed-by: dholmes, stuefe, jwaters
2024-10-17 08:06:37 +00:00
Matthias Baesken
b9e65f982f 8337662: Improve os::print_hex_dump for printing Instructions sections
Reviewed-by: stuefe, lucy
2024-08-30 06:47:49 +00:00
Robert Toyonaga
4a73ed44f1 8330144: Revise os::free_memory()
Reviewed-by: stuefe, mbaesken
2024-07-18 13:35:32 +00:00
Joachim Kern
ced9906635 8334371: [AIX] Beginning with AIX 7.3 TL1 mmap() supports 64K memory pages
Reviewed-by: stuefe, mbaesken, mdoerr
2024-07-04 11:20:57 +00:00
Thomas Stuefe
38a578d547 8334738: os::print_hex_dump should optionally print ASCII
Reviewed-by: dholmes, sgehwolf
2024-07-04 06:20:03 +00:00
Afshin Zafari
f665e07ab2 8331540: [BACKOUT] NMT: add/make a mandatory MEMFLAGS argument to family of os::reserve/commit/uncommit memory API
Reviewed-by: jwilhelm
2024-05-03 10:17:11 +00:00
Afshin Zafari
4036d7d824 8330076: NMT: add/make a mandatory MEMFLAGS argument to family of os::reserve/commit/uncommit memory API
Reviewed-by: stefank, jsjolen, stuefe
2024-05-02 07:19:56 +00:00
Joachim Kern
0ae4fa71e4 8327210: AIX: Delete obsolete parameter Use64KPagesThreshold
Reviewed-by: gli, stuefe, mdoerr
2024-03-13 10:12:57 +00:00
Coleen Phillimore
c1281e6b45 8324678: Replace NULL with nullptr in HotSpot gtests
Reviewed-by: kbarrett, dholmes, jwaters
2024-01-29 17:12:13 +00:00
Afshin Zafari
66520be7a7 8280056: gtest/LargePageGtests.java#use-large-pages failed "os.release_one_mapping_multi_commits_vm"
Reviewed-by: stuefe, gziemski
2024-01-12 08:21:42 +00:00
Johan Sjölen
9864951dce 8318447: Move NMT source code to own subdirectory
Reviewed-by: stefank, dholmes, stuefe
2023-10-26 14:03:49 +00:00
Thomas Stuefe
5ba9705d60 8318485: Narrow klass shift should be zero if encoding range extends to 0x1_0000_0000
Reviewed-by: ccheung, iklam
2023-10-23 21:10:52 +00:00
Thomas Stuefe
c32e340d94 8315321: [aix] os::attempt_reserve_memory_at must map at the requested address or fail
Reviewed-by: mdoerr
2023-09-01 11:05:34 +00:00
Thomas Stuefe
89d18ea40f 8312018: Improve reservation of class space and CDS
8313669: Reduced chance for zero-based nKlass encoding since JDK-8296565

Reviewed-by: iklam, adinn
2023-08-30 17:51:28 +00:00
Thomas Stuefe
3699666c93 8313319: [linux] mmap should use MAP_FIXED_NOREPLACE if available
Reviewed-by: jsjolen, dholmes
2023-08-24 05:16:58 +00:00
Thomas Stuefe
a0d0f21f08 8314752: Use google test string comparison macros
Reviewed-by: coleenp, kbarrett
2023-08-23 05:26:05 +00:00
Coleen Phillimore
f47767ffef 8313882: Fix -Wconversion warnings in runtime code
Reviewed-by: pchilanomate, dlong, dholmes
2023-08-10 11:57:25 +00:00
Thomas Stuefe
8f28809aa8 8299790: os::print_hex_dump is racy
Reviewed-by: shade, dholmes
2023-08-10 07:21:47 +00:00
Vladimir Petko
0243da2e4a 8305481: gtest is_first_C_frame failing on ARM
Reviewed-by: stuefe
2023-04-10 09:21:23 +00:00
Afshin Zafari
4fe99da74f 8151413: os::allocation_granularity/page_size and friends return signed values
Reviewed-by: stefank, ccheung, ysr
2023-02-07 14:08:01 +00:00
Stefan Karlsson
df6cf1e41d 8296886: Fix various include sort order issues
Reviewed-by: kbarrett, dholmes, stuefe
2022-11-24 15:06:19 +00:00
Gerard Ziemski
ccc6e16918 8291067: macOS should use O_CLOEXEC instead of FD_CLOEXEC
Reviewed-by: dcubed, dholmes, stuefe
2022-11-22 16:30:24 +00:00
Thomas Stuefe
0845b39caf 8296796: Provide clean, platform-agnostic interface to C-heap trimming
Reviewed-by: dholmes, rkennke
2022-11-19 11:52:55 +00:00
Ioi Lam
b6b0317f83 8290840: Refactor the "os" class
Reviewed-by: dholmes, gziemski, stuefe, stefank
2022-08-04 01:20:29 +00:00
Coleen Phillimore
270cf67e5f 8288752: Split thread implementation files
Reviewed-by: dholmes, rehn, iklam
2022-06-22 12:49:25 +00:00
Thomas Stuefe
2e9fd56524 8283670: gtest os.release_multi_mappings_vm is still racy
Reviewed-by: mdoerr, dholmes
2022-03-29 07:09:27 +00:00
Thomas Stuefe
78ef2fdef6 8283562: JDK-8282306 breaks gtests on zero
Reviewed-by: shade
2022-03-23 12:55:28 +00:00
Johannes Bechberger
999da9bfc5 8282306: os::is_first_C_frame(frame*) crashes on invalid link access
Reviewed-by: stuefe, mdoerr
2022-03-21 15:49:59 +00:00
Thomas Stuefe
f07b816523 8280940: gtest os.release_multi_mappings_vm is racy
Reviewed-by: dcubed, sjohanss
2022-02-14 16:41:47 +00:00
Gerard Ziemski
d1efb0cc56 8267341: macos attempt_reserve_memory_at(arg1, arg2, true) failure
Reviewed-by: dcubed, dholmes
2022-01-19 22:34:54 +00:00
Daniel D. Daugherty
92d2176362 8273967: gtest os.dll_address_to_function_and_library_name_vm fails on macOS12
Reviewed-by: stuefe, gziemski
2021-11-05 17:04:39 +00:00
Daniel D. Daugherty
e6fa5fa37e 8276063: ProblemList gtest dll_address_to_function_and_library_name on macosx-generic
Reviewed-by: tschatzl
2021-10-27 14:24:02 +00:00
Daniel D. Daugherty
7addcd7cfb 8276034: ProblemList gtest dll_address_to_function_and_library_name on macosx-x64
Reviewed-by: prr
2021-10-26 22:03:18 +00:00
Daniel D. Daugherty
d62fbea7b4 8271898: disable os.release_multi_mappings_vm on macOS-X64
Reviewed-by: kbarrett
2021-08-04 21:06:23 +00:00
Thomas Stuefe
eec64f5587 8256844: Make NMT late-initializable
Reviewed-by: coleenp, zgu
2021-08-04 12:19:02 +00:00
Gerard Ziemski
237fee8bbd 8267339: Temporarily disable os.release_multi_mappings_vm on macOS x64
Reviewed-by: hseigel, dcubed
2021-05-19 16:42:10 +00:00
Gerard Ziemski
fadf58043c 8262952: [macos_aarch64] os::commit_memory failure
Reviewed-by: stuefe, aph
2021-05-18 14:44:12 +00:00
Thomas Stuefe
f3fb5a4524 8266942: gtest/GTestWrapper.java os.iso8601_time_vm failed
Reviewed-by: dcubed
2021-05-15 05:20:01 +00:00
Thomas Stuefe
94c6177f24 8266536: Provide a variant of os::iso8601_time which works with arbitrary timestamps
Reviewed-by: xliu, simonis, ysuenaga
2021-05-07 09:47:46 +00:00
Mikael Vidstedt
fced0f08bf 8265113: ProblemList gtest/GTestWrapper.java:os.release_multi_mappings on macosx-aarch64
Reviewed-by: stuefe, akozlov, dcubed
2021-04-13 15:10:58 +00:00
Thomas Stuefe
4dfd8cc4a6 8259897: gtest os.dll_address_to_function_and_library_name_vm fails on AIX
Reviewed-by: mdoerr
2021-01-21 10:30:36 +00:00
Thomas Stuefe
90c73d057d 8259569: gtest os.dll_address_to_function_and_library_name_vm fails
Reviewed-by: dcubed
2021-01-16 05:17:10 +00:00
Daniel D. Daugherty
8dfc77bfa6 8259586: ProblemList dll_address_to_function_and_library_name
Reviewed-by: hseigel
2021-01-11 19:44:26 +00:00
Thomas Stuefe
e0d748d56f 8258606: os::print_signal_handlers() should resolve the function name of the handlers
Reviewed-by: dholmes, coleenp, gziemski
2021-01-11 09:06:40 +00:00
Ioi Lam
8bf46c7368 8258438: build error in test/hotspot/gtest/runtime/test_os.cpp
Reviewed-by: dcubed, tschatzl
2020-12-15 21:42:01 +00:00
Coleen Phillimore
c37eabe73b 8252148: vmError::controlled_crash should be #ifdef ASSERT and move tests to gtest
Reviewed-by: iklam, stuefe
2020-12-15 20:48:18 +00:00
Marcus G K Williams
b977a7b8a5 8257989: Error in gtest os_page_size_for_region_unaligned after 8257588
Reviewed-by: stuefe
2020-12-09 18:59:09 +00:00
Thomas Stuefe
8e8e584552 8257588: Make os::_page_sizes a bitmask
Reviewed-by: tschatzl, stefank
2020-12-07 10:32:05 +00:00
Thomas Stuefe
b44a329f91 8256864: [windows] Improve tracing for mapping errors
Reviewed-by: iklam, rrich
2020-12-03 08:41:26 +00:00
Coleen Phillimore
4db05e991b 8254042: gtest/GTestWrapper.java failed os.test_random
Reviewed-by: dholmes, stuefe, kbarrett
2020-11-30 12:48:17 +00:00