Deadlock when using ExecutorService with Futures

Description

The attached code does not complete with Jikes RVM. Other Java VMs (e.g., Hotspot) successfully completes the attached code.

The code does not work with the most recent version of Jikes (3.1.1) I build Jikes for ia32 with production configuration. The VM is launched without additional command-line parameters.

Environment

Linux 2.6.32-24-generic #43-Ubuntu SMP Thu Sep 16 14:17:33 UTC 2010 i686 GNU/Linux

Status

Assignee

Daniel Frampton

Reporter

Albert Noll

Labels

None

External issue ID

None

Fix versions

Affects versions

3.1.1

Priority

Medium