Source code browse
Revision:
19
(of 19)
polymorphic profiling
| Filename | Author | Revision | Modified | Log Entry |
|
|
jrose
|
6
|
over 2 years ago
|
add some user directions; tweak ...
|
|
|
jrose
|
17
|
over 2 years ago
|
refactor patches to show distinc...
|
|
|
jrose
|
19
|
over 2 years ago
|
polymorphic profiling
|
|
|
jrose
|
17
|
over 2 years ago
|
refactor patches to show distinc...
|
|
|
jrose
|
13
|
over 2 years ago
|
use basename of source file for ...
|
|
|
jrose
|
0
|
over 2 years ago
|
initial experiment set
|
|
|
jrose
|
10
|
over 2 years ago
|
good property access code
|
|
|
jrose
|
17
|
over 2 years ago
|
refactor patches to show distinc...
|
|
|
jrose
|
17
|
over 2 years ago
|
refactor patches to show distinc...
|
|
|
jrose
|
17
|
over 2 years ago
|
refactor patches to show distinc...
|
|
|
jrose
|
6
|
over 2 years ago
|
add some user directions; tweak ...
|
|
|
jrose
|
17
|
over 2 years ago
|
refactor patches to show distinc...
|
|
|
jrose
|
17
|
over 2 years ago
|
refactor patches to show distinc...
|
|
|
jrose
|
17
|
over 2 years ago
|
refactor patches to show distinc...
|
To use this patch set, install it as the mercurial patch queue under a copy of Rhino.
References:
http://mercurial.selenic.com
http://mercurial.selenic.com/wiki/MqExtension
http://kenai.com/projects/davincimonkey/pages/Home
http://openjdk.java.net/projects/mlvm
$ set my_rhino=my_rhino #pick a nice name
$ hg clone https://hg.kenai.com/hg/davincimonkey~rhino $my_rhino
$ hg clone https://hg.kenai.com/hg/davincimonkey~rhino $my_rhino/.hg/patches
$ cd $my_rhino
$ grep mq $HOME/.hgrc || (echo ''; echo '[extensions]'; echo 'mq =') >> $HOME/.hgrc
$ hg qpush tuning.patch
$ ant jar
To use classy.patch and experiment with dvm_richards.java, you need a fresh build of JSR 292 support.
$ export JAVA_HOME=$davinci/sources/build/bsd-i586/j2sdk-image
$ hg qpush classy.patch
$ ant jar
$ $JAVA_HOME/bin/javac -source 7 -cp $my_rhino/build/classes -d instrumentation/richards instrumentation/richards/dvm_richards.java
$ $JAVA_HOME/bin/java -XX:Flags=.hg/patches/hotspot-flags.txt -Xbatch -Dorg.mozilla.javascript.classy=true -Xbootclasspath/a:$my_rhino/build/classes org.mozilla.javascript.tools.shell.Main -opt 0 $my_rhino/instrumentation/richards/dvm_richards.class
$ (cd $JAVA_HOME/../hotspot/outputdir/bsd_i486_compiler2/product; time ./gamma -XX:Flags=$my_rhino/.hg/patches/hotspot-flags.txt -Xbatch -Dorg.mozilla.javascript.classy=true -Xbootclasspath/a:$my_rhino/build/classes org.mozilla.javascript.tools.shell.Main -opt 0 $my_rhino/instrumentation/richards/dvm_richards.class)