Immix fails with unclear error message in builds without assertions when hardcoded thread limit is exceeded

Description

The attached test case is executed with the following parameters:

-Xms1000m -Xmx2000m -X:gc:verbose=2

The same test works fine with Jikes 32-bit

[Full heap][GC 1 Start 582.88 ms 774056KB
Fatal error: ArrayIndexOutOfBoundsException within uninterruptible region (index was 27).

Fatal error: ArrayIndexOutOfBoundsException within uninterruptible region (index was 26).
Exception in GC thread

Fatal error: ArrayIndexOutOfBoundsException within uninterruptible region (index was 21).
Thread 30: VM.sysFail(): We're in a (likely) recursive call to VM.sysFail(), 2 deep
sysFail was called with the message: Exiting virtual machine due to uninterruptibility violation.
Exception in GC thread

Fatal error: ArrayIndexOutOfBoundsException within uninterruptible region (index was 18).
Exception in GC thread
Died in GC:
Exception in GC thread
Thread 25: VM.sysFail(): We're in a (likely) recursive call to VM.sysFail(), 3 deep
sysFail was called with the message: Exiting virtual machine due to uninterruptibility violation.
Exception in GC thread
Died in GC:
Thread 22: VM.sysFail(): We're in a (likely) recursive call to VM.sysFail(), 4 deep
sysFail was called with the message: Exiting virtual machine due to uninterruptibility violation.
Exception in GC thread

Fatal error: ArrayIndexOutOfBoundsException within uninterruptible region (index was 28).
Exception in GC thread
Exception in GC thread
Thread 32: VM.sysFail(): We're in a (likely) recursive call to VM.sysFail(), 5 deep
sysFail was called with the message: Exiting virtual machine due to uninterruptibility violation.
Exiting virtual machine due to uninterruptibility violattion.

Environment

x86_64;production configuration;ubuntu 3.0.0-15-server-offcore; Intel(R) Xeon(R) CPU E7- 4830 @ 2.13GHz

Assignee

Erik Brangs

Reporter

Albert Noll

Labels

None

Components

Fix versions

Affects versions

Priority

High
Configure