Java2 Java GC 가비지 컬렉션 과정 - Generational Garbage Collection GC에 대해서 알아보기 전에 알아야 할 용어가 있다. 바로 'stop-the-world'이다. stop-the-world란, GC을 실행하기 위해 JVM이 애플리케이션 실행을 멈추는 것이다. stop-the-world가 발생하면 GC를 실행하는 쓰레드를 제외한 나머지 쓰레드는 모두 작업을 멈춘다. GC 작업을 완료한 이후에야 중단했던 작업을 다시 시작한다. 어떤 GC 알고리즘을 사용하더라도 stop-the-world는 발생한다. 대개의 경우 GC 튜닝이란 이 stop-the-world 시간을 줄이는 것이다. Java는 프로그램 코드에서 메모리를 명시적으로 지정하여 해제하지 않는다. 가끔 명시적으로 해제하려고 해당 객체를 nu.. 2022. 5. 10. random, urandom, entropy pool IBM Java를 사용하는 서버에서 random 함수를 사용하는 암호화 기능에 속도 저하 이슈가 있어 찾아본 정보 Overview Entropy pool Monitoring entropy Using /dev/urandom CONFIG_JVM_ARGS setDomainEnv.sh JRE – java.security rngd daemon Additional information Entropy pool In computing you often need random numbers. They are used for encrypting stuff but also for lots of other things. For Linux servers random numbers are default provided by the.. 2022. 3. 10. 이전 1 다음