diff -r e0d6e9bd3ca7 -r bf7ee68962da javaruntimes/starterutils/src.s60/j9starters60.h --- a/javaruntimes/starterutils/src.s60/j9starters60.h Tue Jul 06 14:10:26 2010 +0300 +++ b/javaruntimes/starterutils/src.s60/j9starters60.h Wed Aug 18 09:43:15 2010 +0300 @@ -74,6 +74,11 @@ /** * @see jvmstarter.h */ + virtual void overrideMaxHeapSize(int heapSize); + + /** + * @see jvmstarter.h + */ virtual void overrideNativeStackSize(int stackSize); /** @@ -106,6 +111,15 @@ * @param odcFile Th ODC file to be appended. */ void appendOdcFile(const std::wstring& odcFile); + + /** + * Internal utility for setting max heap sizes in kB. Used to + * set -Xmx and -Xmox vm args. + * @param arg String containing either -Xmx or -Xmox (not checked). + * @param size Size of the heap as string in kilo bytes. + */ + void doOverideHeap(const std::wstring& arg, const std::wstring& size); + #ifdef __WINSCW__ // codescanner::ifpreprocessor /**