Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
lostmsu
on April 12, 2023
|
parent
|
context
|
favorite
| on:
Virtual Threads Arrive in JDK 21, Ushering a New E...
What is so costly about GC roots? Considering the stack is used in a LIFO manner, most stack pages never change.
pron
on April 12, 2023
[–]
They have to be scanned in every collection and G1 scans them in a stop-the-world pause. Other references may not be scanned at all in most collections (partial), and when they are, G1 scans them concurrently. They're less of a problem with ZGC.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: