[kaffe] native threads

Jules Bean jmlb2 at hermes.cam.ac.uk
Sat Feb 13 01:56:28 PST 1999


On Fri, 12 Feb 1999, Mihai Surdeanu wrote:

> > >The port by itself wouldn't be.  Optimizing a VM for an SMP might be
> > >a thesis paper.
> This is what I'm working on for mine... I see some nice issues in it:
> processor allocation algorithms, memory consistency models and distributed
> garbage collection. I believe that these issues have not been really
> discussed from the Java perspective (especially for systems without shared
> memory).
> 
> > >Hard to say how long it would take: it depends on how familiar you
> > >are with multi-threaded programming and how familiar you are with Kaffe.
> > >Could take anywhere from a day to two weeks.
> 
> For what it's worth:
> I started to work in Dec 98 on a distributed VM (based on kaffe) for a
> network of workstations. I had no idea what's inside kaffe. It took me
> about 2 months :) to have a basic system (no gc, no awt) running (almost
> stable). I'm using jthreads and jit on linux. The system transparently
> distributes threads, objects and locks over the network. Now I have to
> start worrying about the real stuff: Java oriented processor allocation
> algorithms, object consistency protocols (single-writer vs multiple
> writers, lazy release vs eager release vs ...) etc.

Woah.

That's very cool indeed.

Do you plan to let other people play with this at any point?

Jules

/----------------+-------------------------------+---------------------\
|  Jelibean aka  | jules at jellybean.co.uk         |  6 Evelyn Rd	       |
|  Jules aka     | jules at debian.org              |  Richmond, Surrey   |
|  Julian Bean   | jmlb2 at hermes.cam.ac.uk        |  TW9 2TF *UK*       |
+----------------+-------------------------------+---------------------+
|  War doesn't demonstrate who's right... just who's left.             |
|  When privacy is outlawed... only the outlaws have privacy.          |
\----------------------------------------------------------------------/



More information about the kaffe mailing list