1

I'm having no problems of running my java app in Eclipse using -XX:UseTLAB VM argument, but when I go on amazon virtual machine it says:

[ec2-user@ip-20-256-13-520 ~]$ java -cp '.:/home/ec2-user/libs/mylib.jar' -Xmx2048m -XX:UseTLAB amazon
Unrecognized VM option 'UseTLAB'
Could not create the Java virtual machine.
4

1 回答 1

1

尝试使用 +/- 前缀

-XX:+UseTLAB 
于 2013-04-23T15:31:43.553 回答