RFR(S): 8180631: [TESTBUG] CDS tests should use CDSTestUtils.executeAndLog whenever spawning sub processes
Calvin Cheung
calvin.cheung at oracle.com
Tue May 23 18:43:03 UTC 2017
Hi Misha,
Just one comment on LimitedSharedSizes.java:
171 try {
172 CDSTestUtils.executeAndLog(pb, "use" + counter)
173 .shouldContain("archive is valid");
Do you need to cache the output in line 172 since you're checking it in
the catch block?
thanks,
Calvin
On 5/18/17, 5:30 PM, Mikhailo Seledtsov wrote:
> Please review this simple change that uses
> CDSTestUtils.executeAndLog() for starting child
> processes in CDS tests, in places that did not use this method before.
> In short, this change brings
> benefits of recording the output of child processes thus aiding in
> troubleshooting of failures.
> For more details see bug description.
>
> JBS: https://bugs.openjdk.java.net/browse/JDK-8180631/
> Webrev: http://cr.openjdk.java.net/~mseledtsov/8180631.01/
> Testing:
> CDS tests on Linux-x64 (local) - PASS
> CDS tests via automated multi-platform test system - in Progress
>
> Thank you,
> Misha
More information about the hotspot-runtime-dev
mailing list