Use -Xshare:auto instead of -Xshare:on