[JBoss JIRA] (JBTM-2167) JDBC Object Store Deadlock potential with MySQL
by Tom Jenkinson (JIRA)
[ https://issues.jboss.org/browse/JBTM-2167?page=com.atlassian.jira.plugin.... ]
Tom Jenkinson updated JBTM-2167:
--------------------------------
Status: Resolved (was: Pull Request Sent)
Assignee: Tom Jenkinson (was: Michael Musgrove)
Resolution: Done
> JDBC Object Store Deadlock potential with MySQL
> -----------------------------------------------
>
> Key: JBTM-2167
> URL: https://issues.jboss.org/browse/JBTM-2167
> Project: JBoss Transaction Manager
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: Testing
> Reporter: Gytis Trikleris
> Assignee: Tom Jenkinson
> Fix For: 5.0.3
>
>
> {code}
> WARN com.arjuna.ats.arjuna - ARJUNA012258: JDBCImple:write_state caught exception
> 2014-07-06 05:06:00,067 out: com.mysql.jdbc.exceptions.jdbc4.MySQLTransactionRollbackException: Deadlock found when trying to get lock; try restarting transaction
> 2014-07-06 05:06:00,067 out: at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
> 2014-07-06 05:06:00,067 out: at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
> 2014-07-06 05:06:00,067 out: at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
> 2014-07-06 05:06:00,067 out: at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
> 2014-07-06 05:06:00,067 out: at com.mysql.jdbc.Util.handleNewInstance(Util.java:406)
> 2014-07-06 05:06:00,067 out: at com.mysql.jdbc.Util.getInstance(Util.java:381)
> 2014-07-06 05:06:00,067 out: at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1045)
> 2014-07-06 05:06:00,067 out: at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:956)
> 2014-07-06 05:06:00,067 out: at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3536)
> 2014-07-06 05:06:00,067 out: at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3468)
> 2014-07-06 05:06:00,067 out: at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1957)
> 2014-07-06 05:06:00,068 out: at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2107)
> 2014-07-06 05:06:00,068 out: at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2648)
> 2014-07-06 05:06:00,068 out: at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2086)
> 2014-07-06 05:06:00,068 out: at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2371)
> 2014-07-06 05:06:00,068 out: at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2289)
> 2014-07-06 05:06:00,068 out: at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2274)
> 2014-07-06 05:06:00,068 out: at com.arjuna.ats.internal.arjuna.objectstore.jdbc.JDBCImple_driver.write_state(JDBCImple_driver.java:587)
> 2014-07-06 05:06:00,068 out: at com.arjuna.ats.internal.arjuna.objectstore.jdbc.JDBCStore.write_committed(JDBCStore.java:158)
> 2014-07-06 05:06:00,068 out: at com.arjuna.ats.arjuna.coordinator.BasicAction.prepare(BasicAction.java:2282)
> 2014-07-06 05:06:00,068 out: at com.arjuna.ats.arjuna.coordinator.BasicAction.End(BasicAction.java:1515)
> 2014-07-06 05:06:00,068 out: at com.arjuna.ats.arjuna.coordinator.TwoPhaseCoordinator.end(TwoPhaseCoordinator.java:96)
> 2014-07-06 05:06:00,068 out: at com.arjuna.ats.arjuna.AtomicAction.commit(AtomicAction.java:162)
> 2014-07-06 05:06:00,068 out: at com.arjuna.ats.arjuna.AtomicAction.commit(AtomicAction.java:147)
> 2014-07-06 05:06:00,068 out: at org.jboss.jbossts.qa.ArjunaCore.LockManager.client.Worker001.run(Worker001.java:67)
> {code}
> crashrecovery08 CrashRecovery08_Test32 Fail (0m44.850s)
> crashrecovery08 CrashRecovery08_Test04 Fail (0m37.253s)
> txcore_lockrecord LockRecord_Thread_Test048a Fail (0m46.514s)
> txcore_lockrecord LockRecord_Thread_Test022b Fail (0m8.687s)
> txcore_lockrecord LockRecord_Thread_Test010a Fail (0m10.751s)
> txcore_lockrecord LockRecord_Thread_Test047b Fail
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)
10 years, 4 months
[JBoss JIRA] (JBTM-2215) Remove deprecation warnings for org.apache.tools.ant.ProjectComponent
by Tom Jenkinson (JIRA)
[ https://issues.jboss.org/browse/JBTM-2215?page=com.atlassian.jira.plugin.... ]
Tom Jenkinson updated JBTM-2215:
--------------------------------
Status: Resolved (was: Pull Request Sent)
Fix Version/s: 5.0.3
Resolution: Done
> Remove deprecation warnings for org.apache.tools.ant.ProjectComponent
> ---------------------------------------------------------------------
>
> Key: JBTM-2215
> URL: https://issues.jboss.org/browse/JBTM-2215
> Project: JBoss Transaction Manager
> Issue Type: Task
> Security Level: Public(Everyone can see)
> Components: JTS
> Affects Versions: 5.0.2
> Reporter: Tom Jenkinson
> Assignee: Tom Jenkinson
> Fix For: 5.0.3
>
>
> If you run:
> ./build.sh clean install -DskipTests | grep "ProjectComponent has been deprecated"
> You will see:
> [WARNING] /home/tom/projects/jbosstm/narayana/ArjunaJTS/orbportability/classes/com/arjuna/orbportability/common/ant/IDLBuildList.java:[84,9] project in org.apache.tools.ant.ProjectComponent has been deprecated
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)
10 years, 4 months
[JBoss JIRA] (JBTM-2217) Close a number of stream processors that are currently not closed
by Tom Jenkinson (JIRA)
[ https://issues.jboss.org/browse/JBTM-2217?page=com.atlassian.jira.plugin.... ]
Tom Jenkinson updated JBTM-2217:
--------------------------------
Status: Resolved (was: Pull Request Sent)
Resolution: Done
> Close a number of stream processors that are currently not closed
> -----------------------------------------------------------------
>
> Key: JBTM-2217
> URL: https://issues.jboss.org/browse/JBTM-2217
> Project: JBoss Transaction Manager
> Issue Type: Feature Request
> Security Level: Public(Everyone can see)
> Components: JTA, JTS, Transaction Core
> Reporter: Tom Jenkinson
> Assignee: Tom Jenkinson
> Priority: Minor
> Fix For: 5.0.3
>
>
> There are a couple of warnings about streams that are not correctly closed. Currently these will be closed by the finalize method of the class.
> Changes required in:
> modified: ArjunaCore/arjuna/tests/classes/com/hp/mwtests/ts/arjuna/file/FileLockingUnitTest.java
> modified: ArjunaJTA/jta/tests/classes/com/hp/mwtests/ts/jta/recovery/XARRTestResource.java
> modified: ArjunaJTS/jts/tests/classes/com/hp/mwtests/ts/jts/utils/TaskMonitor.java
> modified: ArjunaJTS/orbportability/classes/com/arjuna/orbportability/Services.java
> modified: qa/tests/src/org/jboss/jbossts/qa/CrashRecovery12Outcomes/Outcome01.java
> modified: qa/tests/src/org/jboss/jbossts/qa/junit/TaskImpl.java
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)
10 years, 4 months
[JBoss JIRA] (JBTM-2210) Remove deprecation warnings for logging and junit
by Tom Jenkinson (JIRA)
[ https://issues.jboss.org/browse/JBTM-2210?page=com.atlassian.jira.plugin.... ]
Tom Jenkinson updated JBTM-2210:
--------------------------------
Status: Resolved (was: Pull Request Sent)
Fix Version/s: 5.0.3
Resolution: Done
> Remove deprecation warnings for logging and junit
> -------------------------------------------------
>
> Key: JBTM-2210
> URL: https://issues.jboss.org/browse/JBTM-2210
> Project: JBoss Transaction Manager
> Issue Type: Task
> Security Level: Public(Everyone can see)
> Components: Common, JTA, JTS, REST, Transaction Core, TXFramework
> Affects Versions: 5.0.2
> Reporter: Mark Little
> Assignee: Tom Jenkinson
> Fix For: 5.0.3
>
>
> INFO] Compiling 25 source files to /Users/marklittle/github/narayana/ArjunaCore/txoj/target/classes
> [WARNING] /Users/marklittle/github/narayana/ArjunaCore/txoj/classes/com/arjuna/ats/txoj/logging/txojI18NLogger.java:[50,32] org.jboss.logging.Cause in org.jboss.logging has been deprecated
> [WARNING] /Users/marklittle/github/narayana/ArjunaCore/txoj/classes/com/arjuna/ats/txoj/logging/txojI18NLogger.java:[48,6] org.jboss.logging.Message in org.jboss.logging has been deprecated
> [WARNING] /Users/marklittle/github/narayana/ArjunaCore/txoj/classes/com/arjuna/ats/txoj/logging/txojI18NLogger.java:[49,10] org.jboss.logging.LogMessage in org.jboss.logging has been deprecated
> [WARNING] /Users/marklittle/github/narayana/ArjunaCore/txoj/classes/com/arjuna/ats/txoj/logging/txojI18NLogger.java:[54,32] org.jboss.logging.Cause in org.jboss.logging has been deprecated
> [WARNING] /Users/marklittle/github/narayana/ArjunaCore/txoj/classes/com/arjuna/ats/txoj/logging/txojI18NLogger.java:[52,10] org.jboss.logging.Message in org.jboss.logging has been deprecated
> [WARNING] /Users/marklittle/github/narayana/ArjunaCore/txoj/classes/com/arjuna/ats/txoj/logging/txojI18NLogger.java:[53,10] org.jboss.logging.LogMessage in org.jboss.logging has been deprecated
> [WARNING] COMPILATION WARNING :
> [INFO] -------------------------------------------------------------
> [WARNING] /Users/marklittle/github/narayana/ArjunaJTA/jta/tests/classes/com/hp/mwtests/ts/jta/commitmarkable/integration/CMRIntegrationTest.java:[19,30] junit.framework.Assert in junit.framework has been deprecated
> [WARNING] /Users/marklittle/github/narayana/ArjunaJTA/jta/tests/classes/com/hp/mwtests/ts/jta/commitmarkable/integration/CMRIntegrationTest.java:[19,30] junit.framework.Assert in junit.framework has been deprecated
> [WARNING] The following options were not recognized by any processor: '[translationFilesPath]'
> [WARNING] /Users/marklittle/github/narayana/ArjunaJTA/jta/tests/classes/com/hp/mwtests/ts/jta/commitmarkable/integration/CMRIntegrationTest.java:[19,30] junit.framework.Assert in junit.framework has been deprecated
> [WARNING] /Users/marklittle/github/narayana/ArjunaJTA/jta/tests/classes/com/hp/mwtests/ts/jta/jca/SubordinateTxUnitTest.java:[66,40] SubordinateAtomicAction() in com.arjuna.ats.internal.jta.transaction.arjunacore.subordinate.jca.SubordinateAtomicAction has been deprecated
> [WARNING] /Users/marklittle/github/narayana/ArjunaJTA/jta/tests/classes/com/hp/mwtests/ts/jta/recovery/XARecoveryResourceUnitTest.java:[78,25] getXAResource() in com.arjuna.ats.internal.jta.recovery.arjunacore.XARecoveryResourceImple has been deprecated
> [WARNING] /Users/marklittle/github/narayana/ArjunaJTA/jta/tests/classes/com/hp/mwtests/ts/jta/recovery/XARecoveryModuleUnitTest.java:[157,31] TransactionImple(int) in com.arjuna.ats.internal.jta.transaction.arjunacore.subordinate.jca.TransactionImple has been deprecated
> [WARNING] /Users/marklittle/github/narayana/ArjunaJTA/jta/tests/classes/com/hp/mwtests/ts/jta/subordinate/SubordinateTestCase.java:[51,16] TransactionImple(int) in com.arjuna.ats.internal.jta.transaction.arjunacore.subordinate.jca.TransactionImple has been deprecated
> [WARNING] /Users/marklittle/github/narayana/ArjunaJTA/jta/tests/classes/com/hp/mwtests/ts/jta/subordinate/SubordinateTxUnitTest.java:[105,11] doForget() in com.arjuna.ats.internal.jta.transaction.arjunacore.subordinate.TransactionImple has been deprecated
> [WARNING] /Users/marklittle/github/narayana/ArjunaJTA/jta/tests/classes/com/hp/mwtests/ts/jta/subordinate/SubordinateTxUnitTest.java:[126,12] doForget() in com.arjuna.ats.internal.jta.transaction.arjunacore.subordinate.SubordinateAtomicAction has been deprecated
> [WARNING] /Users/marklittle/github/narayana/ArjunaJTA/jta/tests/classes/com/hp/mwtests/ts/jta/recovery/XARecoveryModuleUnitTest.java: Some input files use unchecked or unsafe operations.
> [WARNING] /Users/marklittle/github/narayana/ArjunaJTA/jta/tests/classes/com/hp/mwtests/ts/jta/recovery/XARecoveryModuleUnitTest.java: Recompile with -Xlint:unchecked for details.
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)
10 years, 4 months
[JBoss JIRA] (JBTM-2167) JDBC Object Store Deadlock potential with MySQL
by Tom Jenkinson (JIRA)
[ https://issues.jboss.org/browse/JBTM-2167?page=com.atlassian.jira.plugin.... ]
Tom Jenkinson updated JBTM-2167:
--------------------------------
Status: Pull Request Sent (was: Open)
Git Pull Request: https://github.com/jbosstm/narayana/pull/689
> JDBC Object Store Deadlock potential with MySQL
> -----------------------------------------------
>
> Key: JBTM-2167
> URL: https://issues.jboss.org/browse/JBTM-2167
> Project: JBoss Transaction Manager
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: Testing
> Reporter: Gytis Trikleris
> Assignee: Michael Musgrove
> Fix For: 5.0.3
>
>
> {code}
> WARN com.arjuna.ats.arjuna - ARJUNA012258: JDBCImple:write_state caught exception
> 2014-07-06 05:06:00,067 out: com.mysql.jdbc.exceptions.jdbc4.MySQLTransactionRollbackException: Deadlock found when trying to get lock; try restarting transaction
> 2014-07-06 05:06:00,067 out: at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
> 2014-07-06 05:06:00,067 out: at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
> 2014-07-06 05:06:00,067 out: at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
> 2014-07-06 05:06:00,067 out: at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
> 2014-07-06 05:06:00,067 out: at com.mysql.jdbc.Util.handleNewInstance(Util.java:406)
> 2014-07-06 05:06:00,067 out: at com.mysql.jdbc.Util.getInstance(Util.java:381)
> 2014-07-06 05:06:00,067 out: at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1045)
> 2014-07-06 05:06:00,067 out: at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:956)
> 2014-07-06 05:06:00,067 out: at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3536)
> 2014-07-06 05:06:00,067 out: at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3468)
> 2014-07-06 05:06:00,067 out: at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1957)
> 2014-07-06 05:06:00,068 out: at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2107)
> 2014-07-06 05:06:00,068 out: at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2648)
> 2014-07-06 05:06:00,068 out: at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2086)
> 2014-07-06 05:06:00,068 out: at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2371)
> 2014-07-06 05:06:00,068 out: at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2289)
> 2014-07-06 05:06:00,068 out: at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2274)
> 2014-07-06 05:06:00,068 out: at com.arjuna.ats.internal.arjuna.objectstore.jdbc.JDBCImple_driver.write_state(JDBCImple_driver.java:587)
> 2014-07-06 05:06:00,068 out: at com.arjuna.ats.internal.arjuna.objectstore.jdbc.JDBCStore.write_committed(JDBCStore.java:158)
> 2014-07-06 05:06:00,068 out: at com.arjuna.ats.arjuna.coordinator.BasicAction.prepare(BasicAction.java:2282)
> 2014-07-06 05:06:00,068 out: at com.arjuna.ats.arjuna.coordinator.BasicAction.End(BasicAction.java:1515)
> 2014-07-06 05:06:00,068 out: at com.arjuna.ats.arjuna.coordinator.TwoPhaseCoordinator.end(TwoPhaseCoordinator.java:96)
> 2014-07-06 05:06:00,068 out: at com.arjuna.ats.arjuna.AtomicAction.commit(AtomicAction.java:162)
> 2014-07-06 05:06:00,068 out: at com.arjuna.ats.arjuna.AtomicAction.commit(AtomicAction.java:147)
> 2014-07-06 05:06:00,068 out: at org.jboss.jbossts.qa.ArjunaCore.LockManager.client.Worker001.run(Worker001.java:67)
> {code}
> crashrecovery08 CrashRecovery08_Test32 Fail (0m44.850s)
> crashrecovery08 CrashRecovery08_Test04 Fail (0m37.253s)
> txcore_lockrecord LockRecord_Thread_Test048a Fail (0m46.514s)
> txcore_lockrecord LockRecord_Thread_Test022b Fail (0m8.687s)
> txcore_lockrecord LockRecord_Thread_Test010a Fail (0m10.751s)
> txcore_lockrecord LockRecord_Thread_Test047b Fail
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)
10 years, 4 months
[JBoss JIRA] (JBTM-2167) JDBC Object Store Deadlock potential with MySQL
by Tom Jenkinson (JIRA)
[ https://issues.jboss.org/browse/JBTM-2167?page=com.atlassian.jira.plugin.... ]
Tom Jenkinson edited comment on JBTM-2167 at 7/9/14 2:49 AM:
-------------------------------------------------------------
http://172.17.131.2/view/Narayana+BlackTie/job/narayana-jdbcobjectstore/8...
was (Author: tomjenkinson):
http://172.17.131.2/view/Narayana+BlackTie/job/narayana-jdbcobjectstore/8...
> JDBC Object Store Deadlock potential with MySQL
> -----------------------------------------------
>
> Key: JBTM-2167
> URL: https://issues.jboss.org/browse/JBTM-2167
> Project: JBoss Transaction Manager
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: Testing
> Reporter: Gytis Trikleris
> Assignee: Michael Musgrove
> Fix For: 5.0.3
>
>
> {code}
> WARN com.arjuna.ats.arjuna - ARJUNA012258: JDBCImple:write_state caught exception
> 2014-07-06 05:06:00,067 out: com.mysql.jdbc.exceptions.jdbc4.MySQLTransactionRollbackException: Deadlock found when trying to get lock; try restarting transaction
> 2014-07-06 05:06:00,067 out: at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
> 2014-07-06 05:06:00,067 out: at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
> 2014-07-06 05:06:00,067 out: at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
> 2014-07-06 05:06:00,067 out: at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
> 2014-07-06 05:06:00,067 out: at com.mysql.jdbc.Util.handleNewInstance(Util.java:406)
> 2014-07-06 05:06:00,067 out: at com.mysql.jdbc.Util.getInstance(Util.java:381)
> 2014-07-06 05:06:00,067 out: at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1045)
> 2014-07-06 05:06:00,067 out: at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:956)
> 2014-07-06 05:06:00,067 out: at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3536)
> 2014-07-06 05:06:00,067 out: at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3468)
> 2014-07-06 05:06:00,067 out: at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1957)
> 2014-07-06 05:06:00,068 out: at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2107)
> 2014-07-06 05:06:00,068 out: at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2648)
> 2014-07-06 05:06:00,068 out: at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2086)
> 2014-07-06 05:06:00,068 out: at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2371)
> 2014-07-06 05:06:00,068 out: at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2289)
> 2014-07-06 05:06:00,068 out: at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2274)
> 2014-07-06 05:06:00,068 out: at com.arjuna.ats.internal.arjuna.objectstore.jdbc.JDBCImple_driver.write_state(JDBCImple_driver.java:587)
> 2014-07-06 05:06:00,068 out: at com.arjuna.ats.internal.arjuna.objectstore.jdbc.JDBCStore.write_committed(JDBCStore.java:158)
> 2014-07-06 05:06:00,068 out: at com.arjuna.ats.arjuna.coordinator.BasicAction.prepare(BasicAction.java:2282)
> 2014-07-06 05:06:00,068 out: at com.arjuna.ats.arjuna.coordinator.BasicAction.End(BasicAction.java:1515)
> 2014-07-06 05:06:00,068 out: at com.arjuna.ats.arjuna.coordinator.TwoPhaseCoordinator.end(TwoPhaseCoordinator.java:96)
> 2014-07-06 05:06:00,068 out: at com.arjuna.ats.arjuna.AtomicAction.commit(AtomicAction.java:162)
> 2014-07-06 05:06:00,068 out: at com.arjuna.ats.arjuna.AtomicAction.commit(AtomicAction.java:147)
> 2014-07-06 05:06:00,068 out: at org.jboss.jbossts.qa.ArjunaCore.LockManager.client.Worker001.run(Worker001.java:67)
> {code}
> crashrecovery08 CrashRecovery08_Test32 Fail (0m44.850s)
> crashrecovery08 CrashRecovery08_Test04 Fail (0m37.253s)
> txcore_lockrecord LockRecord_Thread_Test048a Fail (0m46.514s)
> txcore_lockrecord LockRecord_Thread_Test022b Fail (0m8.687s)
> txcore_lockrecord LockRecord_Thread_Test010a Fail (0m10.751s)
> txcore_lockrecord LockRecord_Thread_Test047b Fail
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)
10 years, 4 months
[JBoss JIRA] (JBTM-2206) Use synchronized HashMaps
by Jesper Pedersen (JIRA)
[ https://issues.jboss.org/browse/JBTM-2206?page=com.atlassian.jira.plugin.... ]
Jesper Pedersen commented on JBTM-2206:
---------------------------------------
This JIRA should ideally also look at the access of those Map's - no need for calling synchronizedMap if there are other synchronization methods in place. However, the current PoC is a safe replacement, and lowers the initialization and access time
> Use synchronized HashMaps
> -------------------------
>
> Key: JBTM-2206
> URL: https://issues.jboss.org/browse/JBTM-2206
> Project: JBoss Transaction Manager
> Issue Type: Sub-task
> Security Level: Public(Everyone can see)
> Components: Transaction Core
> Reporter: Jesper Pedersen
> Assignee: Michael Musgrove
>
> Change usage of Hashtable into synchronized HashMap's instead.
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)
10 years, 4 months
[JBoss JIRA] (JBTM-2209) Use Deque for ThreadActionData
by Jesper Pedersen (JIRA)
[ https://issues.jboss.org/browse/JBTM-2209?page=com.atlassian.jira.plugin.... ]
Jesper Pedersen commented on JBTM-2209:
---------------------------------------
ArrayListDeque is an unsynchronized Deque implementation, whereas Stack is synchronized. So, unless multiple thread access occurs without any other synchronization ArrayListDeque should be used
> Use Deque for ThreadActionData
> ------------------------------
>
> Key: JBTM-2209
> URL: https://issues.jboss.org/browse/JBTM-2209
> Project: JBoss Transaction Manager
> Issue Type: Sub-task
> Security Level: Public(Everyone can see)
> Components: Transaction Core
> Reporter: Jesper Pedersen
> Assignee: Michael Musgrove
>
> Note, there are other usages of java.util.Stack in the code base that could be changed as well
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)
10 years, 4 months