Bug 1301

Summary: Missing emulated exception support in CosTime::UTO impl.
Product: TAO Reporter: Ossama Othman <ossama.othman>
Component: Time ServiceAssignee: DOC Center Support List (internal) <tao-support>
Status: RESOLVED WONTFIX    
Severity: normal    
Priority: P3    
Version: 1.2.4   
Hardware: All   
OS: All   
Bug Depends on: 2256    
Bug Blocks:    

Description Ossama Othman 2002-09-02 20:59:37 CDT
TAO's CosTime::UTO implementation is missing emulated exception support in 
some places in the implementation.  Specifically, there a number of calls 
to "this->time()" in the implementation.  The time() method is actually 
defined in IDL meaning that the emulated exception enabled implementation will 
have a default argument that accesses the CORBA::Environment in TSS.  This can 
greatly affect the performance of these methods due to *multiple* TSS accesses.

The appropriate emulated exception macro (e.g. ACE_ENG_SINGLE_ARG_PARAMETER) 
should be passed to such calls to avoid incurring unnecessary TSS accesses.

See the file:
  orbsvcs/orbsvcs/Time/TAO_UTO.cpp
Comment 1 Ossama Othman 2002-09-02 21:04:31 CDT
There is an absurd amount of debugging code in 
orbsvcs/orbsvcs/Time/Timer_Helper.cpp that incurs a large number of TSS 
accessed in the emulated exception case.  Those should be fixed, too.
Comment 2 Ossama Othman 2002-09-15 15:41:27 CDT
Accepted.
Comment 3 Johnny Willemsen 2006-08-16 03:51:46 CDT
we don't support emulated exceptions anymore, so closing this one as won't fix