8000 GitHub - GIWTO/JVMByteSwapTool: jvm diagnose tool by swapping bytecode
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

GIWTO/JVMByteSwapTool

 
 

Repository files navigation

JVM ByteSwap Tool

logo

actions

A tool that can hot swap the class byte code while jvm is running. Very suitable for SpringBoot framework.

Based on the jvm instrumentation tech, ASM, javassist and JVMTI.

Usage

Download the zip file from the release page.

Make sure you have a JDK >= 1.8.

$ java -jar swapper.jar

// All of the java processes will be listed in following
// Choose the pid you want to attach
// Then a web ui will be served at http://localhost:8000

Visit this url http://localhost:8000 then you will get the following Web UI.

image

Now you can enjoy the functionalities of swapper tool.

For example, Watch some methods. Trigger this method, and then the params and return value and execution time cost will be printed.

image

It's Watch one of the functions provided by swapper tool.

Get more functions and details from the wiki.

About

jvm diagnose tool by swapping bytecode

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 89.8%
  • Go 9.1%
  • Other 1.1%
0