Check for safepoints in test loops. Reviewed-by: coleenp, eosterlund
Add NamedThreads iterator and make GlobalCounter use it. Reviewed-by: eosterlund, rehn