Integrated: 8280784: VM_Cleanup unnecessarily processes all thread oops
Stefan Karlsson
stefank at openjdk.java.net
Fri Jan 28 09:09:15 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.
This pull request has now been integrated.
Changeset: 8a3cca09
Author: Stefan Karlsson <stefank at openjdk.org>
URL: https://git.openjdk.java.net/jdk/commit/8a3cca09ba427282f2712bec7298b85bbacf076b
Stats: 4 lines in 1 file changed: 4 ins; 0 del; 0 mod
8280784: VM_Cleanup unnecessarily processes all thread oops
Reviewed-by: eosterlund, shade
-------------
PR: https://git.openjdk.java.net/jdk/pull/7246
More information about the hotspot-dev
mailing list