Some test code to verify Java concurrent profile features.