Details
-
Improvement
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
-
None
-
None
-
Patch Available
-
Moderate
Description
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.
Attachments
Attachments
Issue Links
- blocks
-
HARMONY-4704 [drlvm][jni] JNI improvements
- Open