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

Check current thread when calling JRT methods that expect it

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 18
    • 17, 18
    • hotspot
    • b20

      I found this oddity when porting Loom to x86_32. There are JRT entries that have "JavaThread* current" in their signature, and I believe that sets the expectation that JRT entry is to be called with the current thread as the argument. But, that is not mechanically checked, unless we call into thread transition. To simplify debugging, we should check current thread.

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

              Created:
              Updated:
              Resolved: