Previous Topic

Next Topic

Book Contents

Book Index

Perspective Toolbar and Menu Commands

Command

Button

Description

Start Memory Session

Starts a memory profiling session.

Start CPU Session

Starts a CPU profiling session.

Start VM Telemetry Session

Starts a VM telemetry session.

Start Threads Session

Starts threads profiling session.

View Heap Snapshot

Takes a heap snapshot

View Monitors Snapshots

Takes a monitors snapshot.

Run Garbage Collector

Runs the garbage collector.

Import Data

-

Imports profiling information saved in the mBProfiler's binary format. For further information on the import settings, refer to the Importing Profiling Data guide.

Export Data

-

Saves all current information from the profiler views in a binary file, so that you can later load it in the mBProfiler frontend for further examination. The extension of the file will be .jpd . For further information on the export settings, refer to the Exporting In Binary Format guide.

Export Data as Text

-

Saves all current information from the profiler views in a text file using a user-defined column delimiter. For further information on the export settings, refer to the Exporting In Text Format guide.

Export Data as XML

-

Saves all current information from the profiler views in XML format so that it can be easily parsed and visualised in a third-party application. For further information on the export settings, refer to the Exporting In XML Format guide.

View Toolbar Commands

Command

Button

Description

Commands common for all memory and CPU related views as well as Threads and VM Telemetry

Start Session

Starts a profiling session (memory, CPU, threads, etc).

Continue Session

Continues a stopped profiling session.

End Session

Stops a profiling session.

Commands available in the Classes, Objects, Memory Call Tree, Memory Hot Spots and Bundles Memory Call Tree views

Start Mark

Starts a mark (refer to Marking an Observation Period).

Continue Mark

Continues a stopped mark (refer to Marking an Observation Period).

End Mark

Stops a mark (refer to Marking an Observation Period).

Reset Mark

Clears the current mark (refer to Marking an Observation Period).

Keep Temps

Enables keeping the temporary objects virtually in the mBProfiler's frontend.

Clear Temps

Clears the created temporary objects.

Commands available for the Objects, Memory Call Tree, Memory Hot Spots and Bundles Memory Call Tree views

Live Objects

Displays the live objects.

Temporary Objects

Displays the created temporary objects.

Live Objects in Mark

Displays the live objects created during mark.

Temporary Objects in Mark

Displays the temporary objects created during mark.

Pop-up Menu Commands

Parameter

Description

Choose Columns

Allows you to choose which columns will be displayed in a table. Available for all views showing the profiling data in tables. The Show All option will display all the columns a table can have. The Restore Defaults option will restore the default set of columns and sorting a table has had when its parent view was started for the first time.

Sort By

Allows you to sort the data displayed in a table according to some of the table columns. The Ascending option will arrange a table's content in ascending order.

Second Sort By

Allows you to secondary sort the data displayed in a table according to some of the table columns. The Ascending option will arrange a table's content in ascending order.

Copy

Provides options for copying the profiling data:

  • Copy All Rows – Copies all the table rows.
  • Copy Selected Rows – Copies the selected tree rows.
  • Copy Expanded Rows – Copies the expanded tree rows.
  • Copy Allocation Trace – Copies the allocation stack trace of a selected object in the Objects view.
  • Copy Cell Data – Copies the profiling data within the selected cell.

Clear All Filters

Clears all the currently defined filters.

Collapse All

Collapses all rows in the selected views. It is available for the Memory Call Tree, Memory Hot Spots, Objects, CPU Call Tree, CPU Hot Spots, Heap, Monitors, Bundles Memory Call Tree and Bundles CPU Call Tree views.

Find

Opens the Find dialog which allows you to search for specific entries within the tree.

Find Next

Finds the next occurrence of the entries that match the criteria defined in the Find dialog, invoked using the Find command.

Show Source

Shows the source that corresponds to the selected table row.

Go to

Goes to the equivalent of the selected entry in the other mBProfiler views. You can use the command to identify the following data:

  • From Memory Call Tree
    • The objects allocated within a method/frame in the Objects view
    • The hot spot for a memory consuming node in the Memory Hot Spots view
    • A thread's status in the Threads view
    • For OSGi profiling, the bundle source of a stack frame or method call in the Bundles Memory Call Tree view
  • From Memory Hot Spots
    • The objects allocated within a method/frame in the Objects view
    • A thread's status in the Threads view
    • A thread's call stack in the Memory Call Tree view
    • For OSGi profiling, a thread's call stack in the Bundles Memory Call Tree view
  • From Classes
    • The collection of a class's instances in the Heap or in the Objects view.
    • The allocations of instances of the selected class in the Memory Call Tree view
  • From Objects view
    • The place of the selected instance in the Heap view
    • The total number of instances of the parent class in Classes view as well as the memory reserved for them
    • The allocation of the object within the call stack of the relevant thread in the Memory Call Tree and Memory Hot Spots views
    • The status of the relevant thread in the Threads view
    • For OSGi profiling, the bundle that has originated the object in the Bundles Memory Call Tree and Bundles views
  • From CPU Call Tree
    • The hot spot for a CPU consuming node in the CPU Hot Spots view
    • The status of the relevant thread in the Threads view
    • For OSGi profiling, the bundle source of a stack frame or method call in the Bundles CPU Call Tree view
  • From CPU Hot Spots
    • The status of the relevant thread in the Threads view
    • A thread's call stack in the CPU Call Tree view
    • For OSGi profiling, a thread's call stack in the Bundles CPU Call Tree view
  • From Monitors – The activity history of a selected thread in the Threads view.
  • From Heap
    • General information about the instances of a class in the Classes, Memory Call Tree or Objects view.
    • The instance sub-tree for a reference somewhere else in the Heap view.
    • The object in Objects that a reference in the heap represents.
  • From Threads – A thread's call stack in the Memory Call Tree, CPU Call Tree or Monitors view.