kotlinx.coroutines
kotlinx.coroutines copied to clipboard
Replace usages of DCLL with CLL in JobSupport and friends
This is a subtask required for #3886
Work outline:
- [x] Get rid of DCSS (double compare single swap) primitive in
JobSupportstate transitions - [ ] Prototype the solution where DCSS is replaced with a straightforward usage of CLL
- [ ] Optimize CLL footprint to be on par with DCSS in
JobSupport-specific scenarios:- [ ] Ensure that all
CompletionHandlerstill can subclass an internal CLL piece in order to save a node allocation if appropriate - [ ] Ensure that an additional
DisposableHandleis not allocated on a hot-path of adding a child to a job hierarchy
- [ ] Ensure that all
- [ ] Measure the impact of the change: throughput, footprint and the resulting DEX size
Do the words DCLL and CLL mean "Doubly- [Concurrent] -Linked List" and "Concurrent Linked List"?
Yes, that's it