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

Leonid Mesnik lmesnik at openjdk.java.net
Wed Sep 8 19:35:01 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.

I run stress tests several times on linux-x64 with ParallelGC and haven't seen timeout anymore.

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

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


More information about the serviceability-dev mailing list