[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
http://bugs.sun.com/view_bug.do;jsessionid=36cc38bca9ae36e09ba7643c0f8?bug_id=6855228

Fixed: Following options were added to the VMX file on VMWARE:

monitor_control.disable_tsc_offsetting=TRUE
monitor_control.disable_rdtscopt_bt=TRUE

(internal reference: IC_57921)


Generated at Mon Apr 29 07:51:02 UTC 2024 using JIRA 7.5.2#75007-sha1:9f5725bb824792b3230a5d8716f0c13e296a3cae.