Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF "Technology" (Ecore Tools, EMFatic, etc)  » How should I delete created classes?(Is garbage collection available when using generated Java code from EMF?)
How should I delete created classes? [message #552482] Thu, 12 August 2010 11:06 Go to next message
Oleg Bolshakov is currently offline Oleg BolshakovFriend
Messages: 36
Registered: August 2010
Member
Let me create a class:

Book book1 = factory.createBook();

And then delete the link to it:

book1 = null;

Will the object be deleted by GC? Or there's smth missing in my Java code?



Thank you
Re: How should I delete created classes? [message #552520 is a reply to message #552482] Thu, 12 August 2010 13:15 Go to previous messageGo to next message
saurav sarkar is currently offline saurav sarkarFriend
Messages: 424
Registered: July 2009
Senior Member
Normal java garbage collection rules should be applied.

Re: How should I delete created classes? [message #623138 is a reply to message #552482] Thu, 12 August 2010 13:15 Go to previous message
saurav sarkar is currently offline saurav sarkarFriend
Messages: 424
Registered: July 2009
Senior Member
Normal java garbage collection rules should be applied.
--
My Blog http://codifyit.blogspot.com/


Previous Topic:How should I delete created classes?
Next Topic:Do bounds (lower and upper) of EReference have any effect?
Goto Forum:
  


Current Time: Sat Nov 29 01:33:15 GMT 2014

Powered by FUDForum. Page generated in 0.02518 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software