javatools/tckrunner/starter/src/main.cpp
branchRCL_3
changeset 60 6c158198356e
parent 19 04becd199f91
equal deleted inserted replaced
59:e5618cc85d74 60:6c158198356e
    90 
    90 
    91     // Set the debugging features available provided by the captain.
    91     // Set the debugging features available provided by the captain.
    92     // starterUtils->enableDevelopmentFeatures(*jvm.get());
    92     // starterUtils->enableDevelopmentFeatures(*jvm.get());
    93     // jvm->enableThreadDumping();
    93     // jvm->enableThreadDumping();
    94 
    94 
       
    95 #ifdef __WINSCW__
       
    96     // Setting smaller max heap in the emulator.
       
    97     const int maxHeapSize = 2 * 1024; // 2 MB
       
    98     jvm->overrideMaxHeapSize(maxHeapSize);
       
    99 #endif  // __WINSCW__
       
   100 
    95     jvm->appendSystemProperty(L"-Dcom.nokia.rt.port=tckrunner");
   101     jvm->appendSystemProperty(L"-Dcom.nokia.rt.port=tckrunner");
    96 
   102 
    97     jvm->setMainClass(TCK_RUNNER_MAIN_CLASS);
   103     jvm->setMainClass(TCK_RUNNER_MAIN_CLASS);
    98 
   104 
    99     for (int i = 1; i < argc; ++i)
   105     for (int i = 1; i < argc; ++i)