SlideShare a Scribd company logo
Zing Vision
Answering your toughest production
Java performance questions
Outline
• What is Zing Vision?
• Where does Zing Vision fit in your Java environment?
• Key features

• How it works
• Using ZVRobot
• Q&A

©2014 Azul Systems Inc.

2
What is Zing Vision?
• Zing Vision is a browser-based, visual window into the Zing VM
– Hyperlinked display provides drill-down to root cause
– Both JVM internal and Java program information
– No additional performance overhead
– Nothing special to install or configure
– Easy to get started as a user

– ZVRobot collects and stores monitoring data
• Collected data is same as ZVision!

©2014 Azul Systems Inc.

3
Example Zing Vision deployment

HTTP

Linux host
Zing Vision
(Web browser)

zvision server
HTTP

Zing VM

©2014 Azul Systems Inc.

4
Fitting in: Production focus
• Most tools suitable for developers, but too ‘heavy’ for production
•
•
•
•

Use JVMTI (JVM Tools Interface) and BCI (Byte Code Instrumentation)
High overhead, so must be used carefully in production
May require configuration to lower the overhead
Not practical for Operations teams

• Zing Vision is designed for safe use on production systems
• Ideal diagnostic tool to use when you know you have a problem in
production (“a flashlight in a dark place”)
• Integrated with the JVM, so it won’t add overhead or perturb the running
Java program
• It’s meant to be used - click on items in the web UI to explore!

©2014 Azul Systems Inc.

5
Key features
• Tick profiler
• Thread-level views
• Lock contention view

• Garbage collection views
• Java heap object views
– Live objects
– Object types that increase in number as application runs

©2014 Azul Systems Inc.

6
Tick Profiler: Find “hot” code
• Goal: Determine what code is hot (consuming most CPU time)
• Approach used by other profiling tools:
– Method tracing
– Byte code instrumentation – heavy weight
– Solution: Profile only a user-selected portion of the application
– Drawback: You need to know the location in the code where the
performance bottleneck occurs to select the area of the code to profile!

©2014 Azul Systems Inc.

7
Tick Profiler: Find “hot” code
Zing Vision uses runtime thread sampling:
• Fast snapshots of the code running in executing Java threads
• Identifies where the work is done in the application
• Lightweight, low overhead
– Always on
– Even when you’re not looking at the generated metrics

• Instruction-level granularity
– JVM internal threads, too!
• Detailed information about the entire process
– Interpretation sometimes requires understanding of the JVM runtime

©2014 Azul Systems Inc.

8
Tick Profiler: How it works
1. Thread registers SIG61 signal handler with kernel at
intervals 1 ms (1000 times per second, configurable)
2. Thread runs
3. Kernel delivers SIG61
4. Thread is interrupted on its normal stack
5. Signal handler runs, creates a new (youngest) profile

Youngest profile added

6. Zing Vision aggregates all of
the profiles on the belt in the
Timer Tick Profile view

Oldest profile drops off… (into the trash)

Tick profile conveyor belt has a fixed number of positions for profiles.
Note that the conveyor belt only moves when a new profile is added!
This means Zing Vision always shows the most recent data.
©2014 Azul Systems Inc.

9
Tick Profiler: Where is work done?

©2014 Azul Systems Inc.

10
Tick Profiler: Where is work done?

Collection controllers
Filters

Select link to see details

©2014 Azul Systems Inc.

11
Tick Profiler: Work at instruction level

Callee | Caller
Ticks for each instruction

©2014 Azul Systems Inc.

C2 compiled JDK and
application code

12
Tick Profiler: How did I get here?

©2014 Azul Systems Inc.

13
Tick Profiler: How did I get here?
Sorted based on highest CPU consumers
0 com.sun.tools.javac.util.Name.fromUtf

Top of stack

Top of stack

©2014 Azul Systems Inc.

14
Thread-level questions
• What threads are executing my application?
• What are the housekeeping threads for the JVM?
• Can I examine a thread object?

• What are the threads doing?
– Profiling information
– Stack traces

• Where is my application stalled?

©2014 Azul Systems Inc.

15
Thread-level views: Standard method
Thread number: 1 2 3

4 5

Request thread stacks (kill -3)
Some threads blocked – NO work done
Thread 3 continues to run!

Time

Last thread stopped
O(numThreads) delay  application visible work stoppage
Resume threads

©2014 Azul Systems Inc.

16
Thread-level views: Zing Vision method
Thread number: 1 2 3

4 5

