Menu

Commit [r3861]  Maximize  Restore  History

This commit cleans up the code in AbstractMasterJVM; it created

asynchronous threads to RMI-export "this" and the current class loader
but simply waited for their completion. The threads provided no
concurrency and added overhead.

At the suggestion of James Sasitorn, I wrapped the FileInputStreams in
SlaveJVMRunner inside BufferedInputStreams to see if that cures the
occasional 3 minute delay seen in the readObject operation used to
read the remote class loader stub file.

The commit modified the following files:

M src/edu/rice/cs/drjava/ui/DefinitionsPaneTest.java
M src/edu/rice/cs/util/newjvm/SlaveJVMRunner.java
M src/edu/rice/cs/util/newjvm/AbstractSlaveJVM.java
M src/edu/rice/cs/util/newjvm/AbstractMasterJVM.java

rcartwright 2006-05-24

changed /trunk/drjava/src/edu/rice/cs/drjava/ui/DefinitionsPaneTest.java
changed /trunk/drjava/src/edu/rice/cs/util/newjvm/AbstractMasterJVM.java
changed /trunk/drjava/src/edu/rice/cs/util/newjvm/AbstractSlaveJVM.java
changed /trunk/drjava/src/edu/rice/cs/util/newjvm/SlaveJVMRunner.java
/trunk/drjava/src/edu/rice/cs/drjava/ui/DefinitionsPaneTest.java Diff Switch to side-by-side view
Loading...
/trunk/drjava/src/edu/rice/cs/util/newjvm/AbstractMasterJVM.java Diff Switch to side-by-side view
Loading...
/trunk/drjava/src/edu/rice/cs/util/newjvm/AbstractSlaveJVM.java Diff Switch to side-by-side view
Loading...
/trunk/drjava/src/edu/rice/cs/util/newjvm/SlaveJVMRunner.java Diff Switch to side-by-side view
Loading...
MongoDB Logo MongoDB