harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tim Ellison <t.p.elli...@gmail.com>
Subject Patch for HARMONY-6470 ([classlib][luni] Scanner will exhaust all heap memory when parse a large file)
Date Tue, 15 Jun 2010 11:08:47 GMT
I committed this regression test, even though it takes about 1 min to
run on my machine.

If it causes any problems, or if you have a better idea for testing this
case, please say.

Regards,
Tim

On 15/Jun/2010 12:05, tellison@apache.org wrote:
> Author: tellison
> Date: Tue Jun 15 11:05:28 2010
> New Revision: 954817
> 
> URL: http://svn.apache.org/viewvc?rev=954817&view=rev
> Log:
> Apply patch for HARMONY-6470 ([classlib][luni] Scanner will exhaust all heap memory when
parse a large file)
> 
> Includes a (relatively) long running test case.
> 
> Added:
>     harmony/enhanced/java/trunk/classlib/modules/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/ScannerParseLargeFileBenchmarkTest.java
  (with props)
> Modified:
>     harmony/enhanced/java/trunk/classlib/modules/luni/src/main/java/java/util/Scanner.java
> 


Mime
View raw message