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] Updated: (HARMONY-5396) [drlvm][em] excess ValueProfiler locking causes degradation on JITted code with profiling
Date Thu, 07 Feb 2008 17:12:08 GMT

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

Aleksey Shipilev updated HARMONY-5396:
--------------------------------------

    Attachment: 0002-ValueProfileCollector-implementing-locking-strategies.txt

0002-ValueProfileCollector-implementing-locking-strategies.txt
Implementing discussed locking strategies for non-critical data:
 FREE - no locking at all
 MUTEX - conventional mutexes locking
 FLAG - locking with "occupied' flag

Behavior is controlled with lockStrategy option:

../builds/shade.r618316.P.VPlock/bin/java -Xem:server QSort
VALUE_PROF.lockStrategy=MUTEX (default)
Iteration 0, elapsed: 20874 ms
Iteration 1, elapsed: 875 ms
Iteration 2, elapsed: 891 ms
...

../builds/shade.r618316.P.VPlock/bin/java -Xem:server QSort
VALUE_PROF.lockStrategy=FREE
Iteration 0, elapsed: 9453 ms
Iteration 1, elapsed: 921 ms
Iteration 2, elapsed: 875 ms
...
 
../builds/shade.r618316.P.VPlock/bin/java -Xem:server QSort
VALUE_PROF.lockStrategy=FLAG
Iteration 0, elapsed: 10703 ms
Iteration 1, elapsed: 875 ms
Iteration 2, elapsed: 890 ms
...

Egor, can you review the patch?

> [drlvm][em] excess ValueProfiler locking causes degradation on JITted code with profiling
> -----------------------------------------------------------------------------------------
>
>                 Key: HARMONY-5396
>                 URL: https://issues.apache.org/jira/browse/HARMONY-5396
>             Project: Harmony
>          Issue Type: Improvement
>          Components: DRLVM
>            Reporter: Aleksey Shipilev
>            Assignee: Egor Pasko
>         Attachments: 0001-ValueProfileCollector-refactoring-to-separate-FirstN-and-Divided-methods.txt,
0002-ValueProfileCollector-implementing-locking-strategies.txt, HARMONY-5396-syncTie.patch
>
>
> During investigation of serious slowdown in some microbenchmark, excess locking in ValueProfiler
was identified. 
> Please see Harmony-dev thread for the details: http://markmail.org/message/tatsfbyb7eb3q3rr

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