> 
> I said this on comp.compilers and think it may interest some in this
> news group. According to the site, the performance of this VM is
> comparable to Sun's hotspot. It's released under a BSDish license.
> Anyone with more Java VM programming experience cares to take a look at
> it and see how hard would it be to port it to Linux? 
> 

>From what I can tell, it should be easy to port Linux---Sparc/Linux, 
that is.

They basically started with the last BSDed kaffe (0.9.2) and completely
rewrote the engines and the allocator/gc subsystem.  In doing so, they 
sacrificed kaffe's portability layer in order to speed up execution on 
the sparc platform.
(The top of the mark stack in the gc, for instance, is declared as 
void * mark_top asm("g5"); or something similar --- hey, what the heck)

They also optimized their memory allocator for a uniprocessor 
platform by locking out other threads during allocations---this saves
a gc_lock and the contention is can cause and doesn't require them
to provide per-thread allocation arenas.  Not suitable for SMP, but
fair enough.

They also don't implement stack limit checking because of the associated
performance costs, which in my view may make some of their results 
look not as good.  But I haven't read their discussion in their paper
yet.

Latte at this point may be more suited as a research platform (which 
is what it's intended for) than as a usable JVM, given that only a 
subset of 1.1 is implemented.

The codebase is *very* readable and *very well* documented, and easy to 
understand---especially for someone with a kaffe background.

        - Godmar


----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to