Summary: | IDL compiler generates redundant code for AMI | ||
---|---|---|---|
Product: | TAO | Reporter: | Carlos O'Ryan <coryan> |
Component: | IDL Compiler | Assignee: | Johnny Willemsen <jwillemsen> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | P3 | ||
Version: | 1.4.4 | ||
Hardware: | All | ||
OS: | All | ||
Bug Depends on: | 1369, 1917 | ||
Bug Blocks: |
Description
Carlos O'Ryan
2001-04-01 21:50:55 CDT
Fixed typo in summary Accepted. Seems to me like the techniques described in bug 1369 can be used to fix this bug too. When I look at the generated code from tests/AMI I just see the following being generated for each raise method. Seems to be fixed or not? TAO_Messaging_Helper::exception_holder_raise ( 0, 0, this->marshaled_exception ().get_buffer (), this->marshaled_exception ().length (), this->byte_order (), this->is_system_exception () ACE_ENV_ARG_PARAMETER); Yes, the AMI code is using arrays now. Do notice that the regular synchronous requests and the AMI holders need the same arrays, but the arrays are not shared between the two routines. IMHO there is opportunity to gain a small footprint reduction in that code. Updated version to 1.4.4, still a little issue that we can improve. AMI exception handling is changed in the latest corba spec, added depends on bug 1917. When that one is fixed I think this is then invalid. taking over this bug, I am working on the new AMI mapping accept Carlos, do you maybe have some time to recheck this with 1.5.2 which has the new AMI mapping support Johnny is right. The code does not have any of the duplications originally documented in this bug. |