GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — async-profiler/docs/AdvancedStacktraceFeatures.md at v4.5 · async-profiler/async-profiler

Expand file tree

/

AdvancedStacktraceFeatures.md

Copy path
More file actions
More file actions

Latest commit

 

History

History
History
35 lines (23 loc) · 1.73 KB
/

AdvancedStacktraceFeatures.md

Copy path

File metadata and controls

35 lines (23 loc) · 1.73 KB
Raw
Copy raw file
Download raw file
Outline
Edit and raw actions

Advanced Stacktrace Features

Display JIT compilation task

Async-profiler samples JIT compiler threads just the same way as Java threads, and hence can show CPU percentage spent on JIT compilation. At the same time, Java methods are different: some take more resources to compile, other take less. Furthermore, there are cases when a bug in C2 compiler causes a JIT thread to stuck in an infinite loop consuming 100% CPU. Async-profiler can highlight which particular Java methods take most CPU time to compile.

The feature can be enabled with the option -F comptask (or its agent equivalent features=comptask).

Display actual implementation in vtable

In some applications, a significant amount of CPU time is spent on dispatching megamorphic virtual/interface calls. async-profiler shows a pseudo-frame on top of v/itable stub with the actual type of object the virtual method is called on. This should make clear the proportion of different receivers for the particular call site.

The feature can be enabled with the option -F vtable (or its agent equivalent features=vtable).

Display instruction addresses

Sometimes, for low-level performance analysis, it is important to know where exactly CPU time is spent inside a method. As an intermediate step to the instruction-level profiling, async-profiler provides an option to record PC address of the currently running method for each execution sample. In this case, each stack trace will include a synthetic frame with the address at the top of every stack trace.

The feature can be enabled with the option -F pcaddr (or its agent equivalent features=pcaddr).

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.