javatools/tckrunner/starter/src/main.cpp
changeset 50 023eef975703
parent 21 2a9601315dfc
equal deleted inserted replaced
49:35baca0e7a2e 50:023eef975703
    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)