Dear Wiki user,
You have subscribed to a wiki page or wiki category on "Harmony Wiki" for change notification.
The following page has been changed by AlexeiFedotov:
http://wiki.apache.org/harmony/Verifier_Extension
------------------------------------------------------------------------------
+ [under construction]
+
== Mission ==
Harmony verifier extension is used to recalculate stack maps of a class after it is instrumented
by TPTP.
@@ -14, +16 @@
1. Environment variable: JAVA_HOME=<full path to JDK 1.5 directory>
1. JDK header files (`jni.h`, `jvmti.h`, and `jvmpi.h`) are expected to be available under
%JAVA_HOME%\include
- ==== Instructions ====
- 1. Build org.apache.harmony_vmcore_verifier\src\vmcore\src\verifier-3363\verifier.dsw.
The resulting library (verifier.lib) will be generated in org.apache.harmony_vmcore_verifier\lib\windows\{debug|release}\IA-32
+ ==== Getting Sources ====
+ 1. Visual C++ 6
+
+ ==== Compiling a Verifier Extension ====
+ 1. Copy the resulting library (verifier.lib) to <TPTP root>\org.apache.harmony_vmcore_verifier\lib\windows\{debug|release}\IA-32\verifier.lib.
Otherwise you may use `org.apache.harmony_vmcore_verifier\src\vmcore\src\verifier-3363\verifier.dsw`
from the TPTP project.
+
+
+ ==== Compiling Martini ====
- 2. Open org.eclipse.tptp.platform.jvmti.runtime\src-native\build\tptp_martini.dsw
+ 1. Open `<TPTP root>\org.eclipse.tptp.platform.jvmti.runtime\src-native\build\tptp_martini.dsw`.
- 3. Select and build the BuildMartini32 project.
+ 1. Select and build the `BuildMartini32` project.
- 4. Open org.eclipse.tptp.platform.jvmti.runtime\src-native\build\tptp_profiler.dsw
+ 1. Open `<TPTP root>\org.eclipse.tptp.platform.jvmti.runtime\src-native\build\tptp_profiler.dsw`.
- 5. Select and build BuildCGProf32 project.
+ 1. Select and build `BuildCGProf32` project.
- 6. Select and build BuildJPIAgent32 project.
+ 1. Select and build `BuildJPIAgent32` project.
- 7. All profiler binaries are now located (depending on whether you did release or debug
build) in org.eclipse.tptp.platform.jvmti.runtime\src-native\bin\windows\{debug|release}\IA-32
+ 17. All profiler binaries are now located (depending on whether you did release or debug
build) in org.eclipse.tptp.platform.jvmti.runtime\src-native\bin\windows\{debug|release}\IA-32
+
+ ==== Launching ====
8. Extract the attached ProxyClasses.zip into the directory mentioned in the previous step.
This should create the following directory structure: org\eclipse\tptp\martini, and place
3 class files there.
-
- Using the TPTP Profiler
1. Lets refer to the directory in step 7 above as <prof_home>
2. Open a command window and configure Java 6 (Sun or BEA) as the active JVM (no need to
set JAVA_HOME)
3. Add <prof_home> to the system path
|