|
Well, you _can_ force GC, but I wouldn’t recommend it except in _extremely_ rare situations. I’d
wager java’s native routines are fairly well tuned at this point, and who
knows what CF is doing to optimize GC under the hood. If you _have_
to play with it, you can do this, but don’t hurt yourself (hands over the
loaded pistol): <CFSET sys =
CreateObject("java", "java.lang.System")> <CFSET sys.runFinalization()> <CFSET sys.gc()> Roland From:
[EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED]
Hehe
Barry you had a point? When did you start doing them! hehehehe > so,
this leads to two more questions: No idea,
probably the same as all j2EE applications. No, all
you're doing there in CFMX is pointing that key at a new value, but the actual
object itself still exists downstream. If it were on its own, then yes you do
remove the reference from the object..its just a weird way of emptying a
variable instead of StructDelete - that's my assumption anyway (I did sound
like I knew it was the case then didn't i...sif). > Don't you
start pointing words like pointer at us. Pointer is one of those words where
when I hear it think of "Floating pointer" for some reason - which
confuses me further - so I like the ye-olde "reference" - I think it
serves the naming well? Scott
|
Title: RE: [CFCDev] Objects byReference
- RE: [CFCDev] Objects byReference Roland Collins
- RE: [CFCDev] Objects byReference Hal Helms
- Re: [CFCDev] Objects byReference Sean Corfield
- RE: [CFCDev] Objects byReference Jim Davis
- Re: [CFCDev] Objects byReference Sean Corfield
