Recode spin loop in org.mmtk.utility.deque.Deque spinWait to reduce frequency of nanoTime calls

Description

Recode using the same pattern as other spin loops. First use VM_Time.cycles for a cheap approximate time, then use infrequent nanoTime calls to generate warnings & assertion failures.

Environment

None

Status

Assignee

DaveG

Reporter

DaveG

Labels

None

Components

Fix versions

Affects versions

Priority

Medium
Configure