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

Unexpected change of behavior of ForkJoin common pool clearing thread locals

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P4
    • tbd
    • 17, 18
    • core-libs
    • None

    Description

      As part of https://bugs.openjdk.java.net/browse/JDK-8246585 the ForkJoin common pool has changed it behavior wrt ThreadLocals

      The change introduced makes the common pool clear the ThreadLocals since the common pool is now created using InnocuousForkJoinWorkerThread.

      Is this change intended?

      We found this when using logstash-logback-encoder together with the common pool - https://github.com/logfellow/logstash-logback-encoder/issues/722



      Attachments

        Issue Links

          Activity

            People

              jpai Jaikiran Pai
              klward Klara Ward
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated: