Tags:
tag this topic
create new tag
view all tags
The PAMM (Program Adaptive Memory Management) system can be checked out from the compiler group repository at =/p/compiler/repos/pamm= and should "just work." You'll have to make a few changes if you would like to use it outside of the URCS environment: * Install [[http://www.sable.mcgill.ca/soot/][soot]] in your local environment: Download [[http://www.sable.mcgill.ca/software/sootall-2.2.4.jar][sootall-2.2.4.jar]]. Unjar it by =jar xf sootall-2.2.4.jar= to produce three packages, jasmin, polyglot, and soot. Add the parent directory to CLASSPATH. * Install the [[http://jikesrvm.org/][jikes RVM]] (aka jalapeno) locally: Download [[http://sourceforge.net/project/showfiles.php?group_id=128805&package_id=141063&release_id=548427][jikes2.9.2]]. Run =bunzip2= to decompress. Run =tar -xf= to extract the directory. * Include the directories of these tools in the =CLASSPATH= (I don't know whether the parent dir suffices). A pre-built Jikes system is in =/p/compiler/JavaTools/jikes/=. It should be moved to =/p/compiler/built/= by some public-minded group member. To build Jikes on a new machine, go into the downloaded jikes directory. Edit the .ant.properties file and insert the following lines <verbatim> ost.name=ia32-osx config.name=production dist.dir= where_you_want_to_install </verbatim> At present (3/10/08), the build fails because it couldn't download asm-3.0.tar from =download.fr2.forge.objectweb.org/asm/=. The =whiteboard= system uses the native code interface. Here is the instruction for compiling and running the whiteboard code. * To compile jni:<br> =cd /home/vax5/u28/zhangchl/workspace/javaAnalysis/src/jni= and =make= A makefile under =/home/vax5/u28/zhangchl/workspace/javaAnalysis/src/jni= shows more details. After this step, we will get file =libWhiteBoard.so= and =clearandinitshm= * To use the whiteboard, we will have to run =clearandinitshm= to initilize the shared memory. This step must be done before any JVM is used. * To run with jni file: =rvm -Djava.library.path=/u/zhangchl/workspace/javaAnalysis/src/jni/= Usage of the PAMM system is described in the included README file.
E
dit
|
A
ttach
|
Watch
|
P
rint version
|
H
istory
: r3
<
r2
<
r1
|
B
acklinks
|
V
iew topic
|
Ra
w
edit
|
M
ore topic actions
Topic revision: r3 - 2008-03-10
-
ChenDing
Log In
or
Register
URCS Main Web
CS Guide
Events
People
Reading Seminars
Undergrad Program
Graduate Program
Research
Department Life
Tech Talk
Other Info
Topics
RSS
Changes
Notifications
Statistics
Preferences
Home
Site map
Main web
Sandbox web
TWiki web
Main Web
Users
Groups
Index
Search
Changes
Notifications
RSS Feed
Statistics
Preferences
P
P
P
View
Raw View
Print version
Find backlinks
History
More topic actions
Edit
Raw edit
Attach file or image
Edit topic preference settings
Set new parent
More topic actions
Account
Log In
Register User
E
dit
A
ttach
Copyright © 2008-2019 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding URCS?
Send feedback