harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexei Fedotov" <alexei.fedo...@gmail.com>
Subject Re: [drlvm]Leave classunloading on by default?
Date Sat, 17 Nov 2007 17:59:49 GMT
> it may inspire somebody to write
> a stress test that creates lots of new classes in order to exercise
> Harmony's class unloading code.

Four stress tests on class unloading were written by Nikolay Chugunov
last year. They are currently in the exclude list of the stress test
suite. I wonder if they should be enabled (= class unloading is on by
default).


On 11/17/07, Tim Ellison <t.p.ellison@gmail.com> wrote:
> Robin Garner wrote:
> > Rana Dasgupta wrote:
> >>   BTW, I have been unable to find a scenario that stresses the gc
> >> heap, and needs to unload unused classes, and it would be good find
> >> such  test cases.
> >
> > The DaCapo benchmarks project is currently evaluating new benchmarks,
> > and in svn right now there is a derby benchmark based on JDBCBench (ie
> > almost a direct copy of the hsqldb benchmark).
> >
> > Because derby compiles SQL queries into Java classes, after a couple of
> > iterations of the benchmark, it requires class unloading.  The benchmark
> > appears to run in a ~25M heap, and allocates much more than that.
> >
> > It's almost certain that we won't release this as the final derby
> > benchmark, but I might package it separately as a class-unloading unit
> > test.  But in the meantime, if you want to build dacapo from svn head,
> > it might be exactly what you're after.
>
> ack -- thanks Robin.  At the very least it may inspire somebody to write
> a stress test that creates lots of new classes in order to exercise
> Harmony's class unloading code.
>
> Regards,
> Tim
>


-- 
With best regards,
Alexei,
ESSD, Intel

Mime
View raw message