Assertion failure in RCHeader.decRC, #2


The failure is in the same place as the one from but it only seems to occur on x64. However, we currently don't test GenRC on PPC64, so it might be a general 64-bit issue.

I've seen this failure on the actors benchmark multiple times. A recent report is at .

Stack trace:

1 2 3 4 5 6 7 8 9 10 11 12 13 14 Using scaled threading model. 4 processors detected, 4 threads used to drive the workload, in a possible range of [1,500] ===== DaCapo 0.1.0-SNAPSHOT actors starting ===== Died in GC: vm internal error at: Thread #6 -- Stack -- (0x00001400ffcd5bf8 14048) at [0x00001400ffcd5bf8, 0x00000200083fb9ea] Lorg/jikesrvm/VM; sysFail(Ljava/lang/String;)V at line 2313 at bytecode index 27 at machine code offset 0x000000000000007a (0x00001400ffcd5c38 13877) at [0x00001400ffcd5c38, 0x00000200083fbb27] Lorg/jikesrvm/VM; _assertionFailure(Ljava/lang/String;Ljava/lang/String;)V at line 653 at bytecode index 34 at machine code offset 0x0000000000000092 (0x00001400ffcd5c88 13876) at [0x00001400ffcd5c88, 0x00000200083fbbd4] Lorg/jikesrvm/VM; _assert(ZLjava/lang/String;Ljava/lang/String;)V at line 636 at bytecode index 6 at machine code offset 0x000000000000003f (0x00001400ffcd5cd0 13874) at [0x00001400ffcd5cd0, 0x00000200082bb0d1] Lorg/jikesrvm/VM; _assert(Z)V at line 611 at bytecode index 3 at machine code offset 0x000000000000002c (0x00001400ffcd5d10 8986) at [0x00001400ffcd5d10, 0x000002000834cb36] Lorg/jikesrvm/mm/mmtk/Assert; _assert(Z)V at line 59 at bytecode index 19 at machine code offset 0x0000000000000059 (0x00001400ffcd5d68 2441) at [0x00001400ffcd5d68, 0x00000200080ec8f1] Lorg/mmtk/plan/refcount/RCHeader; decRC(Lorg/vmmagic/unboxed/ObjectReference;)I at line 327 at bytecode index 23 at machine code offset 0x0000000000000086 (0x00001400ffcd5db8 14275) at [0x00001400ffcd5db8, 0x00000200080edc2a] Lorg/mmtk/plan/refcount/RCBaseCollector; collectionPhase(SZ)V at line 203 at bytecode index 546 at machine code offset 0x0000000000000859 (0x00001400ffcd5e10 14314) at [0x00001400ffcd5e10, 0x000002000838ba91] Lorg/mmtk/plan/refcount/generational/GenRCCollector; collectionPhase(SZ)V at line 72 at bytecode index 66 at machine code offset 0x0000000000000162


x64 baseline builds (opt unknown, ppc64 unknown)





Erik Brangs



External issue ID


Fix versions

Affects versions