We're updating the issue view to help you get more done. 

ReferenceTest fails for semi-space collectors and ConcMS from time to time

Description

The test ReferenceTest fails for semi-space collectors i.e. SemiSpace and UsePrimitiveWriteBarriers from time to time. It also fails for ConcMS. Failures for other collectors seem to be assertion failures that are independent of the problem described here.

Example output (from http://jikesrvm.anu.edu.au/job/x86-sanity-main-repo/218/testReport/(root)/ReferenceTest/ReferenceTest__FastAdaptiveSemiSpace___Performance____Tests__gctest_/ ):

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 ReferenceTest checking available size of heap (Mb): 26.0 Checking weak references and reference queue Fraction of weak references before GC still live = 1.0 PASS Fraction of weak references after GC still live = 1.0 FAIL Checking soft references and reference queue Fraction of soft references before GC still live = 1.0 PASS GCWarning: Live ratio greater than 1: 1.02 GCWarning: Live ratio greater than 1: 1.00 GCWarning: Live ratio greater than 1: 1.00 GCWarning: Live ratio greater than 1: 1.00 GCWarning: Live ratio greater than 1: 1.00 Caught OutOfMemoryError Fraction of soft references after GC still live = 0.0 PASS POOR ReferenceTest checking available size of heap (Mb): 62.1 Overall: 1 FAILURES

Environment

IA32, not tested on PPC

Status

Assignee

Unassigned

Reporter

Erik Brangs

Labels

None

External issue ID

None

Components

Fix versions

Affects versions

git tip

Priority

Low