Monthly Archives: June 2013

Linux Kernel Tuning for C500k

Like the idea of working on large scale problems? We’re hiring talented engineers, and would love to chat with you – check it out! Note: Concurrency, as defined in this article, is the same as it is for The C10k problem: concurrent … Continue reading

Posted in Linux | Leave a comment

JVM GC 모니터링 방법

jstat은 HotSpot JVM에 있는 모니터링 도구이다. jstat 이외에 HotSpot JVM 모니터링 도구로는 jps와 jstatd가 있다. Java 애플리케이션을 모니터링할 때에는 이 세 개의 도구를 모두 사용해야 할 경우도 있다. jstat은 GC 수행 정보를 보는 기능만 제공하지는 않는다. 클래스로더 수행 정보나 Just-in-Time … Continue reading

Posted in Java | Leave a comment

JVM GC G1 Tunning Options

Garbage First (G1) Garbage Collection Options Option and Default Value Description -XX:+UseG1GC Use the Garbage First (G1) Collector -XX:MaxGCPauseMillis=n Sets a target for the maximum GC pause time. This is a soft goal, and the JVM will make its best … Continue reading

Posted in Java | Leave a comment

JNI 샘플

Passing Strings from C to Java through a StringBuffer, Accessor Methods C code: Using JNI: Passing Strings from Java to C, with Localization The 1.0 old way was to use the call: javaString2CString(javaStr,cStr,sizeof(cStr)); Now we have two options: Use the … Continue reading

Posted in Java | 1 Comment