Strong thread migration in hetereogeneous environment