Patch: FYI: small test suite change

Ranjit Mathew rmathew@hotmail.com
Thu Jul 10 10:27:00 GMT 2003


Andrew Haley wrote:
> Mark Wielaard writes:
>  > Hi,
>  > 
>  > On Wed, 2003-07-09 at 22:57, Tom Tromey wrote:
>  > > Anyway, this makes one of the tests a little more efficient, so we
>  > > don't time out when running it in the interpreter.
>  > >
>  > > from  Jeff Sturm  <jsturm@one-point.com>
>  > > 
>  > > 	* libjava.lang/SyncTest.java (run): Cache .class value.
>  > 
>  > 
>  > This test has been very important in the past since it showed two
>  > problems:
>  > 1. That .class constructs were not cached at all.
>  > 2. That when doing a class lookup (and stack walk) using the interpreter
>  > was horribly slow (which seem to have been fixed in 3.4).
> 
> If this is fixed in 3,4, why do we need to change the test case?

I believe it was inspired by this:

    http://gcc.gnu.org/ml/java/2003-01/msg00297.html

Ranjit.

-- 
Ranjit Mathew          Email: rmathew AT hotmail DOT com

Bangalore, INDIA.      Web: http://ranjitmathew.tripod.com/




More information about the Java-patches mailing list