db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kathey Marsden <kmarsdende...@sbcglobal.net>
Subject Questions about largeCodeGen test
Date Fri, 02 Dec 2005 17:26:12 GMT
The test lang/largeCodeGen.java  is not run with derbyall. I t contains
some cases that are known failures and has no master.
I did some cleanup of this test and added some new cases  (svn 351776 )
in preparation for fixing DERBY-739, but found this case fails.

// 2000 unions caused method too big error in verifier
        largeUnionSelect(con, viewName, 2000);

>From the tense of the comment I think it perhaps was at one time fixed
but may have regressed. Current output of the test is.
*** Start: largeCodeGen jdk1.4.2_03 2005-12-02 09:14:28 ***
0 add
> PASS: WHERE clause with 200 parameters
> FAILED QUERY: WHERE clause with 400 parameters. ERROR XBCM2: Cannot
create an instance of generated class
> FAILED QUERY: SELECT with 2000 unions. ERROR XBCM1: Java linkage error
thrown during load of generated class
> FAILED QUERY: SELECT with 10000 unions. ERROR XBCM1: Java linkage
error thrown during load of generated class
> java.io.IOException: constant_pool(70285 > 65535)
Test Failed.
*** End:   largeCodeGen jdk1.4.2_03 2005-12-02 09:19:52 ***

I am thinking I will move this test into derbyall, failures and all
since this is a sensitive area where we often rob Peter to pay Paul and
even a difference in the symptoms of the failed cases is worth looking
at if it changes. Two possible areas of concern are.

1) This would check  failing tests into the master directory
2) The largeCodeGen_app.proproperties has to include
jvmflags=-Xmx512M -Xms512M
3) The test takes about 5 minutes.

My questions
1) Was largeUnionSelect(con, viewName, 2000) passing at one time?
1) Anyone see any issues with enabling this test?



View raw message