Experiments about java threads