Remix.run Logo
mattclarkdotnet 4 hours ago

Sorry if this is obvious to Java experts, but much as parallel GC is fine for batch workloads, is there a case for explicit GC control for web workloads? For example a single request to a web server will create a bunch of objects, but then when it completes 200ms later they can all be destroyed, so why even run GC during the request thread execution?

jacobn 3 hours ago | parent [-]

Most web request cases where you care about performance probably have multiple parallel web requests, so there’s no clean separation possible?

yunnpp 3 hours ago | parent [-]

His question is still valid for latency. That parallel GC in Java still seems to pause threads from a quick search. https://inside.java/2022/08/01/sip062/