Default setting for -retain
Jonathan Gibbons
jonathan.gibbons at oracle.com
Mon Jan 21 08:13:57 PST 2013
On 01/21/2013 05:06 AM, Christian Törnqvist wrote:
> Hi everyone,
>
>
>
> >From the docs of the -retain flag:
>
>
>
> "Specify files to be retained after each test completes executing. If -retain is not specified, only the files from the last test executed will be retained. If -retain is specified with no argument, all files will be retained."
>
>
>
> I think the default value should be to retain the files from all failed tests. I recently ended up spending over an hour reproducing an intermittent JVM crash (to get the hs_err and core file that wasn't saved the first time) since I had forgot to add -retain:fail to my command line when running the tests.
>
>
>
> Best regards,
>
> Christian
In general, I recommend using a wrapper script to set the options that
work best for you.
-- Jon
More information about the jtreg-dev
mailing list