├── .gitignore ├── LICENSE ├── README.md ├── presentation └── java-profiling.pdf └── src ├── demo1 ├── StringBuilderTest.java └── profile.html ├── demo10 ├── FileTest.java ├── GetImage.java ├── malloc.html ├── mmap.html ├── mprotect.html └── page-cache.html ├── demo11 ├── ClassAnalyzer.java └── npe.html ├── demo12 ├── Cache.java ├── CacheTest.java └── profile.jfr ├── demo13 ├── Hello.java ├── alloc-cstack.html └── alloc.html ├── demo14 ├── cstack_fp.png └── cstack_lbr.png ├── demo15 └── humongous_obj_allocate.html ├── demo16 ├── SortTest.java └── ttsp.html ├── demo17 ├── MultiArray.java ├── newArray.html └── newLoop.html ├── demo18 ├── BackgroundThread.java ├── ContextSwitches.java ├── TimeUtils.java └── context-switches.html ├── demo19 ├── cpu.html ├── deopt.html ├── exc.cpp └── throwable.html ├── demo2 ├── BusyClient.java ├── IdleClient.java ├── SocketTest.java ├── profile.html └── wrong-profile.png ├── demo3 ├── Blackhole.java ├── FileReader.java ├── NanoTime.java ├── filereader-31m.html ├── filereader-32m.html ├── nanotime-hpet.html └── nanotime-tsc.html ├── demo4 ├── Numbers.java ├── Suppliers.java ├── numbers.html └── suppliers.html ├── demo5 ├── cpu.html └── wall.html ├── demo6 ├── DatagramTest.java ├── OneNioTest.java ├── cpu-bad.html ├── cpu-good.html └── lock.html ├── demo7 ├── MapGenerator.java ├── MapReader.java ├── MapReader2.java ├── MapReader3.java ├── MapReader4.java ├── alloc1.html ├── alloc2.html ├── alloc3.html └── alloc4.html ├── demo8 ├── FileConverter.java ├── FileConverter2.java ├── FileConverter3.java ├── profile2.html └── profile3.html ├── demo9 ├── Dictionary.java ├── cache-misses.html └── cpu.html └── one ├── classfile ├── Annotation.java ├── Attributes.java ├── ClassFile.java ├── Code.java ├── ConstantPool.java ├── Member.java ├── Ref.java ├── Ref2.java └── Signature.java └── classpath ├── ClassFileLoader.java ├── ClassPathScanner.java ├── JarLoader.java └── PathLoader.java /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apangin/java-profiling-presentation/HEAD/.gitignore -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apangin/java-profiling-presentation/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apangin/java-profiling-presentation/HEAD/README.md -------------------------------------------------------------------------------- /presentation/java-profiling.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apangin/java-profiling-presentation/HEAD/presentation/java-profiling.pdf -------------------------------------------------------------------------------- /src/demo1/StringBuilderTest.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apangin/java-profiling-presentation/HEAD/src/demo1/StringBuilderTest.java -------------------------------------------------------------------------------- /src/demo1/profile.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apangin/java-profiling-presentation/HEAD/src/demo1/profile.html -------------------------------------------------------------------------------- /src/demo10/FileTest.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apangin/java-profiling-presentation/HEAD/src/demo10/FileTest.java -------------------------------------------------------------------------------- /src/demo10/GetImage.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apangin/java-profiling-presentation/HEAD/src/demo10/GetImage.java -------------------------------------------------------------------------------- /src/demo10/malloc.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apangin/java-profiling-presentation/HEAD/src/demo10/malloc.html -------------------------------------------------------------------------------- /src/demo10/mmap.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apangin/java-profiling-presentation/HEAD/src/demo10/mmap.html -------------------------------------------------------------------------------- /src/demo10/mprotect.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apangin/java-profiling-presentation/HEAD/src/demo10/mprotect.html -------------------------------------------------------------------------------- /src/demo10/page-cache.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apangin/java-profiling-presentation/HEAD/src/demo10/page-cache.html -------------------------------------------------------------------------------- /src/demo11/ClassAnalyzer.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apangin/java-profiling-presentation/HEAD/src/demo11/ClassAnalyzer.java -------------------------------------------------------------------------------- /src/demo11/npe.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apangin/java-profiling-presentation/HEAD/src/demo11/npe.html -------------------------------------------------------------------------------- /src/demo12/Cache.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apangin/java-profiling-presentation/HEAD/src/demo12/Cache.java -------------------------------------------------------------------------------- /src/demo12/CacheTest.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apangin/java-profiling-presentation/HEAD/src/demo12/CacheTest.java -------------------------------------------------------------------------------- /src/demo12/profile.jfr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apangin/java-profiling-presentation/HEAD/src/demo12/profile.jfr -------------------------------------------------------------------------------- /src/demo13/Hello.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apangin/java-profiling-presentation/HEAD/src/demo13/Hello.java -------------------------------------------------------------------------------- /src/demo13/alloc-cstack.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apangin/java-profiling-presentation/HEAD/src/demo13/alloc-cstack.html -------------------------------------------------------------------------------- /src/demo13/alloc.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apangin/java-profiling-presentation/HEAD/src/demo13/alloc.html -------------------------------------------------------------------------------- /src/demo14/cstack_fp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apangin/java-profiling-presentation/HEAD/src/demo14/cstack_fp.png -------------------------------------------------------------------------------- /src/demo14/cstack_lbr.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apangin/java-profiling-presentation/HEAD/src/demo14/cstack_lbr.png -------------------------------------------------------------------------------- /src/demo15/humongous_obj_allocate.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apangin/java-profiling-presentation/HEAD/src/demo15/humongous_obj_allocate.html -------------------------------------------------------------------------------- /src/demo16/SortTest.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apangin/java-profiling-presentation/HEAD/src/demo16/SortTest.java -------------------------------------------------------------------------------- /src/demo16/ttsp.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apangin/java-profiling-presentation/HEAD/src/demo16/ttsp.html -------------------------------------------------------------------------------- /src/demo17/MultiArray.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apangin/java-profiling-presentation/HEAD/src/demo17/MultiArray.java -------------------------------------------------------------------------------- /src/demo17/newArray.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apangin/java-profiling-presentation/HEAD/src/demo17/newArray.html -------------------------------------------------------------------------------- /src/demo17/newLoop.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apangin/java-profiling-presentation/HEAD/src/demo17/newLoop.html -------------------------------------------------------------------------------- /src/demo18/BackgroundThread.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apangin/java-profiling-presentation/HEAD/src/demo18/BackgroundThread.java -------------------------------------------------------------------------------- /src/demo18/ContextSwitches.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apangin/java-profiling-presentation/HEAD/src/demo18/ContextSwitches.java -------------------------------------------------------------------------------- /src/demo18/TimeUtils.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apangin/java-profiling-presentation/HEAD/src/demo18/TimeUtils.java -------------------------------------------------------------------------------- /src/demo18/context-switches.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apangin/java-profiling-presentation/HEAD/src/demo18/context-switches.html -------------------------------------------------------------------------------- /src/demo19/cpu.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apangin/java-profiling-presentation/HEAD/src/demo19/cpu.html -------------------------------------------------------------------------------- /src/demo19/deopt.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apangin/java-profiling-presentation/HEAD/src/demo19/deopt.html -------------------------------------------------------------------------------- /src/demo19/exc.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apangin/java-profiling-presentation/HEAD/src/demo19/exc.cpp -------------------------------------------------------------------------------- /src/demo19/throwable.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apangin/java-profiling-presentation/HEAD/src/demo19/throwable.html -------------------------------------------------------------------------------- /src/demo2/BusyClient.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apangin/java-profiling-presentation/HEAD/src/demo2/BusyClient.java -------------------------------------------------------------------------------- /src/demo2/IdleClient.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apangin/java-profiling-presentation/HEAD/src/demo2/IdleClient.java -------------------------------------------------------------------------------- /src/demo2/SocketTest.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apangin/java-profiling-presentation/HEAD/src/demo2/SocketTest.java -------------------------------------------------------------------------------- /src/demo2/profile.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apangin/java-profiling-presentation/HEAD/src/demo2/profile.html -------------------------------------------------------------------------------- /src/demo2/wrong-profile.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apangin/java-profiling-presentation/HEAD/src/demo2/wrong-profile.png -------------------------------------------------------------------------------- /src/demo3/Blackhole.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apangin/java-profiling-presentation/HEAD/src/demo3/Blackhole.java -------------------------------------------------------------------------------- /src/demo3/FileReader.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apangin/java-profiling-presentation/HEAD/src/demo3/FileReader.java -------------------------------------------------------------------------------- /src/demo3/NanoTime.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apangin/java-profiling-presentation/HEAD/src/demo3/NanoTime.java -------------------------------------------------------------------------------- /src/demo3/filereader-31m.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apangin/java-profiling-presentation/HEAD/src/demo3/filereader-31m.html -------------------------------------------------------------------------------- /src/demo3/filereader-32m.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apangin/java-profiling-presentation/HEAD/src/demo3/filereader-32m.html -------------------------------------------------------------------------------- /src/demo3/nanotime-hpet.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apangin/java-profiling-presentation/HEAD/src/demo3/nanotime-hpet.html -------------------------------------------------------------------------------- /src/demo3/nanotime-tsc.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apangin/java-profiling-presentation/HEAD/src/demo3/nanotime-tsc.html -------------------------------------------------------------------------------- /src/demo4/Numbers.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apangin/java-profiling-presentation/HEAD/src/demo4/Numbers.java -------------------------------------------------------------------------------- /src/demo4/Suppliers.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apangin/java-profiling-presentation/HEAD/src/demo4/Suppliers.java -------------------------------------------------------------------------------- /src/demo4/numbers.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apangin/java-profiling-presentation/HEAD/src/demo4/numbers.html -------------------------------------------------------------------------------- /src/demo4/suppliers.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apangin/java-profiling-presentation/HEAD/src/demo4/suppliers.html -------------------------------------------------------------------------------- /src/demo5/cpu.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apangin/java-profiling-presentation/HEAD/src/demo5/cpu.html -------------------------------------------------------------------------------- /src/demo5/wall.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apangin/java-profiling-presentation/HEAD/src/demo5/wall.html -------------------------------------------------------------------------------- /src/demo6/DatagramTest.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apangin/java-profiling-presentation/HEAD/src/demo6/DatagramTest.java -------------------------------------------------------------------------------- /src/demo6/OneNioTest.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apangin/java-profiling-presentation/HEAD/src/demo6/OneNioTest.java -------------------------------------------------------------------------------- /src/demo6/cpu-bad.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apangin/java-profiling-presentation/HEAD/src/demo6/cpu-bad.html -------------------------------------------------------------------------------- /src/demo6/cpu-good.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apangin/java-profiling-presentation/HEAD/src/demo6/cpu-good.html -------------------------------------------------------------------------------- /src/demo6/lock.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apangin/java-profiling-presentation/HEAD/src/demo6/lock.html -------------------------------------------------------------------------------- /src/demo7/MapGenerator.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apangin/java-profiling-presentation/HEAD/src/demo7/MapGenerator.java -------------------------------------------------------------------------------- /src/demo7/MapReader.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apangin/java-profiling-presentation/HEAD/src/demo7/MapReader.java -------------------------------------------------------------------------------- /src/demo7/MapReader2.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apangin/java-profiling-presentation/HEAD/src/demo7/MapReader2.java -------------------------------------------------------------------------------- /src/demo7/MapReader3.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apangin/java-profiling-presentation/HEAD/src/demo7/MapReader3.java -------------------------------------------------------------------------------- /src/demo7/MapReader4.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apangin/java-profiling-presentation/HEAD/src/demo7/MapReader4.java -------------------------------------------------------------------------------- /src/demo7/alloc1.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apangin/java-profiling-presentation/HEAD/src/demo7/alloc1.html -------------------------------------------------------------------------------- /src/demo7/alloc2.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apangin/java-profiling-presentation/HEAD/src/demo7/alloc2.html -------------------------------------------------------------------------------- /src/demo7/alloc3.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apangin/java-profiling-presentation/HEAD/src/demo7/alloc3.html -------------------------------------------------------------------------------- /src/demo7/alloc4.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apangin/java-profiling-presentation/HEAD/src/demo7/alloc4.html -------------------------------------------------------------------------------- /src/demo8/FileConverter.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apangin/java-profiling-presentation/HEAD/src/demo8/FileConverter.java -------------------------------------------------------------------------------- /src/demo8/FileConverter2.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apangin/java-profiling-presentation/HEAD/src/demo8/FileConverter2.java -------------------------------------------------------------------------------- /src/demo8/FileConverter3.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apangin/java-profiling-presentation/HEAD/src/demo8/FileConverter3.java -------------------------------------------------------------------------------- /src/demo8/profile2.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apangin/java-profiling-presentation/HEAD/src/demo8/profile2.html -------------------------------------------------------------------------------- /src/demo8/profile3.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apangin/java-profiling-presentation/HEAD/src/demo8/profile3.html -------------------------------------------------------------------------------- /src/demo9/Dictionary.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apangin/java-profiling-presentation/HEAD/src/demo9/Dictionary.java -------------------------------------------------------------------------------- /src/demo9/cache-misses.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apangin/java-profiling-presentation/HEAD/src/demo9/cache-misses.html -------------------------------------------------------------------------------- /src/demo9/cpu.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apangin/java-profiling-presentation/HEAD/src/demo9/cpu.html -------------------------------------------------------------------------------- /src/one/classfile/Annotation.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apangin/java-profiling-presentation/HEAD/src/one/classfile/Annotation.java -------------------------------------------------------------------------------- /src/one/classfile/Attributes.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apangin/java-profiling-presentation/HEAD/src/one/classfile/Attributes.java -------------------------------------------------------------------------------- /src/one/classfile/ClassFile.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apangin/java-profiling-presentation/HEAD/src/one/classfile/ClassFile.java -------------------------------------------------------------------------------- /src/one/classfile/Code.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apangin/java-profiling-presentation/HEAD/src/one/classfile/Code.java -------------------------------------------------------------------------------- /src/one/classfile/ConstantPool.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apangin/java-profiling-presentation/HEAD/src/one/classfile/ConstantPool.java -------------------------------------------------------------------------------- /src/one/classfile/Member.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apangin/java-profiling-presentation/HEAD/src/one/classfile/Member.java -------------------------------------------------------------------------------- /src/one/classfile/Ref.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apangin/java-profiling-presentation/HEAD/src/one/classfile/Ref.java -------------------------------------------------------------------------------- /src/one/classfile/Ref2.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apangin/java-profiling-presentation/HEAD/src/one/classfile/Ref2.java -------------------------------------------------------------------------------- /src/one/classfile/Signature.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apangin/java-profiling-presentation/HEAD/src/one/classfile/Signature.java -------------------------------------------------------------------------------- /src/one/classpath/ClassFileLoader.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apangin/java-profiling-presentation/HEAD/src/one/classpath/ClassFileLoader.java -------------------------------------------------------------------------------- /src/one/classpath/ClassPathScanner.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apangin/java-profiling-presentation/HEAD/src/one/classpath/ClassPathScanner.java -------------------------------------------------------------------------------- /src/one/classpath/JarLoader.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apangin/java-profiling-presentation/HEAD/src/one/classpath/JarLoader.java -------------------------------------------------------------------------------- /src/one/classpath/PathLoader.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apangin/java-profiling-presentation/HEAD/src/one/classpath/PathLoader.java --------------------------------------------------------------------------------