Add delay to ClassUnloadEventTest before exiting to give time for JVM to send all events before VMDeath

XMLWordPrintable

    • b09

        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.

              Assignee:
              Chris Plummer
              Reporter:
              Chris Plummer
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: