Skip to content

Commit d569de4

Browse files
authored
Update README.md
1 parent ce9fbcb commit d569de4

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

README.md

+2
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,8 @@
142142
* by hopping back and forth between them as necessary
143143
* may have relevant impact on the GC
144144
* uses heap to store stacks
145+
* but: if you run 1000 virtual threads by 8 native threads you have only 8 additional gc roots (not 1000)
146+
* massive context switches (in user space) of a huge number of virtual threads can potentially cause a larger amount of cache misses
145147
* is a concept that is beyond the ZIO library
146148
* it’s a concurrency model
147149
* we’re measuring threads versus CPU cores and fibers versus GB of heap

0 commit comments

Comments
 (0)