Wednesday, July 15, 2015

JVM Explorer Operations


JVM Explorer Logger:

1) JVM connect: local or remote (Java Agent)

2) Find typeJava_class_bytecode in JVM

3) Log method: add method logging to Java_class_bytecode (ASM library)

4) Retransform type: inject Java_class_bytecode_v2 back to JVM (Java Instrumentation)


JVM Explorer Editor:

5) JVM checkout: extract Java classes from JVM to jvm.jar

6) SVN checkout: Java_class_source_code (class changes, change annotations)

7) Edit type: Java_class_source_code

8) Compile type: javac + jvm.jar + Java_class_source_code = Java_class_bytecode_v3

9) Redefine type: inject Java_class_bytecode_v3 to JVM (Java Instrumentation)


No comments: