RFR : 8014819 : set max size for jtreg test vms
joe.darcy at oracle.com
Wed May 22 00:01:21 UTC 2013
On 5/21/2013 3:42 PM, Mike Duigou wrote:
> Hello all;
> A lot more people have been playing with using concurrency lately with JTReg and most have found that tests will frequently fail or error out because of OOM errors. The problem is that the jdk/test/Makefile currently doesn't specify a size for the vm instances used for running tests. This results in "VM Ergonomics" sizing being used and the test VMs which get created are generally too large to run very many of them.
> This patch sets a specific size to the vm instances created to run tests, 512MB. This value has been successfully used to run tests by our internal SQE team and by Alan Bateman for quite some time. It also seems to work for me. Individual tests which require more memory can specify their requirements using explicit -Xmx options in @run tags.
More information about the core-libs-dev