News for hackers. Stuff that matters.
Re:Java 21 Released by kaba0 on Tuesday September 19, 2023 @03:32PM (#37575191)
You can just swap a single line in your ExecutorService then for all the benefits.
Re:Java 21 Released by riku_iki on Tuesday September 19, 2023 @03:55PM (#37575576)
ExecutorService can be configured in many different ways, for example I often create one with boubned queue and CallerRunsPolicy, I somehow couldn't find equivalent virtual executor.