Routine test failure
Jan Lahoda
jan.lahoda at oracle.com
Mon Jan 15 20:15:05 UTC 2018
On 15.1.2018 17:37, Jonathan Gibbons wrote:
> I'll try that out.
Thanks.
>
> What's the test doing that requires so much time and memory?
Looks at all javadocs in the image (from src.zip), and checks that the
JavadocHelper.getResolvedDocComment method does not crash on them.
Jan
>
> -- Jon
>
>
> On 1/15/18 3:55 AM, Jan Lahoda wrote:
>> So, would something like the following work?
>> ------------
>> diff -r d16ebd094618
>> test/langtools/jdk/internal/shellsupport/doc/JavadocHelperTest.java
>> ---
>> a/test/langtools/jdk/internal/shellsupport/doc/JavadocHelperTest.java
>> Thu Jan 11 16:22:50 2018 +0100
>> +++
>> b/test/langtools/jdk/internal/shellsupport/doc/JavadocHelperTest.java
>> Mon Jan 15 12:53:11 2018 +0100
>> @@ -30,7 +30,7 @@
>> * jdk.compiler/com.sun.tools.javac.main
>> * jdk.compiler/jdk.internal.shellsupport.doc
>> * @build toolbox.ToolBox toolbox.JarTask toolbox.JavacTask
>> - * @run testng/timeout=900/othervm JavadocHelperTest
>> + * @run testng/timeout=900/othervm -Xmx1024m JavadocHelperTest
>>
>>
>> */
>>
>>
>>
>>
>>
>>
>> import java.io.IOException;
>>
>>
>> ------------
>>
>> Jan
>>
>>
>> On 2.1.2018 22:34, Jonathan Gibbons wrote:
>>> Kulla folk,
>>>
>>> When I run the following test locally, it routinely fails with an Out Of
>>> Memory error.
>>> test/langtools/jdk/internal/shellsupport/doc/JavadocHelperTest.java
>>>
>>> STDOUT:
>>> [TestNG] Running:
>>> jdk/internal/shellsupport/doc/JavadocHelperTest.java
>>>
>>> test JavadocHelperTest.testAllDocs(): failure
>>> java.lang.OutOfMemoryError: Java heap space: failed reallocation of
>>> scalar replaced objects
>>>
>>>
>>> Should it have some custom configuration to ensure it has enough memory?
>>>
>>> -- Jon
>>>
>>>
>
More information about the kulla-dev
mailing list