logoalt Hacker News

mattclarkdotnettoday at 1:10 AM1 replyview on HN

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?


Replies

jacobntoday at 1:51 AM

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

show 1 reply