JDK-8204529 : gc/TestAllocateHeapAtMultiple.java fail with Agent 7 timed out
  • Type: Bug
  • Component: hotspot
  • Sub-Component: gc
  • Affected Version: 11,12
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2018-06-07
  • Updated: 2019-11-29
  • Resolved: 2018-11-09
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 11 JDK 12
11.0.7-oracleFixed 12 b20Fixed
Related Reports
Relates :  
Relates :  
Description
Test: gc/TestAllocateHeapAtMultiple.java
Error:
result: Error. Agent error: java.lang.Exception: Agent 7 timed out with a timeout of 1200 seconds; check console log for any additional details
Comments
Fix request (11u) I would like to downport this for parity with 11.0.7-oracle. Applies clean.
28-11-2019

Copied all sightings and most of the notes over to JDK-8205526. Closing this bug as a duplicate of JDK-8205526. Update: See Erik J.'s analysis of this test in JDK-8205526 along with his explanation for why a simple increase in the default timeout for the test will stop it from timing out.
09-11-2018

This increase in the default timeout value combined with the current default timeout factor of 4 will results in a total timeout value of 24 minutes: $ hg diff diff -r 35986f2223fe test/hotspot/jtreg/gc/TestAllocateHeapAtMultiple.java --- a/test/hotspot/jtreg/gc/TestAllocateHeapAtMultiple.java Fri Nov 02 12:33:28 2018 -0700 +++ b/test/hotspot/jtreg/gc/TestAllocateHeapAtMultiple.java Thu Nov 08 19:45:05 2018 -0500 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2017, 2018, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -27,6 +27,7 @@ * @library /test/lib * @modules java.base/jdk.internal.misc * @requires vm.bits == "64" & vm.gc != "Z" & os.family != "aix" + * @run main/timeout=360 TestAllocateHeapAtMultiple */ import jdk.test.lib.JDKToolFinder;
09-11-2018