Please report new issues athttps://github.com/DOCGroup
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
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.
Accepted.
we don't support emulated exceptions anymore, so closing this one as won't fix