Commit Graph

179 Commits

Author SHA1 Message Date
Albert Mingkun Yang
89b7d07597 8307100: Remove ReferentBasedDiscovery reference discovery policy
Reviewed-by: kbarrett, dholmes, tschatzl
2023-05-08 08:31:04 +00:00
Kim Barrett
8a70664e52 8293117: Add atomic bitset functions
Reviewed-by: shade, coleenp, dholmes
2023-05-02 21:27:01 +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
Thomas Schatzl
315398c245 8221785: Let possibly_parallel_threads_do cover the same threads as threads_do
Reviewed-by: iwalulya, coleenp
2023-01-26 15:39:22 +00:00
Johan Sjölen
500c3c1737 8298730: Refactor subsystem_file_line_contents and add docs and tests
Reviewed-by: sgehwolf, iklam
2023-01-09 10:18:26 +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
Christian Hagedorn
8b8d8481bc 8293422: DWARF emitted by Clang cannot be parsed
Reviewed-by: tschatzl, ihse, stuefe
2022-11-21 12:58:45 +00:00
Thomas Stuefe
0a3b0fc8ad 8296784: Provide clean mallinfo/mallinfo2 wrapper for Linux glibc platforms
Reviewed-by: rkennke, mbaesken
2022-11-19 18:06:48 +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
89dafc002f 8292699: Improve printing of classes in native debugger
Reviewed-by: coleenp
2022-10-24 22:17:51 +00:00
Kim Barrett
1164258ec7 8295124: Atomic::add to pointer type may return wrong value
Reviewed-by: tschatzl, coleenp
2022-10-20 22:24:53 +00:00
Aleksey Shipilev
b06f1b149c 8294594: Fix cast-function-type warnings in signal handling code
Reviewed-by: dholmes, kbarrett
2022-10-18 08:45:28 +00:00
Christian Hagedorn
13c0369646 8242181: [Linux] Show source information when printing native stack traces in hs_err files
Reviewed-by: erikj, tschatzl, stuefe, ihse
2022-08-24 06:44:06 +00:00
Kim Barrett
f85411f24a 8292458: Atomic operations on scoped enums don't build with clang
Reviewed-by: eosterlund, stefank
2022-08-19 01:49:52 +00:00
Harold Seigel
0d96546ab9 8292054: Test runtime/posixSig/TestPosixSig.java fails with 'Test failed, bad output.'
Reviewed-by: coleenp, stuefe
2022-08-17 19:56:14 +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
Severin Gehwolf
e0baf012b1 8287007: [cgroups] Consistently use stringStream throughout parsing code
Reviewed-by: iklam
2022-06-13 15:14:51 +00:00
Ioi Lam
4714fdcd6a 8285279: ArgumentsTest.set_numeric_flag_double_vm fails on some locales (again)
Reviewed-by: dholmes
2022-04-27 04:58:13 +00:00
Thomas Stuefe
bdf8a2a205 8283326: Implement SafeFetch statically
Reviewed-by: dholmes, mdoerr, akozlov, lucy
2022-04-15 10:39:19 +00:00
Ioi Lam
e29707493e 8284181: ArgumentsTest.set_numeric_flag_double_vm fails on some locales
Reviewed-by: stuefe
2022-04-04 20:08:07 +00:00
Ioi Lam
49fcc7a5c3 8283013: Simplify Arguments::parse_argument()
Reviewed-by: dholmes, ccheung
2022-03-31 15:46:34 +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
Tyler Steele
d5f9059032 8283695: [AIX] Build failure due to name conflict in test_arguments.cpp
Reviewed-by: iklam, stuefe
2022-03-26 07:37:42 +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
Ioi Lam
b004fb0550 8282773: Refactor parsing of integer VM options
Reviewed-by: dholmes, kbarrett
2022-03-17 17:50:20 +00:00
Thomas Stuefe
5c187e34a5 8282593: JDK-8281472 breaks 32-bit builds and gtests
Reviewed-by: jiefu, dholmes
2022-03-03 13:25:10 +00:00
Harold Seigel
a95edee634 8281472: JVM options processing silently truncates large illegal options values
Reviewed-by: dholmes, iklam
2022-03-01 13:21:57 +00:00
Daniel Jeliński
23995f822e 8281525: Enable Zc:strictStrings flag in Visual Studio build
Reviewed-by: dholmes, ihse
2022-02-24 18:18:52 +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
Thomas Stuefe
cab590517b 8280583: Always build NMT
Reviewed-by: shade, ihse, zgu
2022-01-27 09:18:17 +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
Coleen Phillimore
6364719cd1 8274004: Change 'nonleaf' rank name
8273956: Add checking for rank values

Reviewed-by: dholmes, pchilanomate
2021-10-08 12:23:19 +00:00
Coleen Phillimore
b8af6a9bfb 8273917: Remove 'leaf' ranking for Mutex
Reviewed-by: eosterlund, dholmes
2021-10-06 12:14:33 +00:00
Coleen Phillimore
90a5ae802e 8274282: Clarify special wait assert
Reviewed-by: dholmes, pchilanomate
2021-10-05 15:13:54 +00:00
Coleen Phillimore
d098751366 8273916: Remove 'special' ranking
Reviewed-by: dholmes, pchilanomate
2021-09-23 11:21:02 +00:00
Coleen Phillimore
111d5e1a93 8273915: Create 'nosafepoint' rank
Reviewed-by: dholmes, iklam
2021-09-21 11:37:49 +00:00
Coleen Phillimore
98b9d98032 8272797: Mutex with rank safepoint_check_never imply allow_vm_block
Reviewed-by: dholmes, pchilanomate
2021-08-30 14:47:24 +00:00
Coleen Phillimore
b92214a8d0 8272480: Remove Mutex::access rank
Reviewed-by: dholmes, eosterlund
2021-08-27 13:51:39 +00:00
Coleen Phillimore
2ef6871118 8272447: Remove 'native' ranked Mutex
Reviewed-by: stuefe, pchilanomate
2021-08-25 13:25:34 +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
Stefan Johansson
5df25dc088 8266807: Windows os_windows-gtest broken for UseLargePages
Reviewed-by: iwalulya, ayang, tschatzl
2021-05-31 12:51:21 +00:00
Thomas Stuefe
9820f3d480 8267371: Concurrent gtests take too long
Reviewed-by: shade, gziemski
2021-05-19 17:55:05 +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
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
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
Coleen Phillimore
222f9f07d1 8265682: G1: Mutex::_name dangling in HeapRegionRemSet references after JDK-8264146
Reviewed-by: dholmes, sjohanss
2021-04-26 14:23:08 +00:00
Aleksey Shipilev
66f89870f2 8265298: Hard VM crash when deadlock between "access" and higher ranked lock is detected
Reviewed-by: pchilanomate, dholmes
2021-04-17 06:21:19 +00:00
Anton Kozlov
283d64f815 8262896: [macos_aarch64] Crash in jni_fast_GetLongField
Reviewed-by: aph, dholmes
2021-04-13 22:34:28 +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
Stefan Johansson
f2f7aa3bec 8262291: Refactor reserve_memory_special_huge_tlbfs
Reviewed-by: iwalulya, stuefe
2021-04-13 08:59:09 +00:00
Ioi Lam
627ad9fe22 8262328: Templatize JVMFlag boilerplate access methods
Reviewed-by: dholmes, gziemski
2021-04-10 15:39:27 +00:00
Daniel D. Daugherty
f259eeaf65 8264393: JDK-8258284 introduced dangling TLH race
Reviewed-by: dholmes, rehn, eosterlund
2021-04-03 19:06:34 +00:00
Ioi Lam
5858399062 8264285: Clean the modification of ccstr JVM flags
Reviewed-by: dholmes, coleenp
2021-04-01 18:25:14 +00:00
Anton Kozlov
0bc45625b0 8263068: Rename safefetch.hpp to safefetch.inline.hpp
Reviewed-by: stefank
2021-03-09 08:19:59 +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
Anton Kozlov
b955f85e03 8261075: Create stubRoutines.inline.hpp with SafeFetch implementation
Reviewed-by: dcubed, stuefe, stefank
2021-02-17 08:10:32 +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
5ea960728c 8258459: Decouple gc_globals.hpp from globals.hpp
Reviewed-by: lfoltan, coleenp
2021-01-05 05:57:08 +00:00
Daniel D. Daugherty
172af1524d 8258284: clean up issues with nested ThreadsListHandles
Reviewed-by: eosterlund, rehn
2020-12-22 14:07:43 +00:00
Thomas Stuefe
853c04712d 8258469: Cleanup remaining safefetch test coding
Reviewed-by: coleenp, dholmes
2020-12-18 08:13:16 +00:00
Coleen Phillimore
6aa8eed352 8258415: gtest for committed memory leaks reservation
Reviewed-by: hseigel, stuefe
2020-12-17 13:35:09 +00:00
Ioi Lam
17ace8339d 8258074: Move some flags related to compiler to compiler_globals.hpp
Reviewed-by: kvn, coleenp
2020-12-16 04:36:43 +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
Anton Kozlov
2273f9555a 8234930: Use MAP_JIT when allocating pages for code cache on macOS
Reviewed-by: stuefe, iklam, burban
2020-12-15 18:43:49 +00:00
Thomas Stuefe
3ab1dfeb8f 8257828: SafeFetch may crash if invoked in non-JavaThreads
Reviewed-by: mdoerr, kbarrett, coleenp, dholmes
2020-12-15 07:00:54 +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
Thomas Stuefe
e56a8df8a0 8257042: [aix] Disable os.release_one_mapping_multi_commits_vm gtest
Reviewed-by: shade
2020-11-25 21:26:36 +00:00
Ralf Schmelter
26e6cb3eb9 8256489: Make gtest for long path names on Windows more resilient in the presence of virus scanners
Reviewed-by: dholmes, clanger
2020-11-25 13:16:36 +00:00
Patricio Chilano Mateo
aabc9ca266 8255678: Add Mutex::try_lock version without rank checks
Reviewed-by: dcubed, dholmes, coleenp
2020-11-23 15:41:19 +00:00
Patricio Chilano Mateo
342ccf6903 8256253: Defer Biased Locking obsoletion to JDK 18
Reviewed-by: dholmes, coleenp, dcubed, mdoerr
2020-11-19 14:12:41 +00:00
Thomas Stuefe
f626ed6a43 8255978: [windows] os::release_memory may not release the full range
Reviewed-by: iklam, minqi
2020-11-19 11:51:09 +00:00
Patricio Chilano Mateo
943acd22e5 8256276: Temporarily disable gtest special_flags
Reviewed-by: tschatzl, dcubed
2020-11-12 15:45:26 +00:00
Daniel D. Daugherty
2e19026d45 8253064: monitor list simplifications and getting rid of TSM
Co-authored-by: Erik Österlund <eosterlund@openjdk.org>
Reviewed-by: eosterlund, rehn, coleenp
2020-11-11 16:20:11 +00:00
Thomas Stuefe
4031cb4190 8254189: Improve comments for StackOverFlow and fix in_xxx() functions
Reviewed-by: dholmes, gziemski
2020-10-29 06:30:03 +00:00
Thomas Stuefe
44e6820c37 8253650: Cleanup: remove alignment_hint parameter from os::reserve_memory
Reviewed-by: stefank, tschatzl
2020-10-01 12:09:59 +00:00
Stefan Karlsson
625a9352bf 8253638: Cleanup os::reserve_memory and remove MAP_FIXED
Reviewed-by: stuefe, iklam
2020-09-28 06:30:09 +00:00
Kim Barrett
af8c678038 8247910: Improve alignment and power-of-2 utilities using C++14
8238956: Replace powerOfTwo::max_value with std::numeric_limits

Reviewed-by: tschatzl, stefank
2020-09-15 04:34:49 +00:00
Coleen Phillimore
b978ebee46 8244386: convert runtime/Safepoint/AssertSafepointCheckConsistency tests to gtest
Reviewed-by: stuefe, lfoltan, dcubed
2020-08-26 07:55:05 -04:00
Patric Hedlin
195c45a0e1 8245226: Clean-up FlagSetting and remove misuse
Reviewed-by: neliasso, dholmes
2020-02-24 14:06:01 +01:00
Thomas Schatzl
0963050548 8246557: test_os_linux.cpp uses NULL instead of MAP_FAILED to check for failed mmap call
Reviewed-by: sjohanss, stefank
2020-06-05 10:44:24 +02:00
Claes Redestad
23d6a788b4 8241371: Refactor and consolidate package_from_name
Reviewed-by: iklam, lfoltan
2020-03-23 23:18:42 +01:00
Richard Reingruber
4f20fa5246 8239854: Non-PCH gtest build fails after JDK-8239235 due to a missing include
Reviewed-by: shade, mdoerr
2020-02-24 12:04:37 +01:00
Claes Redestad
289513cc2b 8239235: Examine SignatureStream performance after consolidation
Reviewed-by: lfoltan, coleenp
2020-02-24 10:20:35 +01:00