RFR [XS] : 8229182: runtime/containers/docker/TestMemoryAwareness.java test fails on SLES12
Baesken, Matthias
matthias.baesken at sap.com
Tue Aug 27 14:20:48 UTC 2019
Hello , my suggestions was " appendJavaOpts " :
In case we want to be safe, I suggest to add an additional method " appendJavaOpts "
opts.appendJavaOpts("-Xmx" + javaHeapSize);
to DockerRunOptions ; appendJavaOpts would append the options after the testJavaOpts (so Xmx can be overwritten ).
But if overrideJavaOpts is preferred that fine with me too ...
Best regards, Matthias
>
> On Tue, 2019-08-27 at 13:49 +0000, Baesken, Matthias wrote:
> > http://cr.openjdk.java.net/~mbaesken/webrevs/8229182.3/
>
> OK, so, in summary, the constraints are as follows:
>
> * We don't want to turn of appending global test java options as these
> could possibly contain local options to a specific test environment.
> It would be a surprise if docker tests wouldn't have them.
> * Just setting Java options is not enough as the intention is to set
> them for the Docker test, but could potentially be overridden by
> global test options (this issue).
>
> Given we'd like to keep that general design, maybe it would make sense
> to create a 3'rd, separate set of flags, neither java options nor test
> options would manage to override. Call it "overrideJavaOpts" or some
> such. At least that would make it clear that these options if set have
> the final say.
>
> Thoughts?
>
> Thanks,
> Severin
More information about the hotspot-dev
mailing list