RFR: 8280784: VM_Cleanup unnecessarily processes all thread oops

Stefan Karlsson stefank at openjdk.java.net
Thu Jan 27 14:42:51 UTC 2022


On Thu, 27 Jan 2022 14:35:08 GMT, Stefan Karlsson <stefank at openjdk.org> wrote:

> While looking at ZGC latencies in a benchmark with >20000 Java threads, I noticed that the Cleanup VM operation could take up to 500 ms. It turned out that the time was spent processing the oops in all Java threads. Since none of the safepoint cleanup tasks use the oops in the threads, I propose that we stop processing the oops in this VM Operation.

Tested with Oracle tier1-3

-------------

PR: https://git.openjdk.java.net/jdk/pull/7246


More information about the hotspot-dev mailing list