Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within OCPJP
Search Coderanch
Advance search
Google search
Register / Login
Post Reply
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Tim Cooke
paul wheaton
Liutauras Vilda
Ron McLeod
Sheriffs:
Jeanne Boyarsky
Devaka Cooray
Paul Clapham
Saloon Keepers:
Scott Selikoff
Tim Holloway
Piet Souris
Mikalai Zaikin
Frits Walraven
Bartenders:
Stephan van Hulst
Carey Brown
Forum:
Programmer Certification (OCPJP)
Garbage collection
antraarora
Ranch Hand
Posts: 45
posted 24 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Can a programmer code to run the GC whenever you want to?
softie
Ranch Hand
Posts: 41
posted 24 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Hi,
GC can be called in the finalise method if you so want to do the garbage collection.
Bye
Venu
Jane Griscti
Ranch Hand
Posts: 3141
posted 24 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Hi ...
You can call System.gc() or Runtime.gc() any time you want but it does not guarantee garbage collection will occur.
Jane Griscti
SCJP, Co-author
Mike Meyers' Java 2 Certification Passport
This tiny ad is suggesting that maybe she should go play in traffic.
Smokeless wood heat with a rocket mass heater
https://woodheat.net
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
Boone's question
gc
Garbage Collection
Garbage collection
Garbage Collection - Boone's Mock Q
More...