No video

Secrets of the Shenandoah Garbage Collector • Stephanie Crater • GOTO 2020

  Рет қаралды 4,548

GOTO Conferences

GOTO Conferences

Күн бұрын

Пікірлер: 5
@billmoney1
@billmoney1 3 жыл бұрын
Great talk
@ramcorp542
@ramcorp542 3 жыл бұрын
Thanks for sharing
@prezadent1
@prezadent1 3 жыл бұрын
You say that a lot.
@clarkd1955
@clarkd1955 3 жыл бұрын
I may be a little thick but why not just use a dispatch queue? One queue that holds the task to be done. Each worker when not busy gets work from the dispatch queue. All the worker threads are busy so long as the dispatch queue has work to do and the length of time for any task doesn’t affect this efficiency. This technique works even if communication between the dispatcher (keeper of the work queue) and the workers are on different computers. It also makes the order with which each task is executed fair in that no task gets to execute before others that came before them and no need for locks or queues for each worker thread. Given the above solution, I can’t see any reason for “task stealing”.
@jonaskoelker
@jonaskoelker 3 жыл бұрын
My first guess is the coordination overhead. If you have a single global queue instead of one per worker thread, the threads need to coordinate such that they don't duplicate or drop work, which takes time. If each thread has a queue of its own, it doesn't need to coordinate with anything when switching from one task to the next, provided its queue is non-empty. A global queue can enforce a particular ordering on the work being done, but sometimes you don't need that; if you're in that situation, why pay for something you don't need?
Memory Efficient Java • Kirk Pepperdine • GOTO 2020
38:08
GOTO Conferences
Рет қаралды 5 М.
黑天使遇到什么了?#short #angel #clown
00:34
Super Beauty team
Рет қаралды 45 МЛН
Pool Bed Prank By My Grandpa 😂 #funny
00:47
SKITS
Рет қаралды 19 МЛН
女孩妒忌小丑女? #小丑#shorts
00:34
好人小丑
Рет қаралды 68 МЛН
طردت النملة من المنزل😡 ماذا فعل؟🥲
00:25
Cool Tool SHORTS Arabic
Рет қаралды 13 МЛН
The Coaching Leader & Architect • Roy Osherove • GOTO 2020
39:54
GOTO Conferences
Рет қаралды 11 М.
Garbage Collection (Mark & Sweep) - Computerphile
16:22
Computerphile
Рет қаралды 240 М.
Internet is going wild over this problem
9:12
MindYourDecisions
Рет қаралды 141 М.
Programming's Greatest Mistakes • Mark Rendle • GOTO 2023
51:24
GOTO Conferences
Рет қаралды 90 М.
Choose the best Garbage Collector in Java
12:33
Defog Tech
Рет қаралды 64 М.
黑天使遇到什么了?#short #angel #clown
00:34
Super Beauty team
Рет қаралды 45 МЛН