The Garbage Collector Approaches on Nov 12, 2009 in Advanced Concepts Misc A Garbage Collector must do two things:-1.Detect garbage objects2.Deallocate the memory of garbage objects and make it available for the program.There are four approaches that a garbage collector may adopt to detect the garbage objects.A) Reference -...
Java Garbage Collector on Nov 11, 2009 in Advanced Concepts Misc It is known that you can allocate memory to an object or an array using the ' new ' operator.You cannot however release the memory explicitly through your code.Garbage Collection is the process that automatically frees the memory of objects that are...
The Java Architecture TradeOffs on Nov 7, 2009 in Advanced Concepts Misc Java is a common programming language and the basic purpose of Java is to develop network programs.Now it is also used to develop system software's and programs too.The Java architecture has trade off between speed and efficiency.In case of Java the...
The Java SandBox on Nov 7, 2009 in Misc The sandbox allows code to be downloaded from any source,but applies restriction on it upon execution.You can also say sandbox isolates particular code during execution to apply the restrictions.A Java sandbox is an area in memory outside which the J...
The main Thread - Creation and Handling on Nov 3, 2009 in Threads Every Java program when started,one thread begins running immediately.This is called the main Thread.The reason it is called main Thread is that it starts execution when our program begins.There are two basic characteristics of main Thread are:-1.It...
ways of creating Threads in Java Program on Oct 31, 2009 in Threads Multi threaded applications are the base of all modern computing applications.Threads save lot of time and keeps utilizing computing resources to the optimum levels.It is important for a Java developer to understand how to create Threads.There are tw...
Thread Life Cycle on Oct 29, 2009 in Threads A Thread encounters four states during its life time which are:-1.New Thread(Init)2.Runnable3.Waiting/Blocked/Ready4.TerminatedIn order to get to the roots of the threads you have to understand all the states of Threads life cycle.1.New Thread(Init)...
© BlogTopsites.com 2004-2009. Contact Us.