Removing an extra message copy in message logging layer.
authorEsteban Meneses <emenese2@illinois.edu>
Thu, 7 Jun 2012 16:24:39 +0000 (11:24 -0500)
committerEsteban Meneses <emenese2@illinois.edu>
Thu, 7 Jun 2012 16:24:39 +0000 (11:24 -0500)
src/ck-core/ckcausalmlog.C

index 4aed8567663589afb0399d05c93fb209849cd7ed..8f1d0dbf1ec39454deb61873482ceba97394baf1 100644 (file)
@@ -617,8 +617,8 @@ void sendCommonMsg(CkObjID &recver,envelope *_env,int destPE,int _infoIdx){
        if(env->sender.type == TypeInvalid){
                env->sender = CpvAccess(_currentObj)->mlogData->objID;
        }else{
-               envelope *copyEnv = copyEnvelope(env);
-               env = copyEnv;
+//             envelope *copyEnv = copyEnvelope(env);
+//             env = copyEnv;
                env->sender = CpvAccess(_currentObj)->mlogData->objID;
                env->SN = 0;
        }