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

Thread.getName() instantiates Strings

    Details

    • Subcomponent:
    • Resolved In Build:
      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?

          Issue Links

            Activity

            Show
            shade Aleksey Shipilev added a comment - Update:    http://cr.openjdk.java.net/~shade/8059677/webrev.03.jdk/    http://cr.openjdk.java.net/~shade/8059677/webrev.03.hs/ Changesets:   http://cr.openjdk.java.net/~shade/8059677/8059677-jdk.changeset   http://cr.openjdk.java.net/~shade/8059677/8059677-hs.changeset  
            Hide
            hgupdate HG Updates added a comment -
            URL: http://hg.openjdk.java.net/jdk9/hs-rt/hotspot/rev/9dc4d4fc73ca
            User: coleenp
            Date: 2014-11-13 05:42:50 +0000
            Show
            hgupdate HG Updates added a comment - URL: http://hg.openjdk.java.net/jdk9/hs-rt/hotspot/rev/9dc4d4fc73ca User: coleenp Date: 2014-11-13 05:42:50 +0000
            Hide
            hgupdate HG Updates added a comment -
            URL: http://hg.openjdk.java.net/jdk9/hs-rt/jdk/rev/0bddfc90d139
            User: coleenp
            Date: 2014-11-13 05:42:52 +0000
            Show
            hgupdate HG Updates added a comment - URL: http://hg.openjdk.java.net/jdk9/hs-rt/jdk/rev/0bddfc90d139 User: coleenp Date: 2014-11-13 05:42:52 +0000
            Hide
            hgupdate HG Updates added a comment -
            URL: http://hg.openjdk.java.net/jdk9/jdk9/hotspot/rev/9dc4d4fc73ca
            User: lana
            Date: 2014-12-10 19:54:57 +0000
            Show
            hgupdate HG Updates added a comment - URL: http://hg.openjdk.java.net/jdk9/jdk9/hotspot/rev/9dc4d4fc73ca User: lana Date: 2014-12-10 19:54:57 +0000
            Hide
            hgupdate HG Updates added a comment -
            URL: http://hg.openjdk.java.net/jdk9/jdk9/jdk/rev/0bddfc90d139
            User: lana
            Date: 2014-12-10 19:55:01 +0000
            Show
            hgupdate HG Updates added a comment - URL: http://hg.openjdk.java.net/jdk9/jdk9/jdk/rev/0bddfc90d139 User: lana Date: 2014-12-10 19:55:01 +0000

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: