summaryrefslogtreecommitdiff
path: root/cpp/src
diff options
context:
space:
mode:
authorMark Spruiell <mes@zeroc.com>2010-05-26 17:50:23 -0700
committerMark Spruiell <mes@zeroc.com>2010-05-26 17:50:23 -0700
commit66c178bc1dfb4a53aa56c4b90d305f72bcc3c553 (patch)
treeb22ec2452d6f5ca61345dcafe2c92ad3cb5afef6 /cpp/src
parentMerge branch 'master' of ssh://git/home/git/ice (diff)
downloadice-66c178bc1dfb4a53aa56c4b90d305f72bcc3c553.tar.bz2
ice-66c178bc1dfb4a53aa56c4b90d305f72bcc3c553.tar.xz
ice-66c178bc1dfb4a53aa56c4b90d305f72bcc3c553.zip
bug 4515 - OutOfMemoryError in dbmap test
Diffstat (limited to 'cpp/src')
-rwxr-xr-xcpp/src/slice2freezej/Main.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/cpp/src/slice2freezej/Main.cpp b/cpp/src/slice2freezej/Main.cpp
index e5223c5366f..c4badf1a56d 100755
--- a/cpp/src/slice2freezej/Main.cpp
+++ b/cpp/src/slice2freezej/Main.cpp
@@ -897,7 +897,7 @@ FreezeGenerator::generate(UnitPtr& u, const Dict& dict)
<< " v, Ice.Communicator communicator)";
out << sb;
out << nl << "IceInternal.BasicStream __os = "
- << "new IceInternal.BasicStream(IceInternal.Util.getInstance(communicator));";
+ << "new IceInternal.BasicStream(IceInternal.Util.getInstance(communicator), false, false);";
if(encaps)
{
out << nl << "__os.startWriteEncaps();";
@@ -925,7 +925,7 @@ FreezeGenerator::generate(UnitPtr& u, const Dict& dict)
<< "(byte[] b, Ice.Communicator communicator)";
out << sb;
out << nl << "IceInternal.BasicStream __is = "
- << "new IceInternal.BasicStream(IceInternal.Util.getInstance(communicator));";
+ << "new IceInternal.BasicStream(IceInternal.Util.getInstance(communicator), false, false);";
if(type->usesClasses())
{
out << nl << "__is.sliceObjects(false);";
@@ -1065,7 +1065,7 @@ FreezeGenerator::generate(UnitPtr& u, const Dict& dict)
keyS = objectToVar(indexTypes[i], keyS);
out << nl << "IceInternal.BasicStream __os = "
- << "new IceInternal.BasicStream(IceInternal.Util.getInstance(communicator));";
+ << "new IceInternal.BasicStream(IceInternal.Util.getInstance(communicator), false, false);";
int iter = 0;
writeMarshalUnmarshalCode(out, "", indexTypes[i], keyS, true, iter, false);
assert(!indexTypes[i]->usesClasses());
@@ -1093,7 +1093,7 @@ FreezeGenerator::generate(UnitPtr& u, const Dict& dict)
else
{
out << nl << "IceInternal.BasicStream __is = "
- << "new IceInternal.BasicStream(IceInternal.Util.getInstance(communicator));";
+ << "new IceInternal.BasicStream(IceInternal.Util.getInstance(communicator), false, false);";
out << nl << "__is.resize(bytes.length, true);";
out << nl << "IceInternal.Buffer buf = __is.getBuffer();";
out << nl << "buf.b.position(0);";
@@ -1403,7 +1403,7 @@ FreezeGenerator::generate(UnitPtr& u, const Index& index)
<< "marshalKey(" << memberTypeString << " __key)";
out << sb;
out << nl << "IceInternal.BasicStream __os = "
- << "new IceInternal.BasicStream(IceInternal.Util.getInstance(communicator()));";
+ << "new IceInternal.BasicStream(IceInternal.Util.getInstance(communicator()), false, false);";
int iter = 0;
writeMarshalUnmarshalCode(out, "", dataMember->type(), valueS, true, iter, false);
if(type->usesClasses())