Skip to content
No description, website, or topics provided.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src/main/java/pl/halun/demo/bytebuddy/loader
.gitignore
LICENSE
README.md
pom.xml

README.md

Byte Buddy Agent Loader

Attaches Java Agent to Virtual Machine with a provided process id. Uses Byte Buddy Agent as alternative to Attach API.

This is part of demo of Byte Buddy Java Agent prepared for Motorola Tech Talks 2016 in Kraków.

Other parts of demo:

Execution

Find process id of a Java Virtual Machine:

jps

Example output:

$ jps
10160
7832 jar
3356 Jps

Load java agent:

java -jar byte-buddy-agent-loader.jar  7832  byte-buddy-agent-demo.jar
You can’t perform that action at this time.