Kim Barrett
9e843f56ec
8367014: Rename class Atomic to AtomicAccess
...
Reviewed-by: dholmes, aph, stefank
2025-09-12 06:35:55 +00:00
Johan Sjölen
4680dc9831
8365264: Rename ResourceHashtable to HashTable
...
Reviewed-by: iklam, ayang
2025-08-13 18:41:57 +00:00
David Holmes
4669005123
8361912: ThreadsListHandle::cv_internal_thread_to_JavaThread does not deal with a virtual thread's carrier thread
...
Reviewed-by: pchilanomate, dcubed, amenkov, sspitsyn
2025-07-28 23:47:51 +00:00
David Holmes
334683e634
8358645: Access violation in ThreadsSMRSupport::print_info_on during thread dump
...
Reviewed-by: fbredberg, shade, dcubed
2025-06-26 21:48:46 +00:00
David Holmes
e43960a017
8350616: Skip ValidateHazardPtrsClosure in non-debug builds
...
Reviewed-by: kbarrett, tschatzl, shade
2025-02-26 20:14:11 +00:00
Stefan Karlsson
c33c1cfe73
8347909: Automatic precompiled.hpp inclusion
...
Reviewed-by: lkorinth, erikj, dholmes, ihse
2025-01-21 10:21:24 +00:00
Coleen Phillimore
379d05bcc1
8346990: Remove INTX_FORMAT and UINTX_FORMAT macros
...
Reviewed-by: kbarrett, dholmes, matsaave
2025-01-13 22:01:54 +00:00
Johan Sjölen
4f16161607
8309044: Replace NULL with nullptr, final sweep of hotspot code
...
Reviewed-by: stefank, dholmes, kvn, amitkumar
2023-05-31 09:19:47 +00:00
Daniel D. Daugherty
f030937a51
8305670: Performance regression in LockSupport.unpark with lots of idle threads
...
Co-authored-by: Robbin Ehn <rehn@openjdk.org>
Reviewed-by: rehn, dholmes
2023-05-13 14:44:57 +00:00
Daniel D. Daugherty
ceca198ef2
8307068: store a JavaThread* in the java.lang.Thread object after the JavaThread* is added to the main ThreadsList
...
Reviewed-by: dholmes, rehn, apangin
2023-05-13 14:41:19 +00:00
Daniel D. Daugherty
5e26e64cbf
8307067: remove broken EnableThreadSMRExtraValidityChecks option
...
Reviewed-by: coleenp, dholmes, sspitsyn, rehn
2023-05-13 14:39:58 +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
Stefan Karlsson
bfc5816595
8295475: Move non-resource allocation strategies out of ResourceObj
...
Reviewed-by: coleenp, stuefe, rehn, dholmes
2022-11-10 08:31:37 +00:00
Coleen Phillimore
270cf67e5f
8288752: Split thread implementation files
...
Reviewed-by: dholmes, rehn, iklam
2022-06-22 12:49:25 +00:00
Daniel D. Daugherty
a144988600
8288139: JavaThread touches oop after GC barrier is detached
...
Reviewed-by: pchilanomate, dholmes, rehn, eosterlund
2022-06-21 16:21:03 +00:00
Alan Bateman
9583e3657e
8284161: Implementation of Virtual Threads (Preview)
...
Co-authored-by: Ron Pressler <rpressler@openjdk.org>
Co-authored-by: Alan Bateman <alanb@openjdk.org>
Co-authored-by: Erik Österlund <eosterlund@openjdk.org>
Co-authored-by: Andrew Haley <aph@openjdk.org>
Co-authored-by: Rickard Bäckman <rbackman@openjdk.org>
Co-authored-by: Markus Grönlund <mgronlun@openjdk.org>
Co-authored-by: Leonid Mesnik <lmesnik@openjdk.org>
Co-authored-by: Serguei Spitsyn <sspitsyn@openjdk.org>
Co-authored-by: Chris Plummer <cjplummer@openjdk.org>
Co-authored-by: Coleen Phillimore <coleenp@openjdk.org>
Co-authored-by: Robbin Ehn <rehn@openjdk.org>
Co-authored-by: Stefan Karlsson <stefank@openjdk.org>
Co-authored-by: Thomas Schatzl <tschatzl@openjdk.org>
Co-authored-by: Sergey Kuksenko <skuksenko@openjdk.org>
Reviewed-by: lancea, eosterlund, rehn, sspitsyn, stefank, tschatzl, dfuchs, lmesnik, dcubed, kevinw, amenkov, dlong, mchung, psandoz, bpb, coleenp, smarks, egahlin, mseledtsov, coffeys, darcy
2022-05-07 08:06:16 +00:00
Daniel D. Daugherty
0a85236396
8193559: ugly DO_JAVA_THREADS macro should be replaced
...
Co-authored-by: Kim Barrett <kbarrett@openjdk.org>
Reviewed-by: eosterlund, ayang, kbarrett, dholmes
2021-08-02 16:01:27 +00:00
Ioi Lam
357947acd8
8270061: Change parameter order of ResourceHashtable
...
Reviewed-by: coleenp, stuefe
2021-07-28 20:39:16 +00:00
Daniel D. Daugherty
591b0c3a46
8264624: change the guarantee() calls added by JDK-8264123 to assert() calls
...
Reviewed-by: pchilanomate, coleenp
2021-05-28 16:24:04 +00:00
Daniel D. Daugherty
23189a1f9d
8191786: Thread-SMR hash table size should be dynamic
...
Reviewed-by: dholmes, rehn, coleenp, eosterlund
2021-05-27 14:58:26 +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
Daniel D. Daugherty
9b2232bc1f
8264123: add ThreadsList.is_valid() support
...
Reviewed-by: dholmes, eosterlund, rehn
2021-04-03 19:03:04 +00:00
Daniel D. Daugherty
090bd3afc3
8259397: ThreadsSMRSupport::print_info_on() should use try_lock_without_rank_check()
...
Reviewed-by: coleenp, dholmes
2021-01-08 15:30:33 +00:00
Kim Barrett
10a6b0d983
8234773: Fix ThreadsSMRSupport::_bootstrap_list
...
Make ThreadsList noncopyable, direct initializing _bootstrap_list. Avoid C-heap allocation for _bootstrap_list.
Reviewed-by: dholmes, dcubed
2021-01-08 14:25:12 +00:00
Daniel D. Daugherty
c0540ffda9
8231627: ThreadsListHandleInErrorHandlingTest.java fails in printing all threads
...
Reviewed-by: eosterlund, coleenp, pchilanomate, sspitsyn
2021-01-06 14:34:55 +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
178c00182c
8258479: Minor cleanups in VMError
...
Reviewed-by: lfoltan, coleenp
2020-12-17 05:26:11 +00:00
Coleen Phillimore
0c9e0c2e7f
8244997: Convert the JavaThread::_threadObj oop to use OopStorage
...
Move the oop and handle releasing it in the service thread. Remove Universe::oops_do from callers.
Co-authored-by: Erik Osterlund <erik.osterlund@oracle.com>
Co-authored-by: Tom Rodriguez <tom.rodriguez@oracle.com>
Reviewed-by: dholmes, zgu, eosterlund, cjplummer
2020-08-07 07:53:26 -04:00
David Holmes
17dd7dc38c
8240588: _threadObj cannot be used on an exiting JavaThread
...
Reviewed-by: rehn, dcubed, kbarrett
2020-05-13 22:29:54 -04:00
Patricio Chilano Mateo
d19f5f6830
8242484: Rework thread deletion during VM termination
...
Always delete JavaThread that calls Thread::destroy_vm()
Reviewed-by: dholmes, rehn, coleenp
2020-04-21 17:50:48 +00:00
Claes Redestad
06cb195865
8234331: Add robust and optimized utility for rounding up to next power of two
...
Reviewed-by: eosterlund, stuefe, jrose
2019-12-06 18:05:36 +01:00
Stefan Karlsson
161333eeba
8234748: Clean up atomic and orderAccess includes
...
Reviewed-by: dholmes
2019-11-26 10:47:46 +01:00
Stefan Karlsson
0ad50c2b5c
8234740: Harmonize parameter order in Atomic - cmpxchg
...
Reviewed-by: rehn, dholmes
2019-11-25 12:33:15 +01:00
Stefan Karlsson
3d426623bf
8234739: Harmonize parameter order in Atomic - xchg
...
Reviewed-by: rehn, dholmes
2019-11-25 12:32:40 +01:00
Stefan Karlsson
d45ec50076
8234737: Harmonize parameter order in Atomic - add
...
Reviewed-by: rehn, dholmes
2019-11-25 12:31:39 +01:00
Stefan Karlsson
e527ce4b57
8234562: Move OrderAccess::release_store*/load_acquire to Atomic
...
Reviewed-by: rehn, dholmes
2019-11-25 12:22:13 +01:00
Daniel D. Daugherty
b10495d436
8230876: baseline cleanups from Async Monitor Deflation v2.0[789]
...
Reviewed-by: dholmes, kvn
2019-11-20 09:10:02 -05:00
Robbin Ehn
9de8d240ff
8218543: ThreadsList handling during error reporting can crash
...
Reviewed-by: dcubed, dholmes
2019-10-14 08:59:12 +02:00
Daniil Titov
6ccf3351d7
8185005: Improve performance of ThreadMXBean.getThreadInfo(long ids[], int maxDepth)
...
Reviewed-by: sspitsyn, dholmes, dcubed, rehn
2019-09-25 11:10:05 -07:00
Robbin Ehn
c6446d44b7
8226228: Make Threads_lock an always safepoint checked lock
...
Reviewed-by: coleenp, dcubed, dholmes
2019-08-09 11:04:08 +02:00
Coleen Phillimore
fbafef11c0
8222811: Consolidate MutexLockerEx and MutexLocker
...
Make MutexLocker be MutexLockerEx implementation, remove MutexLockerEx calls.
Reviewed-by: dcubed, dholmes, pliden, rehn
2019-04-25 10:56:31 -04:00
Daniel D. Daugherty
a8e94de188
8222034: Thread-SMR functions should be updated to remove work around
...
Reviewed-by: mdoerr, eosterlund
2019-04-11 14:14:30 -04:00
Thomas Schatzl
528361f7ae
8214850: Rename vm_operations.?pp files to vmOperations.?pp files
...
Reviewed-by: dholmes, coleenp
2018-12-06 15:44:40 +01:00
Robbin Ehn
1ce3770481
8209139: globalCounter bootstrap issue
...
Reviewed-by: dcubed, dholmes
2018-11-08 15:31:23 +01:00
David Holmes
eac28d7fae
8213137: Remove static initialization of monitor/mutex instances
...
Moved to the global mutex list in mutexLocker
Reviewed-by: tschatzl, dcubed, rehn, eosterlund
2018-11-08 07:42:08 -05:00
Robbin Ehn
80aa38305d
8212933: Thread-SMR: requesting a VM operation whilst holding a ThreadsListHandle can cause deadlocks
...
Reviewed-by: eosterlund, dcubed, sspitsyn, dholmes
2018-10-31 08:09:45 +01:00
Daniel D. Daugherty
693afecf22
8205195: NestedThreadsListHandleInErrorHandlingTest fails because hs_err doesn't contain _nested_thread_list_max
...
Grab Threads_lock in VMError::controlled_crash() so ErrorHandling tests are more stable.
Reviewed-by: stuefe, sspitsyn
2018-06-22 12:15:16 -04:00
Daniel D. Daugherty
9a94336b7d
8191798: redo nested ThreadsListHandle to drop Threads_lock
...
Refactor Thread hazard ptrs and nested ThreadsLists into SafeThreadsListPtr.
Co-authored-by: Erik Osterlund <erik.osterlund@oracle.com>
Reviewed-by: dcubed, eosterlund, rehn
2018-05-02 16:47:40 -04:00
Daniel D. Daugherty
d974f0b162
8200374: Add ThreadsSMRSupport::verify_hazard_pointer_scanned() to verify threads_do()
...
Add verification for the threads_do() part of the Thread-SMR protocol.
Reviewed-by: eosterlund, dholmes, rehn
2018-04-12 09:03:46 -04:00
Daniel D. Daugherty
d2e9c712ad
8199813: SIGSEGV in ThreadsList::includes()
...
ThreadsListHandles cannot be used by JavaThreads that are not on the Threads list.
Reviewed-by: eosterlund, gthornbr, dholmes, rehn
2018-03-28 12:04:33 -04:00