[QFJ-537] Session scheduling - problems with JDK Nanotime Bug Created: 28/Jun/10 Updated: 20/Mar/11 Resolved: 20/Mar/11 |
|
Status: | Closed |
Project: | QuickFIX/J |
Component/s: | Engine |
Affects Version/s: | 1.4.0 |
Fix Version/s: | 1.5.1 |
Type: | Other | Priority: | Default |
Reporter: | SSE | Assignee: | Unassigned |
Resolution: | Fixed | Votes: | 0 |
Labels: | None | ||
Environment: |
VMWARE 3.5/4, Solaris 10 Upgrade 6, Multiprocessor |
Description |
On Solaris 10 the gethrtime (High Resolution Time) and time (Wall Clock Time) functions are sometimes returning wrong values. The function gethrtime is wrapped in JVM to get the Nanotime that many applications use. This is causing unpredictable behavior in various applications. The tests were done for gethrtime and time function that returns wall clock time - it was going backwards. For QuickFIX/J in particular, due to nanotime returning wrong values and deltas being negative, required FIX connections were not established as expected. Some links: http://communities.vmware.com/thread/215461 Fixed: Following options were added to the VMX file on VMWARE: monitor_control.disable_tsc_offsetting=TRUE (internal reference: IC_57921) |