Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Load Java Agents at any running JVM process and more, no JDK needed

License

NotificationsYou must be signed in to change notification settings

mageddo-projects/jvm-attach

Repository files navigation

Jvm Attach make it easy to execute operations intoremote running Java Virtual Machines from Java code,zero C/C++ needed.

Features

  • Attach shared library agent
  • Attach jar JavaAgent
  • All other features supported byjattach

Usage

compile("com.mageddo.jvmattach:jvm-attach:1.0.0");
publicclassMain {publicstaticvoidmain(String[]args) {JvmAttach.loadJar(JvmAttach.getCurrentPid(),Main.class.getResourceAsStream("/simple-agent.jar"));// simple agent loaded: null  }}

Seeunit tests for more examples

Requirements

  • HotSpot JRE 8+, OpenJ9 JVMs are not supported, no JDK needed

About

Load Java Agents at any running JVM process and more, no JDK needed

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

[8]ページ先頭

©2009-2025 Movatter.jp