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.