[jboss-user] [Performance Tuning] - Re: Call by value vs. call by reference

Wolf-Dieter Fink do-not-reply at jboss.com
Fri Jun 17 11:04:42 EDT 2011


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]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20110617/ca18c7cc/attachment-0001.html 


More information about the jboss-user mailing list