JDK-8241043 expanded the assertion to get more information when the sanity check fails, but calling name() failed because we don't own the Threads_lock(). I got confused about "this thread" versus "current thread" in regards to the assertion in name().
|