Downloads
Downloads
MAJOR and CARAJillo
This is a demo pre-release of MAJOR (includes CARAJillo)
(C) Copyright Alex Villazón, Walter Binder, Philippe Moret, 2007-2009.
Permission to copy, use, and modify (only the included source file, modification of the binaries is not permitted) the software is granted provided this copyright notice appears in all copies.
This software is provided "as is" without express or implied warranty, and with no claim as to its suitability for any purpose.
Requirements:
You need JDK 1.5 or higher. (JDK 1.6 if you enable native prefixing).
We have tested our tools with
- Sun’s JDK and OpenJDK (1.5, 1.6, 1.7) on Linux
-Sun’s JDK (1.6) on Windows (cygwin)
-Soylatte port 1.6 on MacOSX
- Note: IBM’s J9 (JDK 1.6) on Linux will available in next releases.
Download:
- MAJOR version 0.5 : major-0.5.tar.gz (released 23.02.2009) (CARAJillo is included in MAJOR release >= 0.5).
Dependencies:
MAJOR requires
- Apache’s BCEL 5.2 http://jakarta.apache.org/site/downloads/downloads_bcel.cgi
- Eclipse’s AspectJ 1.6 or higher http://www.eclipse.org/aspectj/downloads.php
- Apache’s ANT http://ant.apache.org/bindownload.cgi
IMPORTANT NOTE on release 0.5: Please use AspectJ 1.6.2 (there are some issues with 1.6.3 generated bytecode that will be fix for next release).
Settings for MAJOR:
tar xvfz major-0.5.tar.gz
cd major-0.5
Modify setenv.sh and build.properties with your settings, such as MAJOR_HOME, JAVA_HOME, ASPECTJ_HOME, ANT_HOME, and BCEL (more details in the README.txt). IMPORTANT: If you want to use CARAJillo, also modify the $MAJOR_HOME/ss-udi/build.properties file.
. ./setenv.sh
Using MAJOR:
Weaving sample aspects: MAJOR release comes with several samples ‘exec-tracer’, ‘call-count’, ‘exec-time’, ‘mem-leak’, ‘cct’, ‘wormhole’ (read SAMPLES.txt for more details).
To use the samples:
ant samples
To compile aspects and weave into the JDK use FIRST (FERARRI’s Instrumentation and Reification Static Tool).
first -a <aspect_name> -jdk
Run MAJOR:
You must provide the application as a jar file:
major -a <aspect_name> -jar <yourapplication>.jar [options]
Using CARAJillo:
Weaving sample aspects: MAJOR release includes CARAJillo and comes with several samples ‘c_cct’, ‘c_recrash’, ‘c_wormhole’. Note: to run the ‘c_recrash’ example, you need to download ReCrash 0.3 : http://groups.csail.mit.edu/pag/reCrash/
To compile aspects, use FIRST (FERRARI’s Instrumentation and Reification Static Tool) with option -c to enable CARAJillo and option -rt to build configurable calling context runtime.
first -a <aspect_name> -c -rt -jdk
Run MAJOR with CARAJillo:
major -a <aspect_name> -c -jar <yourapplication>.jar [options]
To weave your own aspect:
Create a directory inside ‘aspects’ (e.g. myaspect) and create a ‘list.lst’ file with the name of the aspect source file. Then use FIRST and MAJOR, using ‘myaspect’ as the aspect name. By convention, CARAJillo enabled aspects start with ‘c_’ and must have a ‘conf.properties’ file specifying the correct runtime parameters.
Version 0.5 of MAJOR does not include the automated DIB support tool, therefore, the DIB must be used explicitly in the aspects.
CProf
This is a demo pre-release of CProf.
(C) Copyright Walter Binder, Philippe Moret, Alex Villazón 2008.
Permission to copy, use, and modify (only the included source file, modification of the binaries is not permitted) the software is granted provided this copyright notice appears in all copies.
This software is provided "as is" without express or implied warranty, and with no claim as to its suitability for any purpose.
Requirements:
You need JDK 1.5 or higher. We have tested our tools with
- Sun’s JDK and OpenJDK (1.5, 1.6, 1.7) on Linux and Windows (cygwin)
Download:
- CProf demo pre-release 0.1: cprof-demo-0.1.jar (released septermber 2008)
Dependencies:
CProf requires
- Apache’s BCEL 5.2 http://jakarta.apache.org/site/downloads/downloads_bcel.cgi
- Apache’s ANT http://ant.apache.org/bindownload.cgi
Build CProf:
jar xvf cprof-demo-0.1.jar
Edit setenv-dev.sh to set correctly the path to JAVA_HOME, ANT_HOME, BCEL and FERRARI_HOME (i.e. where you uncompressed CProf)
. ./setenv-dev.sh
Edit build.properties to set bcel.path and jdk.path
To create the runtime
ant createRT
ant compile
To create the instrumented JDK
ant JOPJDK
To run the included benchmark (CProf includes benchmarks from (JBE) JavaBenchEmbedded V1.0)
. ./run.sh
Requirements:
You need JDK 1.5 or higher. We have tested our tools with
- Sun’s JDK and OpenJDK (1.6, 1.7) on Linux..
Download:
- Will be available soon.
Dependencies:
ParCCT requires
- Apache’s BCEL 5.2 http://jakarta.apache.org/site/downloads/downloads_bcel.cgi
- Eclipse’s AspectJ 1.6 or higher http://www.eclipse.org/aspectj/downloads.php
- Apache’s ANT http://ant.apache.org/bindownload.cgi
ParCCT