javaruntimes/midp/runtimestarter/src/midpruntimestarter.cpp
changeset 35 85266cc22c7f
parent 26 dc7c549001d5
child 50 023eef975703
equal deleted inserted replaced
26:dc7c549001d5 35:85266cc22c7f
   163         // Captain needs a pid in order to identify the prewarmed runtime.
   163         // Captain needs a pid in order to identify the prewarmed runtime.
   164         jvm->appendApplicationArgument(JavaCommonUtils::intToWstring(getpid()));
   164         jvm->appendApplicationArgument(JavaCommonUtils::intToWstring(getpid()));
   165 
   165 
   166         // Starting with lower old space in pre warm case.
   166         // Starting with lower old space in pre warm case.
   167         jvm->overrideOldHeapSize(36);
   167         jvm->overrideOldHeapSize(36);
       
   168 
       
   169         // In the pre-warm start we need to add something into class path.
       
   170         // Otherwise the VM puts class path to point MIDP private data cage.
       
   171 #ifdef RD_JAVA_SYMBIAN_TARGET
       
   172         jvm->appendClassPath(L"z:/private/ignore.jar");
       
   173 #else // RD_JAVA_SYMBIAN_TARGET
       
   174         jvm->appendClassPath(L"./ignore.jar");
       
   175 #endif // RD_JAVA_SYMBIAN_TARGET
   168     }
   176     }
   169 
   177 
   170     // If the requested to go to back ground, pass the info to Java peer.
   178     // If the requested to go to back ground, pass the info to Java peer.
   171     if (mMidletInfo->mBackGroundRequested)
   179     if (mMidletInfo->mBackGroundRequested)
   172     {
   180     {