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
Chris Plummer
fcd067c48d
8195109: ServiceUtil::visible_oop is not needed anymore
...
Strip out ServiceUtil and all users of it
Reviewed-by: coleenp, stefank, jcbeyler, sspitsyn
2018-03-21 13:07:19 -07:00
Kim Barrett
d7765d9002
8198474: Move JNIHandles::resolve into jniHandles.inline.hpp
...
Moved resolve and friends to new jniHandles.inline.hpp.
Reviewed-by: tschatzl, pliden, coleenp
2018-03-01 16:51:22 -05:00
Daniel D. Daugherty
b0138d81ad
8193135: get rid of redundant _smr_ prefix/infix in ThreadSMRSupport stuff
...
Reviewed-by: stefank, gtriantafill, coleenp
2017-12-08 15:24:47 -05:00
Daniel D. Daugherty
230b5768d7
8191789: migrate more Thread-SMR stuff from thread.[ch]pp -> threadSMR.[ch]pp
...
Reviewed-by: stefank, coleenp, dholmes, gthornbr
2017-12-06 15:19:30 -05:00
Daniel D. Daugherty
0dff96ff0b
8167108: inconsistent handling of SR_lock can lead to crashes
...
Add Thread Safe Memory Reclamation (Thread-SMR) mechanism.
Co-authored-by: Erik Osterlund <erik.osterlund@oracle.com>
Co-authored-by: Robbin Ehn <robbin.ehn@oracle.com>
Reviewed-by: coleenp, dcubed, dholmes, eosterlund, gthornbr, kbarrett, rehn, sspitsyn, stefank
2017-11-22 17:54:50 -08:00