From: David G. (JIRA) <ji...@co...> - 2007-07-31 14:15:15
|
Rework MMTk slow lock detection to mostly use VM_Time.cycles and only call VM_TIme.nanoTime when it looks like the lock operation might be slow ----------------------------------------------------------------------------------------------------------------------------------------------- Key: RVM-168 URL: http://jira.codehaus.org/browse/RVM-168 Project: RVM Issue Type: Sub-task Reporter: David Grove Restructure so that initially the locking code uses VM_Time.cycles. If the wait time exceeds N cycles, then switch over to nanoTime based timing to decide that the lock _really_ is slow and do appropriate performance warning and/or deadlock action. Must use nanoTime to take "real" action because cycles() is not monotonic. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira |