Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8218141

Improve BootstrapLoggerTest

    XMLWordPrintable

    Details

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

      Description

      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.

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated: