On Sat, 20 May 2023 16:34:15 GMT, Daniel D. Daugherty <dcu...@openjdk.org> 
wrote:

>> test/hotspot/jtreg/runtime/reflect/ReflectOutOfMemoryError.java line 28:
>> 
>>> 26:  * @bug 8297977
>>> 27:  * @summary Test that throwing OOM from reflected method gets 
>>> InvocationTargetException
>>> 28:  * @run main/othervm/timeout=150 ReflectOutOfMemoryError
>> 
>> Doesn't it make a sense to exclude this test from tier1, if it might took 
>> more than 2 minutes to complete?
>
> It's not that simple. Here's my comment from the bug:
> 
> https://bugs.openjdk.org/browse/JDK-8307783?focusedCommentId=14582995&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-14582995
> 
> In jdk-21+24-2010 (which has finished Tier[1-7]), there are 79 passing runs 
> of 
> this test and the times range from 31s -> 7m 37s. The slowest is on 
> linux-arch64, 
> but the fastest linux-aarch64 is 44s so it's not simply that linux-aarch64 is 
> slow.

Do we know why this test do not set Xmx to some reasonable value?

-------------

PR Review Comment: https://git.openjdk.org/jdk/pull/14070#discussion_r1322019307

Reply via email to