harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vladimir Strigun (JIRA)" <j...@apache.org>
Subject [jira] Created: (HARMONY-4555) [drlvm][thread][perf]Thread.currentThread() works slowly
Date Thu, 26 Jul 2007 13:02:40 GMT
[drlvm][thread][perf]Thread.currentThread() works slowly

                 Key: HARMONY-4555
                 URL: https://issues.apache.org/jira/browse/HARMONY-4555
             Project: Harmony
          Issue Type: Bug
          Components: DRLVM
            Reporter: Vladimir Strigun

The test below shows that Thread.currentThread() method significantly slower in comparison
win Sun. 
I believe implementation of method through vmmagic could singnificanlty improve the situation.

Results of test execution:
java client: 200 msec
java server: 20 
harmony server: 5800 msec

Small test:
public class CurrentThreadTest {
    public static void main(String[] args) {
        long st = System.currentTimeMillis();
        for(int i=0; i< 100000000; i++) {
        long res = System.currentTimeMillis()-st;

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

View raw message