Java Notes
In JDK5, Annotation is introduced. Annotation just simplify programming, not for performance raising
DD(deployment description) over Annotation
CoC, Convention over Configuration
DRY, Don’t Repeat Yourself
heap size vs. GC
- big heap size : GC less frequent, slower(a lot of memory to search through)
- small: GC more frequent, fast
- ArrayList.toArray(new xxx[0]), The parameter can be an array of zero length corresponding to the Java object.
All articles on this blog are licensed under CC BY-NC-SA 4.0 unless otherwise stated.
评论