Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Research using uprobes on JIT'd methods #26

Open
@jrudolph

Description

@jrudolph

Challenges:

  • uprobes only works with VMA's backed by files while the code cache of the (Hotspot) JVM uses an anonymous region
  • uprobes apparently doesn't allow the code memory region to be writable
  • dynamic unloading of JIT code requires some process to unregister the probe in time
  • it would be nice to access variables in a probe but then you need to know the mapping between Java / Bytecode variables and native registers / stack, the JVM tracks this information for various purposes, but it's probably not exposed in JVMTI

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