아래 링크의 정리 및 요약입니다. https://www.yegor256.com/2015/05/07/ctors-must-be-code-free.html Constructors Must Be Code-Free It is a bad idea to put executing statements into class constructors because that leads to side effects and uncontrollable behavior. www.yegor256.com 생성자는 반드시 코드가 없어야 한다. public final class EnglishName implements Name { private final String name; public EnglishName(final CharSequenc..
https://www.yegor256.com/2015/02/26/composable-decorators.html Composable Decorators vs. Imperative Utility Methods A decorator pattern, while being the best instrument to keep objects highly cohesive, solid, and loosely coupled, is unfortunately not very popular in traditional Java programming. www.yegor256.com composable decorators라는 이름이 흥미롭다. decorators들을 composable로 사용 할 수 있게 하는 패턴이다. impera..
https://blog.codecentric.de/en/2014/02/35gb-heap-less-32gb-java-jvm-memory-oddities/ 1. JVM 사용시 Heap에 32GB 이상 할당 하지 말라. 2. 32bit 시스템에서는 Object 할당을 4GB 안에서 하지만 64bit 시스템에서는 2^64-1 byte, 18.5 Exabyte에서 할당 할 수 있다. 3. 메모리 주소값이 너무 큰만큼 Object 할당 및 계산에 비효율이 발생 4. 그래서 만든것이 CompressedOops자세한건 여기서 참고 하시라 (https://wiki.openjdk.java.net/display/HotSpot/CompressedOops) 5. 동작 원리는 메모리 영역중 일부는 사용하지 않고 8byte 스키마..
- Total
- Today
- Yesterday
- Dynamodb
- authentication
- Consumer
- CompressedOops
- oops
- DESIGN
- Kafka
- AWS
- Java
- GC
- OOP
- shenandoah
- ranking
- SSL
- Certificate Chain
- Intermediate Certificate
- kerberos
- JVM
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 | 29 |
30 | 31 |