[Mono-list] managed question

Geoffrey O'Callaghan gocallag@au1.ibm.com
Tue, 27 Nov 2001 11:37:10 +1100


I came in on the end of this thread.... Yes,  this can certainly happen in
a Java VM.  It makes writing java native methods a little clumsy as you
have to pin or move variable data between the native method variable and
the java variable.

Cheers
Geoff



                                                                                              
                    Lloyd Dupont                                                              
                    <lloyd@galador.n       To:     Fergus Henderson <fjh@cs.mu.oz.au>         
                    et>                    cc:     "mono-list@ximian.com"                     
                    Sent by:                <mono-list@ximian.com>                            
                    mono-list-admin@       Subject:     Re: [Mono-list] managed question      
                    ximian.com                                                                
                                                                                              
                                                                                              
                    26/11/2001 05:24                                                          
                    pm                                                                        
                                                                                              
                                                                                              



i found this amazing !
anayway, if it is the way life it, i guess i have to with it...

Fergus Henderson wrote:

> On 24-Nov-2001, Lloyd Dupont <lloyd@galador.net> wrote:
>
>>i wonder how the runtime could change all reference to a variable, did
>>he really do this ?
>>
>
> That's implementation dependent... but for some implementations,
> yes, the garbage collector will move objects around in memory
> and update all the references to those objects to point to the
> new locations.
>
>



_______________________________________________
Mono-list maillist  -  Mono-list@ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list