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

Sergey Kuksenko sergey.kuksenko at oracle.com
Fri Jun 21 08:45:51 PDT 2013


I withdraw the patch for a while.
I have to do yet another couple of experiment.

On 06/21/2013 07:12 PM, Aleksey Shipilev wrote:
> 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.
>
>


-- 
Best regards,
Sergey Kuksenko


More information about the jmh-dev mailing list