RFR: 8217170: gc/arguments/TestUseCompressedOopsErgo.java timed out
Kim Barrett
kim.barrett at oracle.com
Mon Jul 8 20:55:58 UTC 2019
> On Jul 8, 2019, at 4:44 AM, Thomas Schatzl <thomas.schatzl at oracle.com> wrote:
>
> Hi,
>
> On Sat, 2019-07-06 at 17:45 -0400, Kim Barrett wrote:
>> Please review this change to many of the tests in gc/arguments to
>> reduce the chances of some of them timing out on some platform
>> configurations, especially when run with debug builds.
>>
> [..]
>> To address the problem there is a new helper class, GCArguments,
>> which provides wrappers around ProcessTools.createJavaProcessBuilder
>> to add options to disable those problematic features. The options
>> are added at the front, so they can be re-enabled by later options
>> from a test if desired (such as the test that checks
>> VerifyBeforeExit). The tests have been updated to call that new
>> wrapper.
>>
>> There is still some residual odd slowness to at least some of these
>> tests. The child processes usually take 10's to low 100's of
>> milliseconds to run, but sometimes 3-5 seconds (or 20+ seconds when
>> using CMS; don't know what's up with that). So there's further
>> investigation to be done, but the changes being made here at least
>> reduce the spurious timeout noise in regression testing.
>
> There are a few other trueInDebug flags, but apart from
> ZapFillerObjects there is nothing obvious. And even that seems doubtful
> to cause issues.
Yes, I didn’t see anything obvious when looking at trueInDebug flags either.
Getting relevant information out of these child processes seems to be somewhat
tricky, but Markus Gronlund is helping me with that. We’ll see what shows up;
I’m guessing that once we get the proper state information it will be completely
obvious and we’ll wonder why we didn’t think of that...
>> CR:
>> https://bugs.openjdk.java.net/browse/JDK-8217170
>>
>> Webrev:
>> http://cr.openjdk.java.net/~kbarrett/8217170/open.00/
>>
>
> looks good.
>
> Thomas
Thanks.
More information about the hotspot-gc-dev
mailing list