Friday, May 17, 2013

Java GC

http://www.cubrid.org/blog/dev-platform/understanding-java-garbage-collection/#stop-the-world

  • Stop-the-world : Pauses all active threads to perform garbage collection.
  • GC tuning often means reducing this stop-the-world time
  • Some people sets the relevant object to null or use System.gc() method to remove the memory explicitly. Setting it to null is not a big deal, but calling System.gc() method will affect the system performance drastically, and must not be carried out. 
  • This garbage collector was created based on the following two hypotheses. (It is more correct to call them suppositions or preconditions, rather than hypotheses.) 
  • These hypotheses are called the weak generational hypothesis. So in order to preserve the strengths of this hypothesis, it is physically divided into two - young generation and old generation - in HotSpot VM.
  • Young generation: Most of the newly created objects are located here. Since most objects soon become unreachable, many objects are created in the young generation, then disappear. When objects disappear from this area, we say a "minor GC" has occurred.
    Old generation: The objects that did not become unreachable and survived from the young generation are copied here. It is generally larger than the young generation. As it is bigger in size, the GC occurs less frequently than in the young generation. When objects disappear from the old generation, we say a "major GC" (or a "full GC") has occurred.
     

Wednesday, August 29, 2012

Whats up cloud?

I came across code hosting and automation hosting in web, a little bit of churn on this.
Could not really make sense and apply to what i am doing, but want to mark it.

Netflix and github hostings.
https://github.com/netflix

Complete Automation Hostings
http://puppetlabs.com/solutions/



Friday, February 17, 2012

Dynamic Network Topology Drawing - using Java

Collecting Java 2D, 3D, topology ,drawing tools for complex user interaction - By BeeYeas [ Lead Design Network Architect ]

Network topology / BPEL, free library

My best and top rated library free : http://www.cytoscape.org/
Effiicient and needs lots more better model and layout algo : http://jung.sourceforge.net/
Good and its free : http://prefuse.org/
The most fundamentals for graph drawing or topology map : http://graphml.graphdrawing.org/

New ,excellent, documented, workable, cost speak the quality : yFiles by yWorks gmbh : http://www.yworks.com/en/products_yfiles_about.html

Misc :
http://geosoft.no/
http://code.google.com/javadevtools/wbpro/palettes/swing_palette.html
http://www.formdev.com/jformdesigner/doc/ides/eclipse/
http://findicons.com/