summaryrefslogtreecommitdiff
path: root/tools/lockercp
diff options
context:
space:
mode:
authorPaul Phillips <paulp@improving.org>2011-01-04 01:17:32 +0000
committerPaul Phillips <paulp@improving.org>2011-01-04 01:17:32 +0000
commit234ee6d56bdbf4234f8f6f0f2ebc0560f25701ee (patch)
tree336171608f51da71ef600db63b27b265c871b373 /tools/lockercp
parent266a2ca1c4ed1c655989c2435a9e83650b06f79a (diff)
downloadscala-234ee6d56bdbf4234f8f6f0f2ebc0560f25701ee.tar.gz
scala-234ee6d56bdbf4234f8f6f0f2ebc0560f25701ee.tar.bz2
scala-234ee6d56bdbf4234f8f6f0f2ebc0560f25701ee.zip
Some profiler changes.
after each phase, so all the allocations are partitionable by phase in the profiler. I also changed the name of -Yprofile-resident to -Yprofile-memory and had it snapshot after the run instead of between them, so it is usable for regular scalac usage as well. Added tools/profile_scalac which can be used as a drop-in replacement which handles some tedious setup. Review by dragos.
Diffstat (limited to 'tools/lockercp')
-rwxr-xr-xtools/lockercp10
1 files changed, 10 insertions, 0 deletions
diff --git a/tools/lockercp b/tools/lockercp
new file mode 100755
index 0000000000..3e8799596f
--- /dev/null
+++ b/tools/lockercp
@@ -0,0 +1,10 @@
+#!/bin/sh
+#
+
+THISDIR=`dirname $0`
+ABS=${THISDIR}/abspath
+LIBDIR=`$ABS $THISDIR/../lib`
+
+cp=`${THISDIR}/cpof ${THISDIR}/../build/locker/classes`
+
+echo ${cp}:$LIBDIR/fjbg.jar:$LIBDIR/msil.jar:$LIBDIR/forkjoin.jar:$LIBDIR/jline.jar:$LIBDIR/extra/'*'