Details

    • Type: Sub-task
    • Status: Resolved
    • Priority: P2
    • Resolution: Fixed
    • Affects Version/s: 9
    • Fix Version/s: 9
    • Component/s: other-libs
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b116

      Description

      JDK-8056152 added a new constructor to java.lang.Thread to constructing Threads that do not
      inherit inheritable thread-local initial values. All usages of sun.misc.ManagedLocalsThread in
      the base module were also replaced with this new constructor. Given there is now a supported API
      for creating such threads, other areas of the JDK should be updated to use it, where applicable. If all
      usages are replaced, then sun.misc.ManagedLocalsThread can be removed.

      find . -name "*.java" -exec grep ManagedLocalsThread {} \; -print
              new sun.misc.ManagedLocalsThread(invokeObject).start();
      ./java.corba/share/classes/com/sun/corba/se/impl/corba/RequestImpl.java
      class KeepAlive extends sun.misc.ManagedLocalsThread
      ./java.corba/share/classes/com/sun/corba/se/impl/javax/rmi/CORBA/Util.java
          static class DestroyThread extends sun.misc.ManagedLocalsThread {
      ./java.corba/share/classes/com/sun/corba/se/impl/oa/poa/POAImpl.java
                      Thread thr = new sun.misc.ManagedLocalsThread(deactivator) ;
      ./java.corba/share/classes/com/sun/corba/se/impl/oa/poa/POAManagerImpl.java
          class Etherealizer extends sun.misc.ManagedLocalsThread {
      ./java.corba/share/classes/com/sun/corba/se/impl/oa/poa/POAPolicyMediatorImpl_R_USM.java
                  new sun.misc.ManagedLocalsThread(invokeObject).start();
      ./java.corba/share/classes/com/sun/corba/se/impl/orb/ORBImpl.java
          private class WorkerThread extends sun.misc.ManagedLocalsThread implements Closeable
      ./java.corba/share/classes/com/sun/corba/se/impl/orbutil/threadpool/ThreadPoolImpl.java
              sun.misc.ManagedLocalsThread
      ./java.corba/share/classes/com/sun/corba/se/impl/transport/SelectorImpl.java

        Attachments

          Activity

            People

            • Assignee:
              chegar Chris Hegarty
              Reporter:
              chegar Chris Hegarty
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: