RFR: 8308479: [s390x] Implement alternative fast-locking scheme [v8]

Martin Doerr mdoerr at openjdk.org
Mon Jun 26 16:52:04 UTC 2023


On Mon, 26 Jun 2023 16:38:06 GMT, Lutz Schmidt <lucy at openjdk.org> wrote:

> After struggling a lot with my environment, I finally was able to run some performance tests. There is the "db" subtest of JVM98 which caught my attention. It reproducibly shows
> 
> * LockingMode=0: avg time: 2888ms
> * LockingMode=1: avg time: 867ms
> * LockingMode=2: avg time: 1020ms
> 
> We need to gain deeper insight into the why before integration.

Note that the new fast locking (LockingMode 2) doesn't support fast recursive locking. However, I doubt that this is the problem, here. LockingMode 2 is fastest on Power10 for "db" benchmark. So, yes, interesting finding!

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

PR Comment: https://git.openjdk.org/jdk/pull/14414#issuecomment-1607853645


More information about the hotspot-dev mailing list