블로그

ej-technologies의 제품 뉴스, 업데이트 및 인사이트입니다.

RSS로 읽어보세요. 이메일로 구독하세요. 에서 팔로우하세요.

Capturing and comparing MBean states with JProfiler

2025-04-30
Ingo Kegel 작성

MBeans expose a wide range of runtime metrics and management operations that are essential for understanding the internal state of Java applications. Traditionally, JProfiler has supported live inspection of MBeans during a profiling session.

With the new MBean snapshot feature in JProfiler 15, it is now possible to capture the complete MBean state, compare snapshots, and analyze metrics offline, even after the application has shut down.

This screencast demonstrates the new functionality with a small Hazelcast application that performs random map operations and registers a custom MBean for triggering cleanup operations.

Along the way, you will see how to:

  • Capture and compare MBean snapshots manually
  • Trigger MBean snapshots programmatically with method triggers
  • Restrict the snapshot scope to specific MBeans
아카이브