Request thread stacks (ZVision)
Each thread:
1. Stopped individually
2. Delay order is O(1)

Time

No thread waits for any other thread to stop!
The application never perceives a work
stoppage because N-1 threads continue to
run at all times
Resume each thread seamlessly

Pro: Safe to use in production (guilt-free clicking)
Con: Not 100% consistent (especially for lock data)
©2014 Azul Systems Inc.

17
Thread-level view: Application threads

Filters and control
Select link to
see stack
Individual
thread stack
trace and
tick profile
access
©2014 Azul Systems Inc.

18
Thread-level view: Thread stack trace

Thread CPU time consumed
Stack frames
Select link to see details

©2014 Azul Systems Inc.

19
Thread-level view: Thread object details

Values of the object’s fields

©2014 Azul Systems Inc.

20
Thread-level view: Application threads

Filters and control
Select link to
see profile
Individual
thread stack
trace and
tick profile
access
©2014 Azul Systems Inc.

21
Thread-level: Where is the work done?

Thread 8120

©2014 Azul Systems Inc.

22
Lock contention: Where is my app stalled?

Lock acquisition
Total and Max times Blocking count
Select link to
see details

©2014 Azul Systems Inc.

23
Lock contention: Where is my app stalled?

How did I get to the contended lock in my code?

Summary metrics

©2014 Azul Systems Inc.

24
Memory: Answering your questions
• What’s the collector doing?
• How much memory is the application using?
• What type of objects are in the heap?
– What’s keeping those objects live?

• What object types are increasing in number?

©2014 Azul Systems Inc.

25
Memory: Resource use summary

Java heap overview

Process Zing memory use

Linux memory
©2014 Azul Systems Inc.

26
Memory: Collection details

Collection details
©2014 Azul Systems Inc.

27
Memory: Collection details summary

Detailed
summary
calculating
metric
averages

©2014 Azul Systems Inc.

28
Memory: What objects are in the heap?

Objects in Old Generation

Default sorting:
Sum of size of each
object of that type

Expand to see
types with
references to
objects of that type
©2014 Azul Systems Inc.

29
Memory: Which object type is growing?

Object types with increasing memory
consumption in the Old Generation
Selectable time interval

Growth
rate

©2014 Azul Systems Inc.

30
Example ZVRobot deployment

Linux host

Linux host
Write a file for each Zing Vision web page at
each sample period (for example, every 1
minute) into a directory

ZVRobot

HTTP

Zing VM

Use a web browser to look at the saved snapshot files anytime after
program has run or even during collection
©2014 Azul Systems Inc.

31
How to Try Zing Vision - Free
• Request a trial copy of Zing http://www.azulsystems.com/trial
• Download and run Azul Inspector to check your system
• Download and install Zing
– Zing Vision and ZVRobot are included

• Run your application
• Observe your application and the JVM’s activity using Zing Vision

©2014 Azul Systems Inc.

32
Questions?
Zing Vision – providing answers to your Java performance questions
• Tick profiler

• Thread-level views
• Lock contention view
• Garbage collection views
• Java heap object views
• Live objects
• Object types that increase in number as application runs

©2014 Azul Systems Inc.

33

More Related Content

PPT
Introduction to the intermediate Python - v1.1
PPTX
Python Raster Function - Esri Developer Conference - 2015
PPTX
Combining R With Java For Data Analysis (Devoxx UK 2015 Session)
PPTX
Anomaly Detection with Azure and .NET
PPTX
Creating Havoc using Human Interface Device
PPTX
Developing in the Cloud
PDF
Security DevOps: Wie Sie in agilen Projekten trotzdem sicher bleiben // JAX 2015
PPTX
Using the big guns: Advanced OS performance tools for troubleshooting databas...
Introduction to the intermediate Python - v1.1
Python Raster Function - Esri Developer Conference - 2015
Combining R With Java For Data Analysis (Devoxx UK 2015 Session)
Anomaly Detection with Azure and .NET
Creating Havoc using Human Interface Device
Developing in the Cloud
Security DevOps: Wie Sie in agilen Projekten trotzdem sicher bleiben // JAX 2015
Using the big guns: Advanced OS performance tools for troubleshooting databas...

What's hot (20)

PDF
Erlang factory SF 2011 "Erlang and the big switch in social games"
PDF
Q con shanghai2013-[黄舒泉]-[intel it openstack practice]
PPTX
Kubernetes at NU.nl (Kubernetes meetup 2019-09-05)
PDF
Scaling software with akka
PDF
Tech io nodejs_20130531_v0.6
PDF
Combining the strength of erlang and Ruby
PPTX
Hybrid Mobile Development with Apache Cordova and
PDF
Liberty: The Right Fit for Micro Profile?
PDF
Java Application Servers Are Dead!
PPTX
Migrating to Java 11
PDF
DevNexus 2019: Migrating to Java 11
PPTX
An Introduction to PowerShell for Security Assessments
PPTX
Real world Scala hAkking NLJUG JFall 2011
PPTX
Threading model in windows store apps
PPTX
Splunk Java Agent
PDF
DCSF19 Container Security: Theory & Practice at Netflix
PPTX
Why Play Framework is fast
PPTX
Testability for developers – Fighting a mess by making it testable
PDF
Automated Exploratory Testing
PDF
Attack-driven defense
Erlang factory SF 2011 "Erlang and the big switch in social games"
Q con shanghai2013-[黄舒泉]-[intel it openstack practice]
Kubernetes at NU.nl (Kubernetes meetup 2019-09-05)
Scaling software with akka
Tech io nodejs_20130531_v0.6
Combining the strength of erlang and Ruby
Hybrid Mobile Development with Apache Cordova and
Liberty: The Right Fit for Micro Profile?
Java Application Servers Are Dead!
Migrating to Java 11
DevNexus 2019: Migrating to Java 11
An Introduction to PowerShell for Security Assessments
Real world Scala hAkking NLJUG JFall 2011
Threading model in windows store apps
Splunk Java Agent
DCSF19 Container Security: Theory & Practice at Netflix
Why Play Framework is fast
Testability for developers – Fighting a mess by making it testable
Automated Exploratory Testing
Attack-driven defense
Ad

Viewers also liked (15)

PDF
Experiences with Debugging Data Races
PDF
How NOT to Write a Microbenchmark
PDF
Towards a Scalable Non-Blocking Coding Style
PDF
ObjectLayout: Closing the (last?) inherent C vs. Java speed gap
PDF
What's New in the JVM in Java 8?
PDF
Priming Java for Speed at Market Open
PPT
Speculative Locking: Breaking the Scale Barrier (JAOO 2005)
PDF
The Java Evolution Mismatch - Why You Need a Better JVM
PPTX
Start Fast and Stay Fast - Priming Java for Market Open with ReadyNow!
PDF
Lock-Free, Wait-Free Hash Table
PDF
DotCMS Bootcamp: Enabling Java in Latency Sensitivie Environments
PDF
What's Inside a JVM?
PPTX
Zulu Embedded Java Introduction
PDF
Java vs. C/C++
PPTX
C++vs java
Experiences with Debugging Data Races
How NOT to Write a Microbenchmark
Towards a Scalable Non-Blocking Coding Style
ObjectLayout: Closing the (last?) inherent C vs. Java speed gap
What's New in the JVM in Java 8?
Priming Java for Speed at Market Open
Speculative Locking: Breaking the Scale Barrier (JAOO 2005)
The Java Evolution Mismatch - Why You Need a Better JVM
Start Fast and Stay Fast - Priming Java for Market Open with ReadyNow!
Lock-Free, Wait-Free Hash Table
DotCMS Bootcamp: Enabling Java in Latency Sensitivie Environments
What's Inside a JVM?
Zulu Embedded Java Introduction
Java vs. C/C++
C++vs java
Ad

Similar to Webinar: Zing Vision: Answering your toughest production Java performance questions (20)

PDF
TechGIG_Memory leaks in_java_webnair_26th_july_2012
PPTX
Mobile Application Development- Configuration and Android Installation
PDF
Explore Android Internals
PDF
Visual Studio Profiler
PDF
The Diabolical Developers Guide to Performance Tuning
PDF
Introduction to-automated-testing
PDF
Introduction to Automated Testing
PPT
Android OS
PPTX
Diagnosing issues in your ASP.NET applications in production with Visual Stud...
PPTX
mobile development with androiddfdgdfhdgfdhf.pptx
PDF
"Using Automation Tools To Deploy And Operate Applications In Real World Scen...
PDF
"Using Automation Tools To Deploy And Operate Applications In Real World Scen...
PDF
"You Don't Know NODE.JS" by Hengki Mardongan Sihombing (Urbanhire)
PDF
we45 DEFCON Workshop - Building AppSec Automation with Python
PPTX
Time Series Anomaly Detection with Azure and .NETT
PPTX
Manage your devices with Azure IoT...and more
PPTX
Aspect j introduction for non-programmers
PDF
"Automated Malware Analysis" de Gabriel Negreira Barbosa, Malware Research an...
PDF
Introduction to the IBM Java Tools
PPTX
Writing better code: How the Netbeans IDE Helps you Write, Test and Debug Java
TechGIG_Memory leaks in_java_webnair_26th_july_2012
Mobile Application Development- Configuration and Android Installation
Explore Android Internals
Visual Studio Profiler
The Diabolical Developers Guide to Performance Tuning
Introduction to-automated-testing
Introduction to Automated Testing
Android OS
Diagnosing issues in your ASP.NET applications in production with Visual Stud...
mobile development with androiddfdgdfhdgfdhf.pptx
"Using Automation Tools To Deploy And Operate Applications In Real World Scen...
"Using Automation Tools To Deploy And Operate Applications In Real World Scen...
"You Don't Know NODE.JS" by Hengki Mardongan Sihombing (Urbanhire)
we45 DEFCON Workshop - Building AppSec Automation with Python
Time Series Anomaly Detection with Azure and .NETT
Manage your devices with Azure IoT...and more
Aspect j introduction for non-programmers
"Automated Malware Analysis" de Gabriel Negreira Barbosa, Malware Research an...
Introduction to the IBM Java Tools
Writing better code: How the Netbeans IDE Helps you Write, Test and Debug Java

More from Azul Systems Inc. (16)

PDF
Advancements ingc andc4overview_linkedin_oct2017
PDF
Understanding GC, JavaOne 2017
PDF
Azul Systems open source guide
PDF
Intelligent Trading Summit NY 2014: Understanding Latency: Key Lessons and Tools
PDF
Understanding Java Garbage Collection
PDF
The evolution of OpenJDK: From Java's beginnings to 2014
PDF
Push Technology's latest data distribution benchmark with Solarflare and Zing
PDF
The Art of Java Benchmarking
PDF
Azul Zulu on Azure Overview -- OpenTech CEE Workshop, Warsaw, Poland
PDF
Understanding Application Hiccups - and What You Can Do About Them
PDF
JVM Memory Management Details
PDF
JVM Mechanics: A Peek Under the Hood
PDF
Enterprise Search Summit - Speeding Up Search
PDF
Understanding Java Garbage Collection - And What You Can Do About It
PDF
Enabling Java in Latency-Sensitive Applications
PDF
Java at Scale, Dallas JUG, October 2013
Advancements ingc andc4overview_linkedin_oct2017
Understanding GC, JavaOne 2017
Azul Systems open source guide
Intelligent Trading Summit NY 2014: Understanding Latency: Key Lessons and Tools
Understanding Java Garbage Collection
The evolution of OpenJDK: From Java's beginnings to 2014
Push Technology's latest data distribution benchmark with Solarflare and Zing
The Art of Java Benchmarking
Azul Zulu on Azure Overview -- OpenTech CEE Workshop, Warsaw, Poland
Understanding Application Hiccups - and What You Can Do About Them
JVM Memory Management Details
JVM Mechanics: A Peek Under the Hood
Enterprise Search Summit - Speeding Up Search
Understanding Java Garbage Collection - And What You Can Do About It
Enabling Java in Latency-Sensitive Applications
Java at Scale, Dallas JUG, October 2013

Recently uploaded (20)

PDF
Encapsulation_ Review paper, used for researhc scholars
PDF
Accuracy of neural networks in brain wave diagnosis of schizophrenia
PPTX
TechTalks-8-2019-Service-Management-ITIL-Refresh-ITIL-4-Framework-Supports-Ou...
PDF
Microsoft Solutions Partner Drive Digital Transformation with D365.pdf
PDF
Zenith AI: Advanced Artificial Intelligence
PDF
NewMind AI Weekly Chronicles - August'25-Week II
PDF
Heart disease approach using modified random forest and particle swarm optimi...
PPTX
A Presentation on Touch Screen Technology
PDF
Mushroom cultivation and it's methods.pdf
PDF
From MVP to Full-Scale Product A Startup’s Software Journey.pdf
PDF
project resource management chapter-09.pdf
PDF
Getting Started with Data Integration: FME Form 101
PDF
Transform Your ITIL® 4 & ITSM Strategy with AI in 2025.pdf
PDF
Building Integrated photovoltaic BIPV_UPV.pdf
PDF
Approach and Philosophy of On baking technology
PDF
A comparative study of natural language inference in Swahili using monolingua...
PDF
WOOl fibre morphology and structure.pdf for textiles
PDF
Hybrid model detection and classification of lung cancer
PDF
Assigned Numbers - 2025 - Bluetooth® Document
PDF
DP Operators-handbook-extract for the Mautical Institute
Encapsulation_ Review paper, used for researhc scholars
Accuracy of neural networks in brain wave diagnosis of schizophrenia
TechTalks-8-2019-Service-Management-ITIL-Refresh-ITIL-4-Framework-Supports-Ou...
Microsoft Solutions Partner Drive Digital Transformation with D365.pdf
Zenith AI: Advanced Artificial Intelligence
NewMind AI Weekly Chronicles - August'25-Week II
Heart disease approach using modified random forest and particle swarm optimi...
A Presentation on Touch Screen Technology
Mushroom cultivation and it's methods.pdf
From MVP to Full-Scale Product A Startup’s Software Journey.pdf
project resource management chapter-09.pdf
Getting Started with Data Integration: FME Form 101
Transform Your ITIL® 4 & ITSM Strategy with AI in 2025.pdf
Building Integrated photovoltaic BIPV_UPV.pdf
Approach and Philosophy of On baking technology
A comparative study of natural language inference in Swahili using monolingua...
WOOl fibre morphology and structure.pdf for textiles
Hybrid model detection and classification of lung cancer
Assigned Numbers - 2025 - Bluetooth® Document
DP Operators-handbook-extract for the Mautical Institute

Webinar: Zing Vision: Answering your toughest production Java performance questions

  • 1. Zing Vision Answering your toughest production Java performance questions
  • 2. Outline • What is Zing Vision? • Where does Zing Vision fit in your Java environment? • Key features • How it works • Using ZVRobot • Q&A ©2014 Azul Systems Inc. 2
  • 3. What is Zing Vision? • Zing Vision is a browser-based, visual window into the Zing VM – Hyperlinked display provides drill-down to root cause – Both JVM internal and Java program information – No additional performance overhead – Nothing special to install or configure – Easy to get started as a user – ZVRobot collects and stores monitoring data • Collected data is same as ZVision! ©2014 Azul Systems Inc. 3
  • 4. Example Zing Vision deployment HTTP Linux host Zing Vision (Web browser) zvision server HTTP Zing VM ©2014 Azul Systems Inc. 4
  • 5. Fitting in: Production focus • Most tools suitable for developers, but too ‘heavy’ for production • • • • Use JVMTI (JVM Tools Interface) and BCI (Byte Code Instrumentation) High overhead, so must be used carefully in production May require configuration to lower the overhead Not practical for Operations teams • Zing Vision is designed for safe use on production systems • Ideal diagnostic tool to use when you know you have a problem in production (“a flashlight in a dark place”) • Integrated with the JVM, so it won’t add overhead or perturb the running Java program • It’s meant to be used - click on items in the web UI to explore! ©2014 Azul Systems Inc. 5
  • 6. Key features • Tick profiler • Thread-level views • Lock contention view • Garbage collection views • Java heap object views – Live objects – Object types that increase in number as application runs ©2014 Azul Systems Inc. 6
  • 7. Tick Profiler: Find “hot” code • Goal: Determine what code is hot (consuming most CPU time) • Approach used by other profiling tools: – Method tracing – Byte code instrumentation – heavy weight – Solution: Profile only a user-selected portion of the application – Drawback: You need to know the location in the code where the performance bottleneck occurs to select the area of the code to profile! ©2014 Azul Systems Inc. 7
  • 8. Tick Profiler: Find “hot” code Zing Vision uses runtime thread sampling: • Fast snapshots of the code running in executing Java threads • Identifies where the work is done in the application • Lightweight, low overhead – Always on – Even when you’re not looking at the generated metrics • Instruction-level granularity – JVM internal threads, too! • Detailed information about the entire process – Interpretation sometimes requires understanding of the JVM runtime ©2014 Azul Systems Inc. 8
  • 9. Tick Profiler: How it works 1. Thread registers SIG61 signal handler with kernel at intervals 1 ms (1000 times per second, configurable) 2. Thread runs 3. Kernel delivers SIG61 4. Thread is interrupted on its normal stack 5. Signal handler runs, creates a new (youngest) profile Youngest profile added 6. Zing Vision aggregates all of the profiles on the belt in the Timer Tick Profile view Oldest profile drops off… (into the trash) Tick profile conveyor belt has a fixed number of positions for profiles. Note that the conveyor belt only moves when a new profile is added! This means Zing Vision always shows the most recent data. ©2014 Azul Systems Inc. 9
  • 10. Tick Profiler: Where is work done? ©2014 Azul Systems Inc. 10
  • 11. Tick Profiler: Where is work done? Collection controllers Filters Select link to see details ©2014 Azul Systems Inc. 11
  • 12. Tick Profiler: Work at instruction level Callee | Caller Ticks for each instruction ©2014 Azul Systems Inc. C2 compiled JDK and application code 12
  • 13. Tick Profiler: How did I get here? ©2014 Azul Systems Inc. 13
  • 14. Tick Profiler: How did I get here? Sorted based on highest CPU consumers 0 com.sun.tools.javac.util.Name.fromUtf Top of stack Top of stack ©2014 Azul Systems Inc. 14
  • 15. Thread-level questions • What threads are executing my application? • What are the housekeeping threads for the JVM? • Can I examine a thread object? • What are the threads doing? – Profiling information – Stack traces • Where is my application stalled? ©2014 Azul Systems Inc. 15
  • 16. Thread-level views: Standard method Thread number: 1 2 3 4 5 Request thread stacks (kill -3) Some threads blocked – NO work done Thread 3 continues to run! Time Last thread stopped O(numThreads) delay  application visible work stoppage Resume threads ©2014 Azul Systems Inc. 16
  • 17. Thread-level views: Zing Vision method Thread number: 1 2 3 4 5 Request thread stacks (ZVision) Each thread: 1. Stopped individually 2. Delay order is O(1) Time No thread waits for any other thread to stop! The application never perceives a work stoppage because N-1 threads continue to run at all times Resume each thread seamlessly Pro: Safe to use in production (guilt-free clicking) Con: Not 100% consistent (especially for lock data) ©2014 Azul Systems Inc. 17
  • 18. Thread-level view: Application threads Filters and control Select link to see stack Individual thread stack trace and tick profile access ©2014 Azul Systems Inc. 18
  • 19. Thread-level view: Thread stack trace Thread CPU time consumed Stack frames Select link to see details ©2014 Azul Systems Inc. 19
  • 20. Thread-level view: Thread object details Values of the object’s fields ©2014 Azul Systems Inc. 20
  • 21. Thread-level view: Application threads Filters and control Select link to see profile Individual thread stack trace and tick profile access ©2014 Azul Systems Inc. 21
  • 22. Thread-level: Where is the work done? Thread 8120 ©2014 Azul Systems Inc. 22
  • 23. Lock contention: Where is my app stalled? Lock acquisition Total and Max times Blocking count Select link to see details ©2014 Azul Systems Inc. 23
  • 24. Lock contention: Where is my app stalled? How did I get to the contended lock in my code? Summary metrics ©2014 Azul Systems Inc. 24
  • 25. Memory: Answering your questions • What’s the collector doing? • How much memory is the application using? • What type of objects are in the heap? – What’s keeping those objects live? • What object types are increasing in number? ©2014 Azul Systems Inc. 25
  • 26. Memory: Resource use summary Java heap overview Process Zing memory use Linux memory ©2014 Azul Systems Inc. 26
  • 27. Memory: Collection details Collection details ©2014 Azul Systems Inc. 27
  • 28. Memory: Collection details summary Detailed summary calculating metric averages ©2014 Azul Systems Inc. 28
  • 29. Memory: What objects are in the heap? Objects in Old Generation Default sorting: Sum of size of each object of that type Expand to see types with references to objects of that type ©2014 Azul Systems Inc. 29
  • 30. Memory: Which object type is growing? Object types with increasing memory consumption in the Old Generation Selectable time interval Growth rate ©2014 Azul Systems Inc. 30
  • 31. Example ZVRobot deployment Linux host Linux host Write a file for each Zing Vision web page at each sample period (for example, every 1 minute) into a directory ZVRobot HTTP Zing VM Use a web browser to look at the saved snapshot files anytime after program has run or even during collection ©2014 Azul Systems Inc. 31
  • 32. How to Try Zing Vision - Free • Request a trial copy of Zing http://www.azulsystems.com/trial • Download and run Azul Inspector to check your system • Download and install Zing – Zing Vision and ZVRobot are included • Run your application • Observe your application and the JVM’s activity using Zing Vision ©2014 Azul Systems Inc. 32
  • 33. Questions? Zing Vision – providing answers to your Java performance questions • Tick profiler • Thread-level views • Lock contention view • Garbage collection views • Java heap object views • Live objects • Object types that increase in number as application runs ©2014 Azul Systems Inc. 33