12 Commits

Author SHA1 Message Date
Kim Barrett
8b67b75f50 8221361: Eliminate two-phase initialization for PtrQueueSet classes
Move allocator and CBL monitor init to constructor.

Reviewed-by: tschatzl, shade
2019-09-09 16:54:48 -04:00
Kim Barrett
805258f3a9 8225255: Make SATB qset lock-free
Refactor PtrQueueSet, use lock-free stack for SATB completed buffers

Reviewed-by: tschatzl, shade
2019-06-26 13:18:38 -04:00
Kim Barrett
54d0b2a8d6 8224167: Refactor PtrQueue completed buffer processing
Add handle_completed_buffer and refactor.

Reviewed-by: tschatzl, shade
2019-05-21 19:19:44 -04:00
Kim Barrett
a8e13a5839 8221359: Eliminate SATBMarkQueueSet::filter_thread_buffers
Removed filter_thread_buffers

Reviewed-by: tschatzl, sangheki
2019-05-03 23:35:12 -04: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
Kim Barrett
757e6ecfec 8220671: Initialization race for non-JavaThread PtrQueues
Include on_thread_(attach|detach) under NJTList_lock.

Reviewed-by: pliden, rkennke
2019-04-01 17:11:38 -04:00
Kim Barrett
3bb3dbc47e 8220240: Refactor shared dirty card queue
Add G1SharedDirtyCardQueue class.

Reviewed-by: tschatzl, lkorinth
2019-03-22 15:42:43 -04:00
Kim Barrett
725a467ad8 8219613: Use NonJavaThread PtrQueues
Init and use NJT queues, remove shared SATB queue.

Co-authored-by: Aleksey Shipilev <shade@redhat.com>
Reviewed-by: shade, zgu, pliden, tschatzl
2019-03-05 19:54:33 -05:00
Kim Barrett
575f633a96 8214201: Make PtrQueueSet completed buffer list private
Merge and make private in PtrQueueSet all completed buffer list handling

Reviewed-by: tschatzl, sjohanss
2018-12-26 19:24:00 -05:00
Kim Barrett
978c78f7fc 8214278: Cleanup process_completed_threshold and related state
Change types, normalize names, remove special values.

Reviewed-by: tschatzl, sjohanss
2018-11-28 16:05:48 -05:00
Kim Barrett
5e0d5efe4c 8213352: Separate BufferNode allocation from PtrQueueSet
Move free-list management and allocation to new class.

Reviewed-by: tschatzl, sjohanss
2018-11-15 19:59:10 -05:00
Kim Barrett
0d9777a9cb 8154343: Make SATB related code available to other GCs
Move ptrQueue and satbMarkQueue files from g1 to shared.

Reviewed-by: rkennke, sangheki
2018-08-18 13:59:25 -04:00