JDK-8291650 : Add delay to ClassUnloadEventTest before exiting to give time for JVM to send all events before VMDeath
  • Type: Sub-task
  • Component: core-svc
  • Sub-Component: debugger
  • Affected Version: 20
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2022-08-01
  • Updated: 2022-10-28
  • Resolved: 2022-08-02
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 17 JDK 20
17.0.6Fixed 20 b09Fixed
Related Reports
Relates :  
Description
Near the end of the test, it forces a GC so ClassUnloadEvents will be generated, and then the test immediately exits. However, the ClassUnloadEvents might not be sent out before the VMDeath is generated, and it prevents delivery of any more events. A short delay after the GC should give the JVM time to deliver the ClassUnloadEvents first.
Comments
Fix request [17u] on behalf of Andrew Dinn Required follow up of JDK-8256811.
28-10-2022

A pull request was submitted for review. URL: https://git.openjdk.org/jdk17u-dev/pull/824 Date: 2022-10-24 15:46:32 +0000
24-10-2022

Changeset: a6564d49 Author: Chris Plummer <cjplummer@openjdk.org> Date: 2022-08-02 21:13:00 +0000 URL: https://git.openjdk.org/jdk/commit/a6564d495b6c2354b82cd49243d3c8793d95f2cb
02-08-2022

A pull request was submitted for review. URL: https://git.openjdk.org/jdk/pull/9708 Date: 2022-08-01 21:02:39 +0000
01-08-2022