Added check for hotspot jvm, to bypass the code on android