Integrated: 8265489: Stress test times out because of long ObjectSynchronizer::monitors_iterate(...) operation

Leonid Mesnik lmesnik at openjdk.java.net
Wed Sep 8 19:35:02 UTC 2021


On Thu, 19 Aug 2021 21:18:53 GMT, Leonid Mesnik <lmesnik at openjdk.org> wrote:

> monitors_iterate make several checks which often are true before filter monitor by a thread. It might take a lot of time when there are a lot of threads. So it makes sense to first check thread and only then other conditions.

This pull request has now been integrated.

Changeset: a5e4def5
Author:    Leonid Mesnik <lmesnik at openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/a5e4def526697d88ff31a5fdb41d823b899372f2
Stats:     55 lines in 5 files changed: 8 ins; 15 del; 32 mod

8265489: Stress test times out because of long ObjectSynchronizer::monitors_iterate(...) operation

Reviewed-by: dcubed

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

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


More information about the serviceability-dev mailing list