Linked Lists for Real-Time Java

Wednesday, May 08, 2002

How I was able to run Morgan's tool on our program Tester.java:
cp /project/cytron/mdeters/scopes/scopes.conf .
cp /project/cytron/mdeters/scopes/scopeclasses .
jikes Tester.java
myjava -classpath /usr/java/lib/classes.zip:/pkg/java_1.2/jre/lib/rt.jar:.:.. -rcgc -logconf scopes.conf -logfile Tester.log Tester
java -jar /project/cytron/mdeters/scopes/scopefinder.jar -a ScopeAssignment.aj Tester.log
setenv CLASSPATH /project/danzon/pkg/aspectj/current/lib/aspectjrt.jar:.:/pkg/java_1.4.0/jre/lib/rt.jar
/project/danzon/pkg/aspectj/current/bin/ajc -argfile scopeclasses Tester.java
java Tester

Make sure you have these set up in your ~/.cshrc.mine file (and call 'source ~/.cshrc' when you are done!):
alias myjava /project/cytron/mdeters/bin/myjava
setenv JIKESPATH "/pkg/java_1.4.0/jre/lib/rt.jar:.:..:../.."
setenv CLASSPATH ".:..:/pkg/java_1.4.0/jre/lib/rt.jar"
setenv CLASSPATH_REPO /project/cytron/mdeters/jdk1.1.8-repository/build/classes:/pkg/java_1.4.0/jre/lib/rt.jar
posted by Amy Sia 11:15 AM

Tuesday, May 07, 2002

Today we attempted to use Morgan's scope finder tool on our Tester.java. Morale low. :-( Hopefully we can get everything set up in the next couple of days.

First there were issues with using Java 2's LinkedList class (or anything in java.util) while running a scope finder based on the Java 1.1.8 JVM. Right now there are issues with our Tester.log and running the scopefinder. Seems we get a lot of "count: xx" output, which indicates that a weird message is being skipped. However, we don't know what the message is. It's all a big mystery. I wonder if we can get this to work the way it's supposed to. It looks like it's going to take a while. Sigh...
posted by Amy Sia 5:41 PM

A good command to remember. It helps us use the LinkedList class while using Morgan's tool:
myjava -classpath /usr/java/lib/classes.zip:/pkg/java_1.2/jre/lib/rt.jar:.:.. -rcgc -logconf scopes.conf -logfile Tester.log Tester
posted by Eric Fesenmaier 5:15 PM

Monday, May 06, 2002

Due to our inital CVS setup snaffoo's(sp?), I'd recommend using:
cvs checkout -P LinkedList
cvs update -P LinkedList

unless you want to get Eric's empty .* directories.

Not the smartest thing in the world, but that was pretty stupid. Blame David.
posted by Amy Sia 4:40 PM

We are now learning CVS and will learn about morgan's timing tool soon. Some important CVS commands we might need later:
--setenv CVSROOT /project/cytron/mdeters/repo
--setenv CVSEDITOR [editor]

--cvs import
--cvs checkout
--cvs update
--cvs add
--cvs commit
posted by Eric Fesenmaier 1:24 PM

We wrote our first bit of test code for Linked List. It's pretty basic.
http://www.cs.wustl.edu/~ecf1/Tester.java
posted by Amy Sia 9:51 AM

Powered by Blogger

Description
A progress log of our implementation of a real-time-ready linked list for Java.

Related Work
Java LinkedList API
Our LinkedList notes
Tester.java
RTLinkedList.java
RTLinkedList notes

Archives
current