UBS interview question

JVM performance