15 Commits

Author SHA1 Message Date
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