From 56bc58b79167bdec55cc5cb28a9783451e65465d Mon Sep 17 00:00:00 2001 From: Radek Felcman Date: Wed, 17 Apr 2024 11:00:14 +0200 Subject: [PATCH] Bug in internal.helper.ConcurrencyUtil.dumpConcurrencyManagerInformationStep02(ConcurrencyManagerState) - copy paste mistake - it logs twice the Page 03 start - information about threads waiting to acquire read cache keys Signed-off-by: Radek Felcman --- .../persistence/internal/helper/ConcurrencyUtil.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/foundation/org.eclipse.persistence.core/src/org/eclipse/persistence/internal/helper/ConcurrencyUtil.java b/foundation/org.eclipse.persistence.core/src/org/eclipse/persistence/internal/helper/ConcurrencyUtil.java index fbe743f0f6e..1e93eac323e 100644 --- a/foundation/org.eclipse.persistence.core/src/org/eclipse/persistence/internal/helper/ConcurrencyUtil.java +++ b/foundation/org.eclipse.persistence.core/src/org/eclipse/persistence/internal/helper/ConcurrencyUtil.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Oracle, IBM and/or its affiliates. All rights reserved. + * Copyright (c) 2021, 2024 Oracle, IBM and/or its affiliates. All rights reserved. * * This program and the accompanying materials are made available under the * terms of the Eclipse Public License v. 2.0 which is available at @@ -570,8 +570,8 @@ protected void dumpConcurrencyManagerInformationStep02(ConcurrencyManagerState c writer.write(createInformationThreadDump()); // (b) log information about the threads that are waiting to acquire WRITE/DEFERRED locks // PAGE 02 of logging information - writer.write(createInformationAboutAllThreadsWaitingToAcquireReadCacheKeys(concurrencyManagerState.getMapThreadToWaitOnAcquireReadLockClone(), - concurrencyManagerState.getMapThreadToWaitOnAcquireReadLockCloneMethodName())); + writer.write(createInformationAboutAllThreadsWaitingToAcquireCacheKeys(concurrencyManagerState.getUnifiedMapOfThreadsStuckTryingToAcquireWriteLock(), + concurrencyManagerState.getUnifiedMapOfThreadsStuckTryingToAcquireWriteLockMethodName())); // (c) log information about the threads that are waiting to acquire READ locks // PAGE 03 of logging information writer.write(createInformationAboutAllThreadsWaitingToAcquireReadCacheKeys(concurrencyManagerState.getMapThreadToWaitOnAcquireReadLockClone(),