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 Fri, 09 May 2008 09:55:30 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

------------------------------------------------------------------------------
   1. Select and build `BuildJPIAgent32` project.
   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`.
  
+ ==== Configuring Profiler Environment ====
- ==== Launching ====
- [under construction]
-  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. 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).
-  1. Add <prof_home> to the system path
-  1. set JAVA_PROFILER_HOME=<prof_home>
+  1. Add the directory containing profiler binaries to the system path and environment: 
+ {{{
+ set JAVA_PROFILER_HOME=<TPTP root>\org.eclipse.tptp.platform.jvmti.runtime\src-native\bin\windows\{debug|release}\IA-32
+ set PATH=%JAVA_PROFILER_HOME%;%PATH%
+ }}}
+ 
+ ==== Launching a Profiler ====
+  1. [under construction] Extract the attached `ProxyClasses.zip` into `<TPTP root>`.
This should create the following directory structure: org\eclipse\tptp\martini, and place
3 class files there.
   1. Launch the profiler on the Java2D workload (attached):
+ {{{
  java -XX:-FailOverToOldVerifier -cp bin -agentlib:JPIBootLoader=JPIAgent:server=standalone,stackmap=true;CGProf
java2d.Java2Demo
-  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