RFR: add ability to execute external command before/after forked JVM

Aleksey Shipilev aleksey.shipilev at oracle.com
Fri Jun 21 08:12:31 PDT 2013


On 06/21/2013 06:32 PM, Sergey Kuksenko wrote:
> Add ability to execute external command before/after forked JVM.
> Two new options: -execBeforeJVM <cmdstring> and -execAfterJVM <cmdstring>.

I have a few questions:
  a) Does it matter to bind to JVM launches? I'd rather call it
--execBeforeTrial --execAfterTrial and execute even in the non-forked runs.
  b) Does it make sense to expose the API to launch external commands
from @Setup and @TearDown? Will it fit your purpose better without
contaminating the command line API with new options?

-Aleksey.




More information about the jmh-dev mailing list