GCJ Benchmarks

Boehm, Hans hans.boehm@hp.com
Fri Apr 23 23:17:00 GMT 2004


Setting the GC_PRINT_STATS environment variable should cause the GC
to print its own (probably somewhat optimistic) impression of its
latency.  But this is really only meaningful if you are running
a benchmark whose heap contents are similar to the applications you
care about, and whose size is on the same order.  (My guess is that
typically an extra 10K lines in the application won't matter, because
the library is much bigger anyway.  But the heap contents will matter.)

Benchmarks I have used include SPECjbb (if you have access), or
a tiny benchmark with a mid-sized (maybe 10-15MB) heap called GCBench.
(http://www.hpl.hp.com/personal/Hans_Boehm/gc/gc_bench )

Hans

> -----Original Message-----
> From: java-owner@gcc.gnu.org 
> [mailto:java-owner@gcc.gnu.org]On Behalf Of
> Vladimir Levin
> Sent: Friday, April 23, 2004 8:27 AM
> To: java@gcc.gnu.org
> Subject: GCJ Benchmarks
> 
> 
> I am wondering if there are benchmark programs out there I can use to 
> measure various performance and resource consumption 
> parameters for GCJ 
> on a particular platform? In my case it is a 50Mhz Motorola 
> 855 PowerPC 
> architecture with Linux on it. I am writing my own simple 
> tests, but it 
> occured to me that some kindof suite that would report things like GC 
> latency for a range of scenarios would be really nice.
> 
> 
> 
> 



More information about the Java mailing list