This is the mail archive of the java-discuss@sourceware.cygnus.com mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Array marking


Tom Tromey wrote:

> Maybe we're doing it to ensure the array's class gets marked.
> Right now I think (heap-allocated) vtables aren't scanned at all,
> so we have to mark the class explicitly.  We could fix this, though.
>
> We really do need nicer GC interfaces... I have some stuff here on
> that to look at, but I haven't been able to dig up the time.
>
> ISTR you have a GC benchmark of some sort.
> If you want to run it both ways (hacking out the array marker is
> probably easy), that would be cool.

I did that, and I got the bitmap-marking-descriptor stuff working.
Together they seem to be worth some pretty serious performance gains -
some of my gc tests are running 40 - 50% faster now, and ShellSort is now
twice as fast as the IBM JDK (using --no-bounds-check).

I'm getting some strange crashes though which look like they might be
vtables getting freed or some such weirdness. I'm investigating...

regards

  [ bryce ]



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]