1 / 8

HOL10194: Using Dtrace to Troubleshoot Java Native Memory Problems on Solaris 11

HOL10194: Using Dtrace to Troubleshoot Java Native Memory Problems on Solaris 11. Yu Wang Principal Software Engineer Wensheng (Vincent) Liu Senior Software Engineer Gang (Gary) Wang Software Development Manager. About Java Memory Leaks. Java applications do use native memory

elroy
Download Presentation

HOL10194: Using Dtrace to Troubleshoot Java Native Memory Problems on Solaris 11

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. HOL10194: Using Dtrace to Troubleshoot Java Native Memory Problems on Solaris 11 Yu WangPrincipal Software Engineer Wensheng (Vincent) Liu Senior Software Engineer Gang (Gary) Wang Software Development Manager

  2. About Java Memory Leaks • Java applications do use native memory • e.g. JNI, threads stack … • Lack of tools to monitor native memory usage

  3. What will we do in HOL10194? Use DTrace to observe Java applications at user and kernel level #!/usr/sbin/dtrace -qs /* Interpreter, like perl, python and bash etc */ syscall::read:entry /* Where */ /execname == "java"/ /* When */ { printf("java application is calling read system call \n"); /*Do what*/ } D script is the interface for us to interact with DTrace.

  4. Lab Introduction Duration: about 150mins • Exercise 0: Installation and Configuration (done) • Exercise 1: Introduction to DTrace (30mins) • Exercise 2: Identifying and Solving "Inflater/Deflater Memory Leak" Problems (30mins) • Exercise 3: Identifying and Solving "Cannot Create Native Threads" Problems (40mins) • Exercise 4: Identifying and Solving "DirectBuffer Memory Leak" Problems (40mins)

  5. Logistics • HOL10194 OS: Solaris 11.1 • Username/Password: ouser/Oracle01 • Username/Password: root/Oracle01 • Any questions, please contact with: • Yu Wang, yu.y.wang@oracle.com • Wen-sheng (Vincent) Liu, wen-­sheng.liu@oracle.com • Gang (Gary) Wang, wang.gary@oracle.com

More Related