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

Thread.getName() instantiates Strings

    XMLWordPrintable

Details

    • b42

    Backports

      Description

        "Reported" here: https://twitter.com/VladimirSitnikv/status/518043826678956033

        We can just store the String as Thread.name, can't we?
        Are there initialization races? Security implications?

        Attachments

          Issue Links

            Activity

              People

                shade Aleksey Shipilev
                shade Aleksey Shipilev
                Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: