Improve BootstrapLoggerTest

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Unresolved
    • Priority: P4
    • None
    • Affects Version/s: None
    • Component/s: core-libs
    • None

      During the review for JDK-8195716 a number of suggestions to improve the BootstrapLoggerTest were made:

      1. Martin Buchholz suggested copying the logic of gcAwait from a concurrency test, e.g.:
          ArrayBlockingQueue/WhiteBox.java:229: static void gcAwait(BooleanSupplier s) {

      2. Mandy Chung suggested adding more whitebox test hooks, like a
          method to join the executor's threads. That should simplify the
         logic in the test.

            Assignee:
            Daniel Fuchs
            Reporter:
            Daniel Fuchs
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: