My Empty Mind

We Discuss

  •   Truth
  •   Products
  •   BigData
  •  Technology

Hot

Post Top Ad

LightBlog

Post Top Ad

Your Ad Spot

Domain Migration in progress

November 11, 2017 0

Java provide excellent feature called garbage collection, it allows developer to create object without any worries.

Java only take care of memory allocation and de-allocation (In C/C++ developer has to take care of Object memory allocation and memory de-allocation). 
important work of Garbage Collection is to free unwanted Object space.



As you see above image JVM memory is divided different part, At high level it is divided in two major parts
  1. Young generation
  2.  Old generation
Young generation - Young generation is area where all new objects are created. When this area is filled garbage collection is performed.this garbage collection is called Minor GC. young generation is further divided in to different parts.
  • Eden Memory  
  • Survivor memory spaces  (S1 and S0 as shown in Above Image)
How garbage collection works in Eden Memory?
Most of newly created objects are created in Eden memory space. When Eden space is filled with newly created objects then minor GC is performed and all objects are moved to one of Survivor space, at same time minor GC also check survivor space and available objects move them to Other survivor space.
Objects which are Lived after many cycles of GC, are moved to Old generation memory space.

How garbage collection works in Old Generation Memory?
Old generation memory contains objects which are long lived and survived after many cycles of Minor GC. when Old generation memory space is full with Objects, then garbage collection is performed, this garbage collection is called Major GC. There is one drawback of Major GC, when garbage collection is performed 
all threads are stopped until operation completes.

Permanent generation
permanent generation or 'Perm Gen' contains application metadata required by JVM to explain methods and classed used in application. 
Perm gen is filled by JVM at run time.

Read More

Domain Migration in progress

November 08, 2017
This post is done by Sanjeev Krishna testing recent this is the recent post done for testing testing recent this is the recent post done for testing testing recent this is the recent post done for testing testing recent this is the recent post done for testingv

www.myemptymind.com




hjhk jhkh kfkhlk hlkj lj;l j;l
hjkh khkj lk


Read More

Testing Domain Migration in progress

November 07, 2017 0
Testing recent this is the recent post done for testing testing recent this is the recent post done for testing testing recent this is the recent post done for testing
testing recent this is the recent post done for testing testing recent this is the recent post done for testing testing recent this is the recent post done for testing testing recent this is the recent post done for testing

Read More

Domain Migration in progress

October 31, 2017 0
This is 5th post testing recent this is the recent post done for testing testing recent this is the recent post done for testing testing recent this is the recent post done for testing




testing recent this is the recent post done for testing testing recent this is the recent post done for testing testing recent this is the recent post done for testing

Read More

Domain Migration in progress

October 29, 2017 2
This is my 3rd post body testing recent this is the recent post done for testing testing recent this is the recent post done for testing


aJDJH AKDHA








End of 3rd post body. testing recent this is the recent post done for testing testing recent this is the recent post done for testing

Read More

Domain Migration in progress

October 28, 2017 0
This one is the 2nd post testing recent this is the recent post done for testing testing recent this is the recent post done for testing

end of 2nd post body testing recent this is the recent post done for testing testing recent this is the recent post done for testing
Read More

Here is the very first post from My Empty Mind

October 28, 2017 0
This is just for testing if everything is working fine.



end of image                                                                           and the blog             

2nd pic

end
Read More