Bug 888 - Cannot create TAO_InputCDR by passing the right allocators
Summary: Cannot create TAO_InputCDR by passing the right allocators
Status: ASSIGNED
Alias: None
Product: TAO
Classification: Unclassified
Component: ORB (show other bugs)
Version: 1.0.14
Hardware: All All
: P3 normal
Assignee: DOC Center Support List (internal)
URL:
Depends on:
Blocks:
 
Reported: 2001-04-27 14:32 CDT by Nanbor Wang
Modified: 2001-05-16 12:10 CDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nanbor Wang 2001-04-27 14:32:06 CDT
The CDR classes does not allow  creating a stream with the right allocators. All
the constructors only favor a default allocator. The ORB_Core creates/dishes out
buffer and data_block allocators for input streams, but there is no way that we
can use that.  The answer is we need to add more constructors.  But I was just
wondering whether the omission is deliberate?
Comment 1 Carlos O'Ryan 2001-05-07 12:31:44 CDT
One of the constructors actually uses the *output* CDR allocators, the code is 
mine, but I cannot recall why it was done that way.  It could be a mistake, big 
one that is.

What do you want to do with this bug?  Who should become responsible for it?
Comment 2 Nanbor Wang 2001-05-07 12:51:12 CDT
Maybe leave it with tao-support.  Let it be a documentation detail that we can
use it to track down, if something major comes up. Moreover,  we may want to
revisit some of the allocation semantics that we do in the ORB_Core. We can
defer that to TAO 2.0, may be.   
Comment 3 Carlos O'Ryan 2001-05-16 12:10:52 CDT
Assigned to tao-support, obviously nobody has time to work on it.