[jboss-svn-commits] JBL Code SVN: r24319 - in labs/jbosstm/trunk: ArjunaCore/arjuna/classes/com/arjuna/ats/arjuna/coordinator and 27 other directories.
jboss-svn-commits at lists.jboss.org
jboss-svn-commits at lists.jboss.org
Tue Dec 9 11:22:43 EST 2008
Author: adinn
Date: 2008-12-09 11:22:42 -0500 (Tue, 09 Dec 2008)
New Revision: 24319
Modified:
labs/jbosstm/trunk/ArjunaCore/arjuna/classes/com/arjuna/ats/arjuna/CadaverRecord.java
labs/jbosstm/trunk/ArjunaCore/arjuna/classes/com/arjuna/ats/arjuna/DisposeRecord.java
labs/jbosstm/trunk/ArjunaCore/arjuna/classes/com/arjuna/ats/arjuna/PersistenceRecord.java
labs/jbosstm/trunk/ArjunaCore/arjuna/classes/com/arjuna/ats/arjuna/RecoveryRecord.java
labs/jbosstm/trunk/ArjunaCore/arjuna/classes/com/arjuna/ats/arjuna/StateManager.java
labs/jbosstm/trunk/ArjunaCore/arjuna/classes/com/arjuna/ats/arjuna/coordinator/RecoveryAbstractRecord.java
labs/jbosstm/trunk/ArjunaCore/arjuna/classes/com/arjuna/ats/arjuna/coordinator/TransactionReaper.java
labs/jbosstm/trunk/ArjunaCore/arjuna/classes/com/arjuna/ats/arjuna/gandiva/ObjectName.java
labs/jbosstm/trunk/ArjunaCore/arjuna/classes/com/arjuna/ats/arjuna/gandiva/nameservice/NameService.java
labs/jbosstm/trunk/ArjunaCore/arjuna/classes/com/arjuna/ats/arjuna/objectstore/ObjectStore.java
labs/jbosstm/trunk/ArjunaCore/arjuna/classes/com/arjuna/ats/arjuna/utils/FileLock.java
labs/jbosstm/trunk/ArjunaCore/arjuna/classes/com/arjuna/ats/internal/arjuna/template/HashList.java
labs/jbosstm/trunk/ArjunaCore/arjuna/classes/com/arjuna/ats/internal/arjuna/template/HashListIterator.java
labs/jbosstm/trunk/ArjunaCore/arjuna/classes/com/arjuna/ats/internal/arjuna/template/OrderedListIterator.java
labs/jbosstm/trunk/ArjunaCore/arjuna/classes/com/arjuna/ats/internal/arjuna/template/SimpleListEntry.java
labs/jbosstm/trunk/ArjunaCore/arjuna/classes/com/arjuna/ats/internal/arjuna/thread/ThreadSpecificData.java
labs/jbosstm/trunk/ArjunaCore/txoj/classes/com/arjuna/ats/internal/txoj/lockstore/BasicLockStore.java
labs/jbosstm/trunk/ArjunaCore/txoj/classes/com/arjuna/ats/internal/txoj/semaphore/BasicSemaphoreSetup.java
labs/jbosstm/trunk/ArjunaCore/txoj/classes/com/arjuna/ats/txoj/LockListIterator.java
labs/jbosstm/trunk/ArjunaCore/txoj/classes/com/arjuna/ats/txoj/lockstore/LockStore.java
labs/jbosstm/trunk/ArjunaCore/txoj/classes/com/arjuna/ats/txoj/semaphore/Semaphore.java
labs/jbosstm/trunk/ArjunaJTA/jdbc/classes/com/arjuna/ats/internal/jdbc/ConnectionImple.java
labs/jbosstm/trunk/ArjunaJTA/jta/classes/com/arjuna/ats/internal/jta/resources/arjunacore/XAResourceRecord.java
labs/jbosstm/trunk/ArjunaJTS/jtax/classes/com/arjuna/ats/internal/jta/resources/jts/orbspecific/SynchronizationImple.java
labs/jbosstm/trunk/ArjunaJTS/jtax/classes/com/arjuna/ats/internal/jta/resources/jts/orbspecific/XAResourceRecord.java
labs/jbosstm/trunk/ArjunaJTS/jts/classes/com/arjuna/ats/internal/jts/interposition/FactoryList.java
labs/jbosstm/trunk/ArjunaJTS/jts/classes/com/arjuna/ats/internal/jts/interposition/resources/arjuna/InterposedHierarchy.java
labs/jbosstm/trunk/ArjunaJTS/jts/classes/com/arjuna/ats/internal/jts/interposition/resources/arjuna/Interposition.java
labs/jbosstm/trunk/ArjunaJTS/jts/classes/com/arjuna/ats/internal/jts/interposition/resources/arjuna/ServerResource.java
labs/jbosstm/trunk/ArjunaJTS/jts/classes/com/arjuna/ats/internal/jts/orbspecific/TransactionFactoryImple.java
labs/jbosstm/trunk/ArjunaJTS/jts/classes/com/arjuna/ats/internal/jts/orbspecific/interposition/ServerControl.java
labs/jbosstm/trunk/ArjunaJTS/jts/classes/com/arjuna/ats/internal/jts/orbspecific/interposition/resources/ServerSynchronization.java
labs/jbosstm/trunk/ArjunaJTS/jts/classes/com/arjuna/ats/internal/jts/orbspecific/interposition/resources/arjuna/ServerNestedAction.java
labs/jbosstm/trunk/ArjunaJTS/jts/classes/com/arjuna/ats/internal/jts/orbspecific/interposition/resources/arjuna/ServerTopLevelAction.java
labs/jbosstm/trunk/ArjunaJTS/jts/classes/com/arjuna/ats/internal/jts/orbspecific/recovery/recoverycoordinators/GenericRecoveryCoordinator.java
labs/jbosstm/trunk/ArjunaJTS/jts/classes/com/arjuna/ats/internal/jts/recovery/recoverycoordinators/ResourceCompletor.java
labs/jbosstm/trunk/ArjunaJTS/jts/classes/com/arjuna/ats/internal/jts/recovery/transactions/CachedRecoveredTransaction.java
labs/jbosstm/trunk/ArjunaJTS/jts/classes/com/arjuna/ats/internal/jts/recovery/transactions/RecoveredServerTransaction.java
labs/jbosstm/trunk/ArjunaJTS/jts/classes/com/arjuna/ats/internal/jts/recovery/transactions/RecoveredTransaction.java
labs/jbosstm/trunk/ArjunaJTS/jts/classes/com/arjuna/ats/internal/jts/recovery/transactions/RecoveredTransactionReplayer.java
labs/jbosstm/trunk/ArjunaJTS/jts/classes/com/arjuna/ats/internal/jts/recovery/transactions/ServerTransactionRecoveryModule.java
labs/jbosstm/trunk/ArjunaJTS/jts/classes/com/arjuna/ats/internal/jts/resources/ExtendedResourceRecord.java
labs/jbosstm/trunk/ArjunaJTS/jts/classes/com/arjuna/ats/internal/jts/resources/ResourceRecord.java
labs/jbosstm/trunk/ArjunaJTS/jts/classes/com/arjuna/ats/internal/jts/resources/SynchronizationRecord.java
labs/jbosstm/trunk/XTS/WSCF/classes/com/arjuna/mwlabs/wscf/model/as/coordinator/arjunacore/ParticipantRecord.java
labs/jbosstm/trunk/XTS/WSCF/classes/com/arjuna/mwlabs/wscf/model/as/coordinator/arjunacore/SynchronizationRecord.java
labs/jbosstm/trunk/XTS/WSCF/classes/com/arjuna/mwlabs/wscf/model/sagas/arjunacore/ParticipantRecord.java
labs/jbosstm/trunk/XTS/WSCF/classes/com/arjuna/mwlabs/wscf/model/twophase/arjunacore/ParticipantRecord.java
labs/jbosstm/trunk/XTS/WSCF/classes/com/arjuna/mwlabs/wscf/model/twophase/arjunacore/SynchronizationRecord.java
Log:
removed redundant finalizers or removed redundant code from them -- fixes for JBTM-295
Modified: labs/jbosstm/trunk/ArjunaCore/arjuna/classes/com/arjuna/ats/arjuna/CadaverRecord.java
===================================================================
--- labs/jbosstm/trunk/ArjunaCore/arjuna/classes/com/arjuna/ats/arjuna/CadaverRecord.java 2008-12-09 11:40:20 UTC (rev 24318)
+++ labs/jbosstm/trunk/ArjunaCore/arjuna/classes/com/arjuna/ats/arjuna/CadaverRecord.java 2008-12-09 16:22:42 UTC (rev 24319)
@@ -105,24 +105,6 @@
}
/**
- * Tidy-up the instance.
- */
-
- public void finalize ()
- {
- if (tsLogger.arjLogger.debugAllowed())
- {
- tsLogger.arjLogger.debug(DebugLevel.DESTRUCTORS, VisibilityLevel.VIS_PUBLIC,
- FacilityCode.FAC_ABSTRACT_REC, "CadaverRecord::finalize() for "+order());
- }
-
- oldState = null;
- store = null;
-
- super.finalize();
- }
-
- /**
* Override default AbstractRecord method. CadaverRecords are propagated
* regardless of the termination condition.
*
Modified: labs/jbosstm/trunk/ArjunaCore/arjuna/classes/com/arjuna/ats/arjuna/DisposeRecord.java
===================================================================
--- labs/jbosstm/trunk/ArjunaCore/arjuna/classes/com/arjuna/ats/arjuna/DisposeRecord.java 2008-12-09 11:40:20 UTC (rev 24318)
+++ labs/jbosstm/trunk/ArjunaCore/arjuna/classes/com/arjuna/ats/arjuna/DisposeRecord.java 2008-12-09 16:22:42 UTC (rev 24319)
@@ -80,21 +80,6 @@
}
}
- public void finalize ()
- {
- if (tsLogger.arjLogger.debugAllowed())
- {
- tsLogger.arjLogger.debug(DebugLevel.DESTRUCTORS, VisibilityLevel.VIS_PUBLIC,
- FacilityCode.FAC_ABSTRACT_REC,
- "DisposeRecord.finalize for "+order());
- }
-
- store = null;
- typeName = null;
-
- super.finalize();
- }
-
public boolean propagateOnAbort ()
{
return false;
Modified: labs/jbosstm/trunk/ArjunaCore/arjuna/classes/com/arjuna/ats/arjuna/PersistenceRecord.java
===================================================================
--- labs/jbosstm/trunk/ArjunaCore/arjuna/classes/com/arjuna/ats/arjuna/PersistenceRecord.java 2008-12-09 11:40:20 UTC (rev 24318)
+++ labs/jbosstm/trunk/ArjunaCore/arjuna/classes/com/arjuna/ats/arjuna/PersistenceRecord.java 2008-12-09 16:22:42 UTC (rev 24319)
@@ -146,20 +146,6 @@
topLevelState = null;
}
- public void finalize ()
- {
- if (tsLogger.arjLogger.debugAllowed())
- {
- tsLogger.arjLogger.debug(DebugLevel.DESTRUCTORS, VisibilityLevel.VIS_PUBLIC, FacilityCode.FAC_ABSTRACT_REC, "PersistenceRecord.finalize() for "
- + order());
- }
-
- store = null;
- topLevelState = null;
-
- super.finalize();
- }
-
/**
* Redefintions of abstract functions inherited from RecoveryRecord.
*/
Modified: labs/jbosstm/trunk/ArjunaCore/arjuna/classes/com/arjuna/ats/arjuna/RecoveryRecord.java
===================================================================
--- labs/jbosstm/trunk/ArjunaCore/arjuna/classes/com/arjuna/ats/arjuna/RecoveryRecord.java 2008-12-09 11:40:20 UTC (rev 24318)
+++ labs/jbosstm/trunk/ArjunaCore/arjuna/classes/com/arjuna/ats/arjuna/RecoveryRecord.java 2008-12-09 16:22:42 UTC (rev 24319)
@@ -67,17 +67,16 @@
actionHandle = BasicAction.Current();
}
- public void finalize ()
+ public void finalize () throws Throwable
{
if (tsLogger.arjLogger.debugAllowed())
{
tsLogger.arjLogger.debug(DebugLevel.DESTRUCTORS, VisibilityLevel.VIS_PUBLIC,
- FacilityCode.FAC_ABSTRACT_REC, "RecoveryRecord.finalize() for "+order());
+ FacilityCode.FAC_ABSTRACT_REC, "RecoveryRecord.finalize() for "+order() + " type " + type());
}
-
- state = null;
+ super.finalize();
}
-
+
public int typeIs ()
{
return RecordType.RECOVERY;
Modified: labs/jbosstm/trunk/ArjunaCore/arjuna/classes/com/arjuna/ats/arjuna/StateManager.java
===================================================================
--- labs/jbosstm/trunk/ArjunaCore/arjuna/classes/com/arjuna/ats/arjuna/StateManager.java 2008-12-09 11:40:20 UTC (rev 24318)
+++ labs/jbosstm/trunk/ArjunaCore/arjuna/classes/com/arjuna/ats/arjuna/StateManager.java 2008-12-09 16:22:42 UTC (rev 24319)
@@ -155,7 +155,7 @@
if (tsLogger.arjLogger.debugAllowed())
{
tsLogger.arjLogger.debug(DebugLevel.DESTRUCTORS, VisibilityLevel.VIS_PUBLIC,
- FacilityCode.FAC_STATE_MAN, "StateManager.finalize() for object-id "+get_uid());
+ FacilityCode.FAC_STATE_MAN, "StateManager.finalize() for object-id "+get_uid() + " type " + type());
}
if (currentStatus == ObjectStatus.ACTIVE_NEW)
@@ -169,16 +169,6 @@
cleanup(false);
}
}
-
- smAttributes = null;
- objectName = null;
-
- modifyingActions = null;
- usingActions = null;
-
- objectStore = null;
- storeRoot = null;
- objectUid = null;
}
/**
Modified: labs/jbosstm/trunk/ArjunaCore/arjuna/classes/com/arjuna/ats/arjuna/coordinator/RecoveryAbstractRecord.java
===================================================================
--- labs/jbosstm/trunk/ArjunaCore/arjuna/classes/com/arjuna/ats/arjuna/coordinator/RecoveryAbstractRecord.java 2008-12-09 11:40:20 UTC (rev 24318)
+++ labs/jbosstm/trunk/ArjunaCore/arjuna/classes/com/arjuna/ats/arjuna/coordinator/RecoveryAbstractRecord.java 2008-12-09 16:22:42 UTC (rev 24319)
@@ -72,11 +72,6 @@
_doSave = doSave;
}
-public void finalize ()
- {
- _imple = null;
- }
-
public int typeIs ()
{
return _recordType;
Modified: labs/jbosstm/trunk/ArjunaCore/arjuna/classes/com/arjuna/ats/arjuna/coordinator/TransactionReaper.java
===================================================================
--- labs/jbosstm/trunk/ArjunaCore/arjuna/classes/com/arjuna/ats/arjuna/coordinator/TransactionReaper.java 2008-12-09 11:40:20 UTC (rev 24318)
+++ labs/jbosstm/trunk/ArjunaCore/arjuna/classes/com/arjuna/ats/arjuna/coordinator/TransactionReaper.java 2008-12-09 16:22:42 UTC (rev 24319)
@@ -148,18 +148,6 @@
}
}
- public void finalize()
- {
- if (tsLogger.arjLogger.debugAllowed())
- {
- tsLogger.arjLogger.debug(DebugLevel.DESTRUCTORS,
- VisibilityLevel.VIS_PUBLIC, FacilityCode.FAC_ATOMIC_ACTION,
- "TransactionReaper.finalize ()");
- }
-
- _transactions = null;
- }
-
public final long checkingPeriod()
{
if (_dynamic)
Modified: labs/jbosstm/trunk/ArjunaCore/arjuna/classes/com/arjuna/ats/arjuna/gandiva/ObjectName.java
===================================================================
--- labs/jbosstm/trunk/ArjunaCore/arjuna/classes/com/arjuna/ats/arjuna/gandiva/ObjectName.java 2008-12-09 11:40:20 UTC (rev 24318)
+++ labs/jbosstm/trunk/ArjunaCore/arjuna/classes/com/arjuna/ats/arjuna/gandiva/ObjectName.java 2008-12-09 16:22:42 UTC (rev 24319)
@@ -157,13 +157,6 @@
}
}
-public void finalize ()
- {
- _mech = null;
- _name = null;
- _nameService = null;
- }
-
/**
* Return the type of the specified attribute.
*/
Modified: labs/jbosstm/trunk/ArjunaCore/arjuna/classes/com/arjuna/ats/arjuna/gandiva/nameservice/NameService.java
===================================================================
--- labs/jbosstm/trunk/ArjunaCore/arjuna/classes/com/arjuna/ats/arjuna/gandiva/nameservice/NameService.java 2008-12-09 11:40:20 UTC (rev 24318)
+++ labs/jbosstm/trunk/ArjunaCore/arjuna/classes/com/arjuna/ats/arjuna/gandiva/nameservice/NameService.java 2008-12-09 16:22:42 UTC (rev 24319)
@@ -100,11 +100,6 @@
_imple = nameServiceImple;
}
-public void finalize ()
- {
- _imple = null;
- }
-
/**
* Return the type of the attribute. The ObjectName identity is given
* to allow implementation specific lookups.
Modified: labs/jbosstm/trunk/ArjunaCore/arjuna/classes/com/arjuna/ats/arjuna/objectstore/ObjectStore.java
===================================================================
--- labs/jbosstm/trunk/ArjunaCore/arjuna/classes/com/arjuna/ats/arjuna/objectstore/ObjectStore.java 2008-12-09 11:40:20 UTC (rev 24318)
+++ labs/jbosstm/trunk/ArjunaCore/arjuna/classes/com/arjuna/ats/arjuna/objectstore/ObjectStore.java 2008-12-09 16:22:42 UTC (rev 24319)
@@ -211,11 +211,6 @@
_imple = null;
}
- public void finalize ()
- {
- _imple = null;
- }
-
public boolean allObjUids (String s, InputObjectState buff, int m) throws ObjectStoreException
{
return ((_imple != null) ? _imple.allObjUids(s, buff, m) : false);
Modified: labs/jbosstm/trunk/ArjunaCore/arjuna/classes/com/arjuna/ats/arjuna/utils/FileLock.java
===================================================================
--- labs/jbosstm/trunk/ArjunaCore/arjuna/classes/com/arjuna/ats/arjuna/utils/FileLock.java 2008-12-09 11:40:20 UTC (rev 24318)
+++ labs/jbosstm/trunk/ArjunaCore/arjuna/classes/com/arjuna/ats/arjuna/utils/FileLock.java 2008-12-09 16:22:42 UTC (rev 24319)
@@ -111,11 +111,6 @@
_retry = retry;
}
-public void finalize ()
- {
- _theFile = null;
- }
-
/**
* @since JTS 2.1.1.
*/
Modified: labs/jbosstm/trunk/ArjunaCore/arjuna/classes/com/arjuna/ats/internal/arjuna/template/HashList.java
===================================================================
--- labs/jbosstm/trunk/ArjunaCore/arjuna/classes/com/arjuna/ats/internal/arjuna/template/HashList.java 2008-12-09 11:40:20 UTC (rev 24318)
+++ labs/jbosstm/trunk/ArjunaCore/arjuna/classes/com/arjuna/ats/internal/arjuna/template/HashList.java 2008-12-09 16:22:42 UTC (rev 24319)
@@ -59,13 +59,6 @@
buckets[i] = null;
}
-public void finalize ()
- {
- empty();
-
- buckets = null;
- }
-
/**
* Empty the list.
*/
Modified: labs/jbosstm/trunk/ArjunaCore/arjuna/classes/com/arjuna/ats/internal/arjuna/template/HashListIterator.java
===================================================================
--- labs/jbosstm/trunk/ArjunaCore/arjuna/classes/com/arjuna/ats/internal/arjuna/template/HashListIterator.java 2008-12-09 11:40:20 UTC (rev 24318)
+++ labs/jbosstm/trunk/ArjunaCore/arjuna/classes/com/arjuna/ats/internal/arjuna/template/HashListIterator.java 2008-12-09 16:22:42 UTC (rev 24319)
@@ -54,11 +54,6 @@
lastBucket = -1;
}
-public void finalize ()
- {
- iter = null;
- }
-
/**
* Return the next item in the list.
*/
Modified: labs/jbosstm/trunk/ArjunaCore/arjuna/classes/com/arjuna/ats/internal/arjuna/template/OrderedListIterator.java
===================================================================
--- labs/jbosstm/trunk/ArjunaCore/arjuna/classes/com/arjuna/ats/internal/arjuna/template/OrderedListIterator.java 2008-12-09 11:40:20 UTC (rev 24318)
+++ labs/jbosstm/trunk/ArjunaCore/arjuna/classes/com/arjuna/ats/internal/arjuna/template/OrderedListIterator.java 2008-12-09 16:22:42 UTC (rev 24319)
@@ -51,11 +51,6 @@
ptr = L.head();
}
-public void finalize ()
- {
- ptr = null;
- }
-
/**
* Return the next item in the list.
*/
Modified: labs/jbosstm/trunk/ArjunaCore/arjuna/classes/com/arjuna/ats/internal/arjuna/template/SimpleListEntry.java
===================================================================
--- labs/jbosstm/trunk/ArjunaCore/arjuna/classes/com/arjuna/ats/internal/arjuna/template/SimpleListEntry.java 2008-12-09 11:40:20 UTC (rev 24318)
+++ labs/jbosstm/trunk/ArjunaCore/arjuna/classes/com/arjuna/ats/internal/arjuna/template/SimpleListEntry.java 2008-12-09 16:22:42 UTC (rev 24319)
@@ -46,11 +46,6 @@
theData = th;
}
-public void finalize ()
- {
- theData = null;
- }
-
protected SimpleListEntry next;
protected ListElement theData;
Modified: labs/jbosstm/trunk/ArjunaCore/arjuna/classes/com/arjuna/ats/internal/arjuna/thread/ThreadSpecificData.java
===================================================================
--- labs/jbosstm/trunk/ArjunaCore/arjuna/classes/com/arjuna/ats/internal/arjuna/thread/ThreadSpecificData.java 2008-12-09 11:40:20 UTC (rev 24318)
+++ labs/jbosstm/trunk/ArjunaCore/arjuna/classes/com/arjuna/ats/internal/arjuna/thread/ThreadSpecificData.java 2008-12-09 16:22:42 UTC (rev 24319)
@@ -65,11 +65,6 @@
_table = new ThreadLocal();
}
- public void finalize ()
- {
- _table = null;
- }
-
/**
* Associate the specified data with the current thread.
*/
Modified: labs/jbosstm/trunk/ArjunaCore/txoj/classes/com/arjuna/ats/internal/txoj/lockstore/BasicLockStore.java
===================================================================
--- labs/jbosstm/trunk/ArjunaCore/txoj/classes/com/arjuna/ats/internal/txoj/lockstore/BasicLockStore.java 2008-12-09 11:40:20 UTC (rev 24318)
+++ labs/jbosstm/trunk/ArjunaCore/txoj/classes/com/arjuna/ats/internal/txoj/lockstore/BasicLockStore.java 2008-12-09 16:22:42 UTC (rev 24319)
@@ -138,11 +138,6 @@
headOfList = null;
}
-public void finalize ()
- {
- headOfList = null;
- }
-
public synchronized boolean write_committed (Uid u, String tName, OutputObjectState state)
{
if (state.size() <= 0)
Modified: labs/jbosstm/trunk/ArjunaCore/txoj/classes/com/arjuna/ats/internal/txoj/semaphore/BasicSemaphoreSetup.java
===================================================================
--- labs/jbosstm/trunk/ArjunaCore/txoj/classes/com/arjuna/ats/internal/txoj/semaphore/BasicSemaphoreSetup.java 2008-12-09 11:40:20 UTC (rev 24318)
+++ labs/jbosstm/trunk/ArjunaCore/txoj/classes/com/arjuna/ats/internal/txoj/semaphore/BasicSemaphoreSetup.java 2008-12-09 16:22:42 UTC (rev 24319)
@@ -44,10 +44,6 @@
{
}
-public void finalize ()
- {
- }
-
public synchronized Object createVoid ()
{
return null;
Modified: labs/jbosstm/trunk/ArjunaCore/txoj/classes/com/arjuna/ats/txoj/LockListIterator.java
===================================================================
--- labs/jbosstm/trunk/ArjunaCore/txoj/classes/com/arjuna/ats/txoj/LockListIterator.java 2008-12-09 11:40:20 UTC (rev 24318)
+++ labs/jbosstm/trunk/ArjunaCore/txoj/classes/com/arjuna/ats/txoj/LockListIterator.java 2008-12-09 16:22:42 UTC (rev 24319)
@@ -40,11 +40,6 @@
next = L.head;
}
-public void finalize ()
- {
- next = null;
- }
-
public final synchronized Lock iterate ()
{
Lock current = next;
Modified: labs/jbosstm/trunk/ArjunaCore/txoj/classes/com/arjuna/ats/txoj/lockstore/LockStore.java
===================================================================
--- labs/jbosstm/trunk/ArjunaCore/txoj/classes/com/arjuna/ats/txoj/lockstore/LockStore.java 2008-12-09 11:40:20 UTC (rev 24318)
+++ labs/jbosstm/trunk/ArjunaCore/txoj/classes/com/arjuna/ats/txoj/lockstore/LockStore.java 2008-12-09 16:22:42 UTC (rev 24319)
@@ -163,11 +163,6 @@
_imple = null;
}
-public void finalize ()
- {
- _imple = null;
- }
-
public InputObjectState read_state (Uid u, String tName) throws LockStoreException
{
return ((_imple != null) ? _imple.read_state(u, tName) : null);
Modified: labs/jbosstm/trunk/ArjunaCore/txoj/classes/com/arjuna/ats/txoj/semaphore/Semaphore.java
===================================================================
--- labs/jbosstm/trunk/ArjunaCore/txoj/classes/com/arjuna/ats/txoj/semaphore/Semaphore.java 2008-12-09 11:40:20 UTC (rev 24318)
+++ labs/jbosstm/trunk/ArjunaCore/txoj/classes/com/arjuna/ats/txoj/semaphore/Semaphore.java 2008-12-09 16:22:42 UTC (rev 24319)
@@ -107,11 +107,6 @@
}
}
-public void finalize ()
- {
- _imple = null;
- }
-
public int lock ()
{
return ((_imple != null) ? _imple.lock() : Semaphore.SM_ERROR);
Modified: labs/jbosstm/trunk/ArjunaJTA/jdbc/classes/com/arjuna/ats/internal/jdbc/ConnectionImple.java
===================================================================
--- labs/jbosstm/trunk/ArjunaJTA/jdbc/classes/com/arjuna/ats/internal/jdbc/ConnectionImple.java 2008-12-09 11:40:20 UTC (rev 24318)
+++ labs/jbosstm/trunk/ArjunaJTA/jdbc/classes/com/arjuna/ats/internal/jdbc/ConnectionImple.java 2008-12-09 16:22:42 UTC (rev 24319)
@@ -153,20 +153,6 @@
_theConnection = null;
}
- public void finalize()
- {
- if (jdbcLogger.logger.isDebugEnabled())
- {
- jdbcLogger.logger.debug(DebugLevel.DESTRUCTORS,
- VisibilityLevel.VIS_PUBLIC,
- com.arjuna.ats.jdbc.logging.FacilityCode.FAC_JDBC,
- "ConnectionImple.finalize ()");
- }
-
- _recoveryConnection = null;
- _theConnection = null;
- }
-
public Statement createStatement() throws SQLException
{
checkTransaction();
Modified: labs/jbosstm/trunk/ArjunaJTA/jta/classes/com/arjuna/ats/internal/jta/resources/arjunacore/XAResourceRecord.java
===================================================================
--- labs/jbosstm/trunk/ArjunaJTA/jta/classes/com/arjuna/ats/internal/jta/resources/arjunacore/XAResourceRecord.java 2008-12-09 11:40:20 UTC (rev 24318)
+++ labs/jbosstm/trunk/ArjunaJTA/jta/classes/com/arjuna/ats/internal/jta/resources/arjunacore/XAResourceRecord.java 2008-12-09 16:22:42 UTC (rev 24319)
@@ -134,14 +134,6 @@
_theTransaction = tx;
}
- public void finalize()
- {
- if (_theTransaction != null)
- {
- _theTransaction = null;
- }
- }
-
public final Xid getXid()
{
return _tranID;
Modified: labs/jbosstm/trunk/ArjunaJTS/jtax/classes/com/arjuna/ats/internal/jta/resources/jts/orbspecific/SynchronizationImple.java
===================================================================
--- labs/jbosstm/trunk/ArjunaJTS/jtax/classes/com/arjuna/ats/internal/jta/resources/jts/orbspecific/SynchronizationImple.java 2008-12-09 11:40:20 UTC (rev 24318)
+++ labs/jbosstm/trunk/ArjunaJTS/jtax/classes/com/arjuna/ats/internal/jta/resources/jts/orbspecific/SynchronizationImple.java 2008-12-09 16:22:42 UTC (rev 24319)
@@ -89,19 +89,6 @@
_theReference = null;
}
- public void finalize ()
- {
- _theSynch = null;
-
- try
- {
- super.finalize();
- }
- catch (Throwable e)
- {
- }
- }
-
public final org.omg.CosTransactions.Synchronization getSynchronization ()
{
if (_theReference == null)
Modified: labs/jbosstm/trunk/ArjunaJTS/jtax/classes/com/arjuna/ats/internal/jta/resources/jts/orbspecific/XAResourceRecord.java
===================================================================
--- labs/jbosstm/trunk/ArjunaJTS/jtax/classes/com/arjuna/ats/internal/jta/resources/jts/orbspecific/XAResourceRecord.java 2008-12-09 11:40:20 UTC (rev 24318)
+++ labs/jbosstm/trunk/ArjunaJTS/jtax/classes/com/arjuna/ats/internal/jta/resources/jts/orbspecific/XAResourceRecord.java 2008-12-09 16:22:42 UTC (rev 24319)
@@ -154,14 +154,6 @@
}
}
- public void finalize()
- {
- if (_theTransaction != null)
- {
- _theTransaction = null;
- }
- }
-
public final Uid get_uid()
{
return _theUid;
Modified: labs/jbosstm/trunk/ArjunaJTS/jts/classes/com/arjuna/ats/internal/jts/interposition/FactoryList.java
===================================================================
--- labs/jbosstm/trunk/ArjunaJTS/jts/classes/com/arjuna/ats/internal/jts/interposition/FactoryList.java 2008-12-09 11:40:20 UTC (rev 24318)
+++ labs/jbosstm/trunk/ArjunaJTS/jts/classes/com/arjuna/ats/internal/jts/interposition/FactoryList.java 2008-12-09 16:22:42 UTC (rev 24319)
@@ -60,12 +60,6 @@
_next = null;
}
- public void finalize ()
- {
- if (_next != null)
- _next = null;
- }
-
public ControlImple recreateLocal (PropagationContext ctx)
throws SystemException
{
Modified: labs/jbosstm/trunk/ArjunaJTS/jts/classes/com/arjuna/ats/internal/jts/interposition/resources/arjuna/InterposedHierarchy.java
===================================================================
--- labs/jbosstm/trunk/ArjunaJTS/jts/classes/com/arjuna/ats/internal/jts/interposition/resources/arjuna/InterposedHierarchy.java 2008-12-09 11:40:20 UTC (rev 24318)
+++ labs/jbosstm/trunk/ArjunaJTS/jts/classes/com/arjuna/ats/internal/jts/interposition/resources/arjuna/InterposedHierarchy.java 2008-12-09 16:22:42 UTC (rev 24319)
@@ -51,11 +51,6 @@
_action = action;
}
- public void finalize ()
- {
- _action = null;
- }
-
public final ServerTopLevelAction action ()
{
return _action;
Modified: labs/jbosstm/trunk/ArjunaJTS/jts/classes/com/arjuna/ats/internal/jts/interposition/resources/arjuna/Interposition.java
===================================================================
--- labs/jbosstm/trunk/ArjunaJTS/jts/classes/com/arjuna/ats/internal/jts/interposition/resources/arjuna/Interposition.java 2008-12-09 11:40:20 UTC (rev 24318)
+++ labs/jbosstm/trunk/ArjunaJTS/jts/classes/com/arjuna/ats/internal/jts/interposition/resources/arjuna/Interposition.java 2008-12-09 16:22:42 UTC (rev 24319)
@@ -63,11 +63,6 @@
_head = new HashList(11);
}
-public void finalize ()
- {
- _head = null;
- }
-
public static ControlImple create (PropagationContext context) throws SystemException
{
if (__list != null)
Modified: labs/jbosstm/trunk/ArjunaJTS/jts/classes/com/arjuna/ats/internal/jts/interposition/resources/arjuna/ServerResource.java
===================================================================
--- labs/jbosstm/trunk/ArjunaJTS/jts/classes/com/arjuna/ats/internal/jts/interposition/resources/arjuna/ServerResource.java 2008-12-09 11:40:20 UTC (rev 24318)
+++ labs/jbosstm/trunk/ArjunaJTS/jts/classes/com/arjuna/ats/internal/jts/interposition/resources/arjuna/ServerResource.java 2008-12-09 16:22:42 UTC (rev 24319)
@@ -64,7 +64,7 @@
* Assume only one thread can delete an object!
*/
-public void finalize ()
+public void finalize () throws Throwable
{
if (jtsLogger.logger.isDebugEnabled())
{
@@ -73,6 +73,8 @@
}
tidyup();
+ // should always call parent finalize method
+ super.finalize();
}
/*
Modified: labs/jbosstm/trunk/ArjunaJTS/jts/classes/com/arjuna/ats/internal/jts/orbspecific/TransactionFactoryImple.java
===================================================================
--- labs/jbosstm/trunk/ArjunaJTS/jts/classes/com/arjuna/ats/internal/jts/orbspecific/TransactionFactoryImple.java 2008-12-09 11:40:20 UTC (rev 24318)
+++ labs/jbosstm/trunk/ArjunaJTS/jts/classes/com/arjuna/ats/internal/jts/orbspecific/TransactionFactoryImple.java 2008-12-09 16:22:42 UTC (rev 24319)
@@ -115,18 +115,6 @@
_factoryRef = getReference();
}
- public void finalize () throws Throwable
- {
- if (jtsLogger.logger.isDebugEnabled())
- {
- jtsLogger.logger.debug(DebugLevel.DESTRUCTORS, VisibilityLevel.VIS_PUBLIC, com.arjuna.ats.jts.logging.FacilityCode.FAC_OTS, "TransactionFactoryImple.finalize ()");
- }
-
- _factoryRef = null;
-
- super.finalize();
- }
-
public final synchronized TransactionFactory getReference ()
{
if (_factoryRef == null)
Modified: labs/jbosstm/trunk/ArjunaJTS/jts/classes/com/arjuna/ats/internal/jts/orbspecific/interposition/ServerControl.java
===================================================================
--- labs/jbosstm/trunk/ArjunaJTS/jts/classes/com/arjuna/ats/internal/jts/orbspecific/interposition/ServerControl.java 2008-12-09 11:40:20 UTC (rev 24318)
+++ labs/jbosstm/trunk/ArjunaJTS/jts/classes/com/arjuna/ats/internal/jts/orbspecific/interposition/ServerControl.java 2008-12-09 16:22:42 UTC (rev 24319)
@@ -157,14 +157,6 @@
addControl();
}
- public void finalize () throws Throwable
- {
- _realCoordinator = null;
- _realTerminator = null;
-
- super.finalize();
- }
-
public final boolean isWrapper ()
{
return _isWrapper;
Modified: labs/jbosstm/trunk/ArjunaJTS/jts/classes/com/arjuna/ats/internal/jts/orbspecific/interposition/resources/ServerSynchronization.java
===================================================================
--- labs/jbosstm/trunk/ArjunaJTS/jts/classes/com/arjuna/ats/internal/jts/orbspecific/interposition/resources/ServerSynchronization.java 2008-12-09 11:40:20 UTC (rev 24318)
+++ labs/jbosstm/trunk/ArjunaJTS/jts/classes/com/arjuna/ats/internal/jts/orbspecific/interposition/resources/ServerSynchronization.java 2008-12-09 16:22:42 UTC (rev 24319)
@@ -62,12 +62,6 @@
.narrow(ORBManager.getPOA().corbaReference(this));
}
- public void finalize()
- {
- _theTransaction = null;
- _theSynchronization = null;
- }
-
public final Synchronization getSynchronization()
{
return _theSynchronization;
Modified: labs/jbosstm/trunk/ArjunaJTS/jts/classes/com/arjuna/ats/internal/jts/orbspecific/interposition/resources/arjuna/ServerNestedAction.java
===================================================================
--- labs/jbosstm/trunk/ArjunaJTS/jts/classes/com/arjuna/ats/internal/jts/orbspecific/interposition/resources/arjuna/ServerNestedAction.java 2008-12-09 11:40:20 UTC (rev 24318)
+++ labs/jbosstm/trunk/ArjunaJTS/jts/classes/com/arjuna/ats/internal/jts/orbspecific/interposition/resources/arjuna/ServerNestedAction.java 2008-12-09 16:22:42 UTC (rev 24319)
@@ -129,20 +129,6 @@
}
}
-public void finalize ()
- {
- if (jtsLogger.logger.isDebugEnabled())
- {
- jtsLogger.logger.debug(DebugLevel.DESTRUCTORS, VisibilityLevel.VIS_PUBLIC,
- com.arjuna.ats.jts.logging.FacilityCode.FAC_OTS, "ServerNestedAction.finalize ( "+_theUid+" )");
- }
-
- _theResource = null;
- _resourceRef = null;
-
- super.finalize();
- }
-
/**
* @message com.arjuna.ats.internal.jts.orbspecific.interposition.resources.arjuna.nullcontrol_1 {0} - attempt to commit with null control!
*/
Modified: labs/jbosstm/trunk/ArjunaJTS/jts/classes/com/arjuna/ats/internal/jts/orbspecific/interposition/resources/arjuna/ServerTopLevelAction.java
===================================================================
--- labs/jbosstm/trunk/ArjunaJTS/jts/classes/com/arjuna/ats/internal/jts/orbspecific/interposition/resources/arjuna/ServerTopLevelAction.java 2008-12-09 11:40:20 UTC (rev 24318)
+++ labs/jbosstm/trunk/ArjunaJTS/jts/classes/com/arjuna/ats/internal/jts/orbspecific/interposition/resources/arjuna/ServerTopLevelAction.java 2008-12-09 16:22:42 UTC (rev 24319)
@@ -147,20 +147,6 @@
_valid = false;
}
-/*
- * Assume only one thread can delete an object!
- */
-
-public void finalize ()
- {
- _theResource = null;
- _resourceRef = null;
-
- super.tidyup();
-
- super.finalize();
- }
-
public Resource getReference ()
{
if ((_resourceRef == null) && _valid)
Modified: labs/jbosstm/trunk/ArjunaJTS/jts/classes/com/arjuna/ats/internal/jts/orbspecific/recovery/recoverycoordinators/GenericRecoveryCoordinator.java
===================================================================
--- labs/jbosstm/trunk/ArjunaJTS/jts/classes/com/arjuna/ats/internal/jts/orbspecific/recovery/recoverycoordinators/GenericRecoveryCoordinator.java 2008-12-09 11:40:20 UTC (rev 24318)
+++ labs/jbosstm/trunk/ArjunaJTS/jts/classes/com/arjuna/ats/internal/jts/orbspecific/recovery/recoverycoordinators/GenericRecoveryCoordinator.java 2008-12-09 16:22:42 UTC (rev 24319)
@@ -67,7 +67,6 @@
*
* @message com.arjuna.ats.internal.jts.recovery.recoverycoordinators.GenericRecoveryCoordinator_1 [com.arjuna.ats.internal.jts.recovery.recoverycoordinators.GenericRecoveryCoordinator_1] - GenericRecoveryCoordinator {0} constructed
* @message com.arjuna.ats.internal.jts.recovery.recoverycoordinators.GenericRecoveryCoordinator_2 [com.arjuna.ats.internal.jts.recovery.recoverycoordinators.GenericRecoveryCoordinator_2] - GenericRecoveryCoordinator() constructing
- * @message com.arjuna.ats.internal.jts.recovery.recoverycoordinators.GenericRecoveryCoordinator_3 [com.arjuna.ats.internal.jts.recovery.recoverycoordinators.GenericRecoveryCoordinator_3] - GenericRecoveryCoordinator {0} destroyed
* @message com.arjuna.ats.internal.jts.recovery.recoverycoordinators.GenericRecoveryCoordinator_4 [com.arjuna.ats.internal.jts.recovery.recoverycoordinators.GenericRecoveryCoordinator_4] - GenericRecoveryCoordinator - swapping Resource for RC {0}
*/
@@ -113,17 +112,6 @@
_id = null;
}
- public void finalize () throws Throwable
- {
- super.finalize();
- if (jtsLogger.loggerI18N.isDebugEnabled())
- {
- jtsLogger.loggerI18N.debug(DebugLevel.CONSTRUCTORS, VisibilityLevel.VIS_PUBLIC,
- FacilityCode.FAC_CRASH_RECOVERY,
- "com.arjuna.ats.internal.jts.recovery.recoverycoordinators.GenericRecoveryCoordinator_3", new Object[]{_id});
- }
- }
-
/**
* Implementation of IDL method:
* <p>
Modified: labs/jbosstm/trunk/ArjunaJTS/jts/classes/com/arjuna/ats/internal/jts/recovery/recoverycoordinators/ResourceCompletor.java
===================================================================
--- labs/jbosstm/trunk/ArjunaJTS/jts/classes/com/arjuna/ats/internal/jts/recovery/recoverycoordinators/ResourceCompletor.java 2008-12-09 11:40:20 UTC (rev 24318)
+++ labs/jbosstm/trunk/ArjunaJTS/jts/classes/com/arjuna/ats/internal/jts/recovery/recoverycoordinators/ResourceCompletor.java 2008-12-09 16:22:42 UTC (rev 24319)
@@ -61,12 +61,6 @@
_action = action;
}
- public void finalize () throws Throwable
- {
- super.finalize();
- _res = null;
- }
-
public final void run ()
{
if (_action == ROLLBACK)
Modified: labs/jbosstm/trunk/ArjunaJTS/jts/classes/com/arjuna/ats/internal/jts/recovery/transactions/CachedRecoveredTransaction.java
===================================================================
--- labs/jbosstm/trunk/ArjunaJTS/jts/classes/com/arjuna/ats/internal/jts/recovery/transactions/CachedRecoveredTransaction.java 2008-12-09 11:40:20 UTC (rev 24318)
+++ labs/jbosstm/trunk/ArjunaJTS/jts/classes/com/arjuna/ats/internal/jts/recovery/transactions/CachedRecoveredTransaction.java 2008-12-09 16:22:42 UTC (rev 24319)
@@ -78,20 +78,6 @@
}
}
- public void finalize ()
- {
- if (jtsLogger.logger.isDebugEnabled())
- {
- jtsLogger.logger.debug(DebugLevel.DESTRUCTORS, VisibilityLevel.VIS_PUBLIC,
- FacilityCode.FAC_CRASH_RECOVERY,
- "CachedRecoveredTransaction.finalise ["
- +_theTransactionUid+", "+_theTransactionType+"]");
- }
-
- _theTransactionUid = null;
- _theTransactionType = null;
- }
-
public Uid getTransactionUid()
{
if (jtsLogger.logger.isDebugEnabled())
Modified: labs/jbosstm/trunk/ArjunaJTS/jts/classes/com/arjuna/ats/internal/jts/recovery/transactions/RecoveredServerTransaction.java
===================================================================
--- labs/jbosstm/trunk/ArjunaJTS/jts/classes/com/arjuna/ats/internal/jts/recovery/transactions/RecoveredServerTransaction.java 2008-12-09 11:40:20 UTC (rev 24318)
+++ labs/jbosstm/trunk/ArjunaJTS/jts/classes/com/arjuna/ats/internal/jts/recovery/transactions/RecoveredServerTransaction.java 2008-12-09 16:22:42 UTC (rev 24319)
@@ -79,7 +79,6 @@
*
* @message com.arjuna.ats.internal.jts.recovery.transactions.RecoverdServerTransaction_1 [com.arjuna.ats.internal.jts.recovery.transactions.RecoverdServerTransaction_1] - RecoveredServerTransaction {0} created
* @message com.arjuna.ats.internal.jts.recovery.transactions.RecoverdServerTransaction_2 [com.arjuna.ats.internal.jts.recovery.transactions.RecoverdServerTransaction_2] - RecoveredServerTransaction - activate of {0} failed!
- * @message com.arjuna.ats.internal.jts.recovery.transactions.RecoverdServerTransaction_3 [com.arjuna.ats.internal.jts.recovery.transactions.RecoverdServerTransaction_3] - RecoveredServerTransaction {0} destroyed
* @message com.arjuna.ats.internal.jts.recovery.transactions.RecoverdServerTransaction_4 [com.arjuna.ats.internal.jts.recovery.transactions.RecoverdServerTransaction_4] - RecoveredServerTransaction.replayPhase2({0}) - status = {1}
* @message com.arjuna.ats.internal.jts.recovery.transactions.RecoverdServerTransaction_5 [com.arjuna.ats.internal.jts.recovery.transactions.RecoverdServerTransaction_5] - RecoveredServerTransaction.replayPhase2({0}) - status after contacting parent = {1}
* @message com.arjuna.ats.internal.jts.recovery.transactions.RecoverdServerTransaction_6 [com.arjuna.ats.internal.jts.recovery.transactions.RecoverdServerTransaction_6] - ServerTransaction {0} unable determine status - retry later
@@ -180,18 +179,6 @@
_txStatus = Status.StatusUnknown;
}
- public void finalize ()
- {
- if (jtsLogger.loggerI18N.isDebugEnabled())
- {
- jtsLogger.loggerI18N.debug(DebugLevel.DESTRUCTORS, VisibilityLevel.VIS_PUBLIC,
- FacilityCode.FAC_CRASH_RECOVERY,
- "com.arjuna.ats.internal.jts.recovery.transactions.RecoverdServerTransaction_3", new Object[]{getSavingUid()});
- }
-
- super.finalize();
- }
-
/**
* Get the status of the transaction. If we successfully activated
* the transaction then we return whatever the transaction reports
Modified: labs/jbosstm/trunk/ArjunaJTS/jts/classes/com/arjuna/ats/internal/jts/recovery/transactions/RecoveredTransaction.java
===================================================================
--- labs/jbosstm/trunk/ArjunaJTS/jts/classes/com/arjuna/ats/internal/jts/recovery/transactions/RecoveredTransaction.java 2008-12-09 11:40:20 UTC (rev 24318)
+++ labs/jbosstm/trunk/ArjunaJTS/jts/classes/com/arjuna/ats/internal/jts/recovery/transactions/RecoveredTransaction.java 2008-12-09 16:22:42 UTC (rev 24319)
@@ -67,7 +67,6 @@
* @message com.arjuna.ats.internal.jts.recovery.transactions.RecoveredTransaction_1 [com.arjuna.ats.internal.jts.recovery.transactions.RecoveredTransaction_1] - RecoveredTransaction {0} created
* @message com.arjuna.ats.internal.jts.recovery.transactions.RecoveredTransaction_2 [com.arjuna.ats.internal.jts.recovery.transactions.RecoveredTransaction_2] - RecoveredTransaction activate of {0} failed
* @message com.arjuna.ats.internal.jts.recovery.transactions.RecoveredTransaction_3 [com.arjuna.ats.internal.jts.recovery.transactions.RecoveredTransaction_3] - RecoveredTransaction activate of {0} failed - {1}
- * @message com.arjuna.ats.internal.jts.recovery.transactions.RecoveredTransaction_4 [com.arjuna.ats.internal.jts.recovery.transactions.RecoveredTransaction_4] - RecoveredTransaction {0} destroyed
* @message com.arjuna.ats.internal.jts.recovery.transactions.RecoveredTransaction_5 [com.arjuna.ats.internal.jts.recovery.transactions.RecoveredTransaction_5] - RecoveredTransaction.replayPhase2 ({0}) - status = {1}
* @message com.arjuna.ats.internal.jts.recovery.transactions.RecoveredTransaction_6 [com.arjuna.ats.internal.jts.recovery.transactions.RecoveredTransaction_6] - RecoveredTransaction.replayPhase2 for {0} failed
* @message com.arjuna.ats.internal.jts.recovery.transactions.RecoveredTransaction_7 [com.arjuna.ats.internal.jts.recovery.transactions.RecoveredTransaction_7] - RecoveredTransaction.replayPhase2 ({0}) finished
@@ -131,17 +130,6 @@
_txStatus = Status.StatusUnknown;
}
- public void finalize ()
- {
- if (jtsLogger.loggerI18N.isDebugEnabled())
- {
- jtsLogger.loggerI18N.debug(DebugLevel.DESTRUCTORS, VisibilityLevel.VIS_PUBLIC,
- FacilityCode.FAC_CRASH_RECOVERY,
- "com.arjuna.ats.internal.jts.recovery.transactions.RecoveredTransaction_4", new Object[]{get_uid()});
- }
- super.finalize();
- }
-
/**
* Get the status of the transaction. If we successfully activated
* the transaction then we return whatever the transaction reports
Modified: labs/jbosstm/trunk/ArjunaJTS/jts/classes/com/arjuna/ats/internal/jts/recovery/transactions/RecoveredTransactionReplayer.java
===================================================================
--- labs/jbosstm/trunk/ArjunaJTS/jts/classes/com/arjuna/ats/internal/jts/recovery/transactions/RecoveredTransactionReplayer.java 2008-12-09 11:40:20 UTC (rev 24318)
+++ labs/jbosstm/trunk/ArjunaJTS/jts/classes/com/arjuna/ats/internal/jts/recovery/transactions/RecoveredTransactionReplayer.java 2008-12-09 16:22:42 UTC (rev 24319)
@@ -55,15 +55,6 @@
_recoveringCache.put(_actionUid, this);
}
- public void finalize () throws Throwable
- {
- super.finalize();
-
- _actionUid = null;
- _actionType = null;
- _cachedRecoveredTransaction = null;
- }
-
/**
* @since JTS 2.1.1.
*/
Modified: labs/jbosstm/trunk/ArjunaJTS/jts/classes/com/arjuna/ats/internal/jts/recovery/transactions/ServerTransactionRecoveryModule.java
===================================================================
--- labs/jbosstm/trunk/ArjunaJTS/jts/classes/com/arjuna/ats/internal/jts/recovery/transactions/ServerTransactionRecoveryModule.java 2008-12-09 11:40:20 UTC (rev 24318)
+++ labs/jbosstm/trunk/ArjunaJTS/jts/classes/com/arjuna/ats/internal/jts/recovery/transactions/ServerTransactionRecoveryModule.java 2008-12-09 16:22:42 UTC (rev 24319)
@@ -57,7 +57,6 @@
* It is responsible for the recovery of server transactions
*
* @message com.arjuna.ats.internal.jts.recovery.transactions.ServerTransactionRecoveryModule_1 [com.arjuna.ats.internal.jts.recovery.transactions.ServerTransactionRecoveryModule_1] - ServerTransactionRecoveryModule created
- * @message com.arjuna.ats.internal.jts.recovery.transactions.ServerTransactionRecoveryModule_2 [com.arjuna.ats.internal.jts.recovery.transactions.ServerTransactionRecoveryModule_2] - ServerTransactionRecoveryModule destroyed
* @message com.arjuna.ats.internal.jts.recovery.transactions.ServerTransactionRecoveryModule_3 [com.arjuna.ats.internal.jts.recovery.transactions.ServerTransactionRecoveryModule_3] - ServerTransactionRecoveryModule - First Pass
* @message com.arjuna.ats.internal.jts.recovery.transactions.ServerTransactionRecoveryModule_4 [com.arjuna.ats.internal.jts.recovery.transactions.ServerTransactionRecoveryModule_4] - ServerTransactionRecoveryModule - Second Pass
* @message com.arjuna.ats.internal.jts.recovery.transactions.ServerTransactionRecoveryModule_5 [com.arjuna.ats.internal.jts.recovery.transactions.ServerTransactionRecoveryModule_5] - ServerTransactionRecoveryModule - Transaction {0} still in ActionStore
@@ -84,17 +83,6 @@
_transactionType = ServerTransaction.typeName();
}
- public void finalize () throws Throwable
- {
- super.finalize();
- if (jtsLogger.loggerI18N.isDebugEnabled())
- {
- jtsLogger.loggerI18N.debug(DebugLevel.DESTRUCTORS, VisibilityLevel.VIS_PUBLIC,
- FacilityCode.FAC_CRASH_RECOVERY,
- "com.arjuna.ats.internal.jts.recovery.transactions.ServerTransactionRecoveryModule_2");
- }
- }
-
/**
* This is called periodically by the RecoveryManager
*/
Modified: labs/jbosstm/trunk/ArjunaJTS/jts/classes/com/arjuna/ats/internal/jts/resources/ExtendedResourceRecord.java
===================================================================
--- labs/jbosstm/trunk/ArjunaJTS/jts/classes/com/arjuna/ats/internal/jts/resources/ExtendedResourceRecord.java 2008-12-09 11:40:20 UTC (rev 24318)
+++ labs/jbosstm/trunk/ArjunaJTS/jts/classes/com/arjuna/ats/internal/jts/resources/ExtendedResourceRecord.java 2008-12-09 16:22:42 UTC (rev 24319)
@@ -123,17 +123,6 @@
_restored = false;
}
- public void finalize () throws Throwable
- {
- _resourceHandle = null;
- _stringifiedResourceHandle = null;
- _recCoordUid = null;
- _parentCoordHandle = null;
- _currentTransaction = null;
-
- super.finalize();
- }
-
/**
* Specific OTS method for getting at the value.
*/
Modified: labs/jbosstm/trunk/ArjunaJTS/jts/classes/com/arjuna/ats/internal/jts/resources/ResourceRecord.java
===================================================================
--- labs/jbosstm/trunk/ArjunaJTS/jts/classes/com/arjuna/ats/internal/jts/resources/ResourceRecord.java 2008-12-09 11:40:20 UTC (rev 24318)
+++ labs/jbosstm/trunk/ArjunaJTS/jts/classes/com/arjuna/ats/internal/jts/resources/ResourceRecord.java 2008-12-09 16:22:42 UTC (rev 24319)
@@ -147,16 +147,6 @@
_rolledback = false;
}
- public void finalize () throws Throwable
- {
- _resourceHandle = null;
- _stringifiedResourceHandle = null;
- _recCoordUid = null;
- _parentCoordHandle = null;
-
- super.finalize();
- }
-
public final Resource resourceHandle ()
{
/*
Modified: labs/jbosstm/trunk/ArjunaJTS/jts/classes/com/arjuna/ats/internal/jts/resources/SynchronizationRecord.java
===================================================================
--- labs/jbosstm/trunk/ArjunaJTS/jts/classes/com/arjuna/ats/internal/jts/resources/SynchronizationRecord.java 2008-12-09 11:40:20 UTC (rev 24318)
+++ labs/jbosstm/trunk/ArjunaJTS/jts/classes/com/arjuna/ats/internal/jts/resources/SynchronizationRecord.java 2008-12-09 16:22:42 UTC (rev 24319)
@@ -71,18 +71,6 @@
_isJTAInterposed = isJTAInterposed;
}
- public void finalize ()
- {
- if (jtsLogger.logger.isDebugEnabled())
- {
- jtsLogger.logger.debug(DebugLevel.DESTRUCTORS, VisibilityLevel.VIS_PUBLIC,
- com.arjuna.ats.jts.logging.FacilityCode.FAC_OTS, "SynchronizationRecord.finalize ()");
- }
-
- _ptr = null;
- _uid = null;
- }
-
public final Synchronization contents ()
{
if (jtsLogger.logger.isDebugEnabled())
Modified: labs/jbosstm/trunk/XTS/WSCF/classes/com/arjuna/mwlabs/wscf/model/as/coordinator/arjunacore/ParticipantRecord.java
===================================================================
--- labs/jbosstm/trunk/XTS/WSCF/classes/com/arjuna/mwlabs/wscf/model/as/coordinator/arjunacore/ParticipantRecord.java 2008-12-09 11:40:20 UTC (rev 24318)
+++ labs/jbosstm/trunk/XTS/WSCF/classes/com/arjuna/mwlabs/wscf/model/as/coordinator/arjunacore/ParticipantRecord.java 2008-12-09 16:22:42 UTC (rev 24319)
@@ -94,13 +94,6 @@
{ order() });
}
- public void finalize () throws Throwable
- {
- _resourceHandle = null;
-
- super.finalize();
- }
-
public final void setResponse (Message notification, Outcome response)
throws WrongStateException
{
Modified: labs/jbosstm/trunk/XTS/WSCF/classes/com/arjuna/mwlabs/wscf/model/as/coordinator/arjunacore/SynchronizationRecord.java
===================================================================
--- labs/jbosstm/trunk/XTS/WSCF/classes/com/arjuna/mwlabs/wscf/model/as/coordinator/arjunacore/SynchronizationRecord.java 2008-12-09 11:40:20 UTC (rev 24318)
+++ labs/jbosstm/trunk/XTS/WSCF/classes/com/arjuna/mwlabs/wscf/model/as/coordinator/arjunacore/SynchronizationRecord.java 2008-12-09 16:22:42 UTC (rev 24319)
@@ -80,11 +80,6 @@
new Object[]{_id});
}
- public void finalize () throws Throwable
- {
- _resourceHandle = null;
- }
-
/**
* @message com.arjuna.mwlabs.wscf.model.as.coordinator.arjunacore.SynchronizationRecord_2 [com.arjuna.mwlabs.wscf.model.as.coordinator.arjunacore.SynchronizationRecord_2] - SynchronizationRecord.beforeCompletion for {0} called without a resource!
* @message com.arjuna.mwlabs.wscf.model.as.coordinator.arjunacore.SynchronizationRecord_3 [com.arjuna.mwlabs.wscf.model.as.coordinator.arjunacore.SynchronizationRecord_3] - SynchronizationRecord.beforeCompletion {0} caught exception: {1}
Modified: labs/jbosstm/trunk/XTS/WSCF/classes/com/arjuna/mwlabs/wscf/model/sagas/arjunacore/ParticipantRecord.java
===================================================================
--- labs/jbosstm/trunk/XTS/WSCF/classes/com/arjuna/mwlabs/wscf/model/sagas/arjunacore/ParticipantRecord.java 2008-12-09 11:40:20 UTC (rev 24318)
+++ labs/jbosstm/trunk/XTS/WSCF/classes/com/arjuna/mwlabs/wscf/model/sagas/arjunacore/ParticipantRecord.java 2008-12-09 16:22:42 UTC (rev 24319)
@@ -88,13 +88,6 @@
new Object[] { order() });
}
- public void finalize () throws Throwable
- {
- _resourceHandle = null;
-
- super.finalize();
- }
-
/**
* Override AbstractRecord.propagateOnCommit
*/
Modified: labs/jbosstm/trunk/XTS/WSCF/classes/com/arjuna/mwlabs/wscf/model/twophase/arjunacore/ParticipantRecord.java
===================================================================
--- labs/jbosstm/trunk/XTS/WSCF/classes/com/arjuna/mwlabs/wscf/model/twophase/arjunacore/ParticipantRecord.java 2008-12-09 11:40:20 UTC (rev 24318)
+++ labs/jbosstm/trunk/XTS/WSCF/classes/com/arjuna/mwlabs/wscf/model/twophase/arjunacore/ParticipantRecord.java 2008-12-09 16:22:42 UTC (rev 24319)
@@ -85,13 +85,6 @@
{ order() });
}
- public void finalize () throws Throwable
- {
- _resourceHandle = null;
-
- super.finalize();
- }
-
/**
* Override AbstractRecord.propagateOnCommit
*/
Modified: labs/jbosstm/trunk/XTS/WSCF/classes/com/arjuna/mwlabs/wscf/model/twophase/arjunacore/SynchronizationRecord.java
===================================================================
--- labs/jbosstm/trunk/XTS/WSCF/classes/com/arjuna/mwlabs/wscf/model/twophase/arjunacore/SynchronizationRecord.java 2008-12-09 11:40:20 UTC (rev 24318)
+++ labs/jbosstm/trunk/XTS/WSCF/classes/com/arjuna/mwlabs/wscf/model/twophase/arjunacore/SynchronizationRecord.java 2008-12-09 16:22:42 UTC (rev 24319)
@@ -70,11 +70,6 @@
new Object[]{_id});
}
- public void finalize () throws Throwable
- {
- _resourceHandle = null;
- }
-
public boolean beforeCompletion ()
{
if (_resourceHandle != null)
More information about the jboss-svn-commits
mailing list