harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Harmony Wiki] Update of "Verifier Extension" by AlexeiFedotov
Date Thu, 08 May 2008 18:04:37 GMT
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. 
@@ -11, +9 @@

  The environment is used to debug the extension. For example, it allows writing a class file
with a modified stack table down.
  
  ==== Requirements ====
-  1. Visual C++ 6
+  1. Visual C++ 6.0.
-  1. Java JDK 1.5, 1.6
+  1. Java JDK 1.5, 1.6.
-  1. Environment variable: JAVA_HOME=<full path to JDK 1.5 directory>
+  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
+  1. JDK header files (`jni.h`, `jvmti.h`, and `jvmpi.h`) are expected to be available under
`%JAVA_HOME%\include`.
  
  ==== Getting the Verifier Extension ====
  {{{
@@ -45, +43 @@

   1. 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 ====
+ [under construction]
- 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.
+  1. 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.
- 1.	Lets refer to the directory in step 7 above as <prof_home>
+  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)
+  1. 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
+  1. Add <prof_home> to the system path
- 4.	set JAVA_PROFILER_HOME=<prof_home>
+  1. set JAVA_PROFILER_HOME=<prof_home>
- 5.	Launch the profiler on the Java2D workload (attached):
+  1. Launch the profiler on the Java2D workload (attached):
  java -XX:-FailOverToOldVerifier -cp bin -agentlib:JPIBootLoader=JPIAgent:server=standalone,stackmap=true;CGProf
java2d.Java2Demo
- 6.	The above may either cause the verification error (JIRA 5764) or an ACCESS VIOLATION
error. You can remove the -XX:-FailOverToOldVerifier option to prevent the verification error,
and there is more chance you will see the ACCESS VIOLATION
+  1. The above may either cause the verification error (JIRA 5764) or an ACCESS VIOLATION
error. You can remove the -XX:-FailOverToOldVerifier option to prevent the verification error,
and there is more chance you will see the ACCESS VIOLATION
  
+ (Thanks to Asaf, Vasily)
+ 

Mime
View raw message