Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.3AS
-
None
Description
The UIMA AS client enters a busy loop in the getCAS() in BaseUIMAAsynchronousEngineCommon_impl. Since a CAS instance may not be available for awhile, this code wastes CPU cycles by continuously testing for null and trying again. Put the thread to sleep for some time before testing for CAS availability again.