JDK-8241337 : Refine assertions to try and identify thread with errant _stack_base
  • Type: Sub-task
  • Component: hotspot
  • Sub-Component: runtime
  • Affected Version: 15
  • Priority: P4
  • Status: Closed
  • Resolution: Not an Issue
  • Submitted: 2020-03-20
  • Updated: 2020-03-22
  • Resolved: 2020-03-22
Description
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().
Comments
The added assertions will be reverted as part of the fix for JDK-8239895
22-03-2020