Java application bottleneck positioning