> yes, if you take a look at the code, before the switch 
> statement that distinguishes the cases between the different 
> transaction attributes, we start by a tx.suspend() and, a few 
> lines after, a tx.resume() if it was a REQUIRES tag for example, etc.

I know I wrote the original version of the code. 

What I argued Nth times is that tx.suspend() should just be implemented
with 

threadLocalVariable.set(null); 

meaning that we disassociate the thread from the TX. 

The event "thread dis-association" is not relevant to anyone else, not
even to the TX.  The TX DOESN'T CARE that it is associated with n
threads or not. 

Man I really need to write that TX-lite spec.  It is a fucking mess in
your heads right now :)

marcf

> 
> > -----Message d'origine-----
> > De : [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED]]De la part de 
> > marc fleury Envoye : lundi, 27 janvier 2003 16:52
> > A : [EMAIL PROTECTED]; 'Stefan Reich'
> > Objet : RE: [JBoss-dev] RE: how's ecperf going?
> >
> >
> > > > * TxInterceptorCMP suspends and resumes a transaction in all 
> > > > cases, sometimes even twice. This can be very expensive, 
> > > > especially with global transactions.
> > > >
> > >
> > > ??  Can you point this out?
> >
> > for the nth time we are having this discussion.
> >
> > NO, the 'suspend/resume' is NOT A LIFECYCLE EVEN ON THE 
> TRANSACTION. 
> > That says that there is no distribution of that event.  S/R 
> just says 
> > that we DIS-ASSOCIATE the thread from the transaction and 
> that's it. 
> > If a TM implements notifications of this, it is A BUG.
> >
> > marcf
> >
> >
> >
> > -------------------------------------------------------
> > This SF.NET email is sponsored by:
> > SourceForge Enterprise Edition + IBM + LinuxWorld = 
> Something 2 See! 
> > http://www.vasoftware.com 
> > _______________________________________________
> > Jboss-development mailing list 
> [EMAIL PROTECTED]
> > https://lists.sourceforge.net/lists/listinfo/jboss-development
> >
> 
> 
> 
> -------------------------------------------------------
> This SF.NET email is sponsored by:
> SourceForge Enterprise Edition + IBM + LinuxWorld = Something 
> 2 See! http://www.vasoftware.com 
> _______________________________________________
> Jboss-development mailing list [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/jboss-development
> 



-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to