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-4729) [drlvm][jni] JNI transition should inline hythread_suspend_enable() and hythread_suspend_disable()
Date Tue, 04 Sep 2007 10:56:58 GMT
[drlvm][jni] JNI transition should inline hythread_suspend_enable() and hythread_suspend_disable()
--------------------------------------------------------------------------------------------------

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


JNI calls a pair of hythread_suspend_enable() and hythread_suspend_disable() every time the
transition occurs. That lead to serious overhead due to calls. 
The idea is to inline these methods by implementing two mnemonics in LIL - hse() and hsd(),
then LIL codegenerator will generate the code for them. More solid solution should inline
method calls in LIL, but it's too complex to achieve.

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


Mime
View raw message