Skip to content

Using JITWatch programmatically (API usage instead of UI) #405

@c71n93

Description

@c71n93

Hi!
I’m exploring the possibility of using JITWatch programmatically — as a library — to automatically analyze HotSpot JIT logs (e.g., extract compiled method info, main code size, inlining data, etc.), rather than through the UI.

Before diving too deep, I’d like to clarify:

  1. Was it ever intended by design that JITWatch could be used directly as an API/library (for example, via classes like LogParser, JITDataModel, NMethod, AssemblyMethod, etc.)?
  2. Are there any existing examples, documentation, or recommended patterns for using JITWatch this way?
    I’ve checked some sources but only found materials related to the UI, not API usage.

Thanks in advance — I’d like to understand whether such usage is supported or considered out of scope for JITWatch.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions