public static boolean isHotSpot(){
  return jvmImplName.contains("Java HotSpot(TM)");
}

public static boolean isHotSpot ( ) { return jvmImplName . contains ( "Java HotSpot(TM)" ) ; }
indicates whether hotspot vm is used .
