harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aleksey Shipilev (JIRA)" <j...@apache.org>
Subject [jira] Created: (HARMONY-4705) [drlvm][jni] JNI transition uses ineffective TLS get
Date Fri, 31 Aug 2007 10:48:30 GMT
[drlvm][jni] JNI transition uses ineffective TLS get

                 Key: HARMONY-4705
                 URL: https://issues.apache.org/jira/browse/HARMONY-4705
             Project: Harmony
          Issue Type: Improvement
          Components: DRLVM
            Reporter: Aleksey Shipilev

For now, JNI transition uses ineffective scheme of TLS getting - it is done via several recursive
calls, finally reaching hythread_self().
The idea is to inline helper for TLS get instead of calling get_thread_ptr_stub(). Disassembly
shows that 10 push/pops and 3 calls are completely eliminated there, keeping in mind that
TLS get occurs at least 3 times on each JNI transition this give us a huge boost there, eliminating
up to 30 push/pops and 9 calls.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message