[2820] in java-interest

home help back first fref pref prev next nref lref last post

Re: Netscape .car file format?

daemon@ATHENA.MIT.EDU (Simon Spero)
Mon Oct 16 16:15:15 1995

Date: Mon, 16 Oct 1995 10:40:34 -0700 (PDT)
From: Simon Spero <ses@tipper.oit.unc.edu>
To: Arthur van Hoff <Arthur.Vanhoff@Eng.Sun.COM>
Cc: java-interest@java.Eng.Sun.COM
In-Reply-To: <199510161640.JAA04420@jakarta.Eng.Sun.COM>

On Mon, 16 Oct 1995, Arthur van Hoff wrote:

> Hi Simon,
> 
> > Talking about class load times; does the class loader issue requests for 
> > remote classes in serial, or does it ask for all the classes in this 
> > classes pool at once? It seems to be serialised, but I could be wrong.
> 
> The class loader can request the classes in arbitrary order. The car file
> is a random access file.

Arthur - what I was trying to find out is whether the class-loader can be 
made to load several classes at once, as opposed to one-at-a-time; I've 
been runnning hotjava cross-continent through an http->ng->http relay, 
and I noticed that according to the the progress monitor, only one class 
at a time ever seems to be requested, meaning that the pipe stalls after 
each class is finished. Although classes are an ideal subject for server 
pre-send, it'd be nice to be able to have client pre-fetch in use as well

Simon


---
(defun modexpt (x y n)  "computes (x^y) mod n"
  (cond ((= y 0) 1) 	((= y 1) (mod x n))
	((evenp y) (mod (expt (modexpt x (/ y 2) n) 2) n))
	(t (mod (* x (modexpt x (1- y) n)) n))))

-
Note to Sun employees: this is an EXTERNAL mailing list!
Info: send 'help' to java-interest-request@java.sun.com

home help back first fref pref prev next nref lref last post