harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pavel Afremov (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HARMONY-3065) [DRLVM][hy_thr] Force inline of p_TLS_vmthread and tmn_suspent_enable/disable.
Date Fri, 26 Jan 2007 13:43:49 GMT

     [ https://issues.apache.org/jira/browse/HARMONY-3065?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Pavel Afremov updated HARMONY-3065:
-----------------------------------

    Attachment: JNIExceptionPerf.zip

Test to check performance of JNI ExceptionOccurred. Test was built by me for Windows XP and
SuSE 9 Linux.

To build  .dll for window I use command:
cl /O2 /I "$JAVA_HOME\include" /I "$JAVA_HOME\include\win32" /D "WIN32" /D "NDEBUG" /D "_CONSOLE"
/D "_VC80_UPGRADE=0x0710" /D "_WINDLL" /D "_MBCS" /LD /FeJNIExceptionTest.dll ./JNIExceptionTest.cpp

To build .so for linux:
g++ -O3 -I $JAVA_HOME/include/ -I $JAVA_HOME/include/linux/ -shared - fpic -olibJNIExceptionTest.so
./JNIExceptionTest.cpp

To build .class:
javac JNIExceptionTest.java



> [DRLVM][hy_thr] Force inline of p_TLS_vmthread and tmn_suspent_enable/disable.
> ------------------------------------------------------------------------------
>
>                 Key: HARMONY-3065
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3065
>             Project: Harmony
>          Issue Type: Improvement
>          Components: DRLVM
>            Reporter: Pavel Afremov
>         Attachments: 0001-Force-inline-of-p_TLS_vmthread-and-tmn_suspent_enable-disable.txt,
JNIExceptionPerf.zip
>
>
> Force inline of p_TLS_vmthread and tmn_suspent_enable/disable. It improve performance
up to 3 times.

-- 
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