RFR: 8073669 - gc/TestSoftReferencesBehaviorOnOOME.java times out in nightlies

Mikael Gerdin mikael.gerdin at oracle.com
Thu Feb 26 12:36:07 UTC 2015


Hi Andrey

On 2015-02-26 13:21, Andrey Zakharov wrote:
> Hi, team.
> gc/TestSoftReferencesBehaviorOnOOME.java times out in nightlies.
> Ignore it for a while due its unstable even locally - GC Overtime,
> unexpected OOM and timeouts in a wild.
> Need more time to fix it.
>
> webrev:
> http://cr.openjdk.java.net/~azakharov/8073669/webrev/

@ignore must be after @library, because @ignore is an alias for "@run 
ignore" and @library must be before all @run statements.

With you change I get:
$ jtreg -jdk:/localhome/java/jdk9-local/fastdebug 
gc/TestSoftReferencesBehaviorOnOOME.java
Directory "JTwork" not found: creating
Directory "JTreport" not found: creating
--------------------------------------------------
TEST: gc/TestSoftReferencesBehaviorOnOOME.java
???

TEST RESULT: Error. Parse Exception: `@library' must appear before first 
`@run'
--------------------------------------------------
Test results: error: 1

Moving @ignore to after @library I get
$ jtreg -jdk:/localhome/java/jdk9-local/fastdebug 
gc/TestSoftReferencesBehaviorOnOOME.java
--------------------------------------------------
TEST: gc/TestSoftReferencesBehaviorOnOOME.java
JDK under test: (/localhome/java/jdk9-local/fastdebug)
java version "1.9.0-internal-fastdebug"
Java(TM) SE Runtime Environment (build 
1.9.0-internal-fastdebug-_2015_02_24_07_00-b00)
Java HotSpot(TM) 64-Bit Server VM (build 
1.9.0-internal-fastdebug-_2015_02_24_07_00-b00, mixed mode)


ACTION: ignore -- Error. Test ignored: 4711
REASON: User specified action: run ignore 4711
TIME:   0.003 seconds
messages:
command: ignore 4711
reason: User specified action: run ignore 4711
elapsed time (seconds): 0.003
rerun:
# @ignore: 4711
exit 1

TEST RESULT: Error. Test ignored: 4711
--------------------------------------------------
Test results: error: 1

/Mikael

>
> testbug:
> https://bugs.openjdk.java.net/browse/JDK-8073669
>
> Thanks.
>
>


More information about the hotspot-gc-dev mailing list