Size of pool for agent vms

Zeller, Arno arno.zeller at
Wed Nov 21 14:38:37 UTC 2018


I have a question regarding the -agentvm parameter of jtreg. The documentation states the following:
-avm | -agentvm -  Run tests using a pool of reusable JVMs.

When I use this parameter to execute jtreg tests for OpenJDK hotspot and execute the test group ':hotspot_all_no_apps' (even with a concurrency of one) I end up with a pool of more than 20 VMs. This tends to exhaust my native memory and I end up with "out of native memory" errors in the jtreg driver VM or the agent VMs.

Is there a way to limit the size of the pool?

Best regards,

More information about the jtreg-use mailing list