Wolf-Dieter Fink [http://community.jboss.org/people/wdfink] created the 
discussion

"Re: Call by value vs. call by reference"

To view the discussion, visit: http://community.jboss.org/message/610806#610806

--------------------------------------------------------------
As Jens say the SPEC conform way is call-by-value.
If you use the standard server configuration it will be so configured.

But it is a performance improvment if you use call-by-reference for the 
duration, because of serialization. Also the througput is better because of 
unburden the GC.
If you keep the behaviour in mind I see no issue why you should not use 
call-by-reference.
--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/610806#610806]

Start a new discussion in Performance Tuning at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2078]

_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to