Commit graph

148 commits

Author SHA1 Message Date
David Holmes
8a1639d49b 8305936: JavaThread::create_system_thread_object has unused is_visible argument
Reviewed-by: alanb, kbarrett
2023-04-13 23:10:18 +00:00
Thomas Stuefe
41a3db267d 8304815: Use NMT for more precise hs_err location printing
Reviewed-by: jsjolen, rkennke
2023-04-02 06:19:07 +00:00
Thomas Schatzl
b575e54bc9 8303963: Replace various encodings of UINT/SIZE_MAX in gc code
Reviewed-by: ayang, kbarrett
2023-03-13 09:56:40 +00:00
Thomas Stuefe
90e092280f 8293313: NMT: Rework MallocLimit
8293292: Remove MallocMaxTestWords

Reviewed-by: jsjolen, gziemski, lucy, mbaesken
2023-02-16 16:14:05 +00:00
Justin King
98a392c4fc 8302102: Disable ASan for SafeFetch and os::print_hex_dump
Reviewed-by: dholmes, stuefe
2023-02-15 06:42:27 +00:00
Gerard Ziemski
c37e9d1c8d 8298293: NMT: os::realloc() should verify that flags do not change between reallocations
Reviewed-by: dholmes, stuefe, iklam
2023-02-13 18:14:31 +00:00
Johan Sjölen
7b6ac41ab1 8286876: NMT.test_unaliged_block_address_vm_assert fails if using clang toolchain
Reviewed-by: stuefe, gziemski
2023-02-02 10:14:26 +00:00
Robbin Ehn
419409bcf6 8301337: Remove unused os::_polling_page
Reviewed-by: coleenp, dnsimon
2023-01-31 11:41:16 +00:00
Johan Sjölen
71107f4648 8300651: Replace NULL with nullptr in share/runtime/
Reviewed-by: rehn, dholmes
2023-01-25 10:30:02 +00:00
Xue-Lei Andrew Fan
478ef389dc 8296812: sprintf is deprecated in Xcode 14
Reviewed-by: stuefe, prr, kbarrett, lucy
2022-12-09 22:37:20 +00:00
Johan Sjölen
165dcdd27d 8297718: Make NMT free:ing protocol more granular
Reviewed-by: stuefe, gziemski
2022-12-08 12:32:59 +00:00
Jaikiran Pai
3f8882b2eb 8297693: Fix typos in src/hotspot and test/hotspot files
Co-authored-by: Michael Ernst <mernst@openjdk.org>
Reviewed-by: kevinw, dholmes, sspitsyn
2022-11-30 11:28:11 +00:00
Stefan Karlsson
813b223a6b 8296926: Sort include lines of files in the include/ directory
Reviewed-by: kbarrett, erikj, lkorinth
2022-11-16 12:51:26 +00:00
Thomas Stuefe
657a0b2f15 8295865: Several issues with os::realloc
Reviewed-by: dholmes, jsjolen
2022-11-12 05:51:50 +00:00
Harold Seigel
c622d56a0d 8286519: Better memory handling
Reviewed-by: coleenp, rhalade
2022-10-18 22:41:14 +00:00
Aleksey Shipilev
cbd0688b32 8293851: hs_err should print more stack in hex dump
Reviewed-by: adinn, stefank
2022-09-19 07:38:06 +00:00
Man Cao
45ff10cc68 8292695: SIGQUIT and jcmd attaching mechanism does not work with signal chaining library
Reviewed-by: xliu, stuefe
2022-09-09 19:12:08 +00:00
Stefan Karlsson
98ce45ff74 8292981: Unify and restructure integer printing format specifiers
Reviewed-by: kbarrett, dholmes
2022-09-02 06:52:35 +00:00
Erik Österlund
054c23f484 8290025: Remove the Sweeper
Reviewed-by: stefank, kvn, iveresov, coleenp, vlivanov, mdoerr
2022-08-25 09:48:55 +00:00
Ioi Lam
1fec62f299 8289710: Move Suspend/Resume classes out of os.hpp
Reviewed-by: dholmes, coleenp
2022-07-08 05:39:24 +00:00
Coleen Phillimore
8e7b45b820 8282986: Remove "system" in boot class path names
Reviewed-by: iklam, dholmes
2022-07-07 15:27:55 +00:00
Thomas Stuefe
688712f75c 8289633: Forbid raw C-heap allocation functions in hotspot and fix findings
Reviewed-by: kbarrett, dholmes
2022-07-05 04:26:45 +00:00
Ioi Lam
cdf6979259 8289230: Move PlatformXXX class declarations out of os_xxx.hpp
Reviewed-by: coleenp, ccheung
2022-07-02 14:45:10 +00:00
Thomas Stuefe
d4eeeb82cb 8271252: os::reserve_memory should not use mtOther as default NMT flag
Reviewed-by: zgu
2022-06-28 12:32:35 +00:00
Coleen Phillimore
270cf67e5f 8288752: Split thread implementation files
Reviewed-by: dholmes, rehn, iklam
2022-06-22 12:49:25 +00:00
Coleen Phillimore
be67acdf5c 8285832: runtime/Thread/TooSmallStackSize.java failed "assert(k->is_initialized()) failed: need to increase java_thread_min_stack_allowed calculation"
Reviewed-by: dholmes, fparain, iklam
2022-05-03 17:43:12 +00:00
Matthias Baesken
d8025c95cd 8285362: unify os::pause platform coding
Reviewed-by: dholmes, lucy
2022-04-22 13:41:08 +00:00
Magnus Ihse Bursie
4594696f54 8284903: Fix typos in hotspot
Reviewed-by: cjplummer, coleenp, kvn, lucy, stefank
2022-04-19 19:10:52 +00:00
Thomas Stuefe
bdf8a2a205 8283326: Implement SafeFetch statically
Reviewed-by: dholmes, mdoerr, akozlov, lucy
2022-04-15 10:39:19 +00:00
Thomas Stuefe
34914f12be 8284178: os::commit_memory() should assert the given range
Reviewed-by: shade
2022-04-10 16:58:49 +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
de4f04cb71 8253495: CDS generates non-deterministic output
Reviewed-by: erikj, kbarrett, ccheung, ihse
2022-03-16 03:12:48 +00:00
Thomas Stuefe
b96b743727 8281015: Further simplify NMT backend
Reviewed-by: zgu, mbaesken
2022-02-25 12:25:46 +00:00
Aleksey Shipilev
3a13425bc9 8072070: Improve interpreter stack banging
Reviewed-by: xliu, coleenp, mdoerr
2022-02-11 08:46:55 +00:00
Kim Barrett
072e7b4da0 8272807: Permit use of memory concurrent with pretouch
Reviewed-by: shade, stuefe
2022-02-09 06:53:09 +00:00
Thomas Stuefe
cab590517b 8280583: Always build NMT
Reviewed-by: shade, ihse, zgu
2022-01-27 09:18:17 +00:00
Harold Seigel
a4d201909c 8280178: Remove os:: API's that just call system API's
Reviewed-by: iklam, ccheung, dholmes
2022-01-20 13:10:33 +00:00
Thomas Stuefe
39b1d75f25 8277822: Remove debug-only heap overrun checks in os::malloc and friends
Reviewed-by: coleenp, zgu
2022-01-19 11:16:00 +00:00
Zhengyu Gu
5a036ace01 8277990: NMT: Remove NMT shutdown capability
Reviewed-by: stuefe, shade
2021-12-07 17:42:08 +00:00
Thomas Stuefe
cf7adae633 8275320: NMT should perform buffer overrun checks
8275320: NMT should perform buffer overrun checks
8275301: Unify C-heap buffer overrun checks into NMT

Reviewed-by: simonis, zgu
2021-11-24 12:12:23 +00:00
Coleen Phillimore
3b2585c02b 8276658: Clean up JNI local handles code
Reviewed-by: dholmes, pchilanomate
2021-11-12 16:17:15 +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
Yumin Qi
9732fbe428 8273153: Consolidate file_exists into os:file_exists
Reviewed-by: iklam, ccheung
2021-08-31 00:24:05 +00:00
Thomas Stuefe
eec64f5587 8256844: Make NMT late-initializable
Reviewed-by: coleenp, zgu
2021-08-04 12:19:02 +00:00
Calvin Cheung
3435d299f7 8271003: hs_err improvement: handle CLASSPATH env setting longer than O_BUFLEN
Reviewed-by: dholmes, stuefe, iklam, minqi
2021-08-04 01:38:18 +00:00
David Holmes
390d1025ca 8269652: Factor out the common code for creating system j.l.Thread objects
Reviewed-by: coleenp, dcubed, kvn, xliu
2021-07-04 21:58:16 +00:00
David Holmes
4107dcf6ec 8269466: Factor out the common code for initializing and starting internal VM JavaThreads
Reviewed-by: sspitsyn, pchilanomate, dcubed, coleenp, kvn
2021-07-02 04:29:47 +00:00
Guoxiong Li
cd678a383f 8268368: Adopt cast notation for JavaThread conversions
Reviewed-by: dholmes, stefank
2021-06-23 02:21:24 +00:00
Denghui Dong
1f0ea7c3d6 8268857: Merge VM_PrintJNI and VM_PrintThreads and remove the unused field 'is_deadlock' of DeadlockCycle
Reviewed-by: dholmes
2021-06-22 08:28:18 +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