Ignore:
Timestamp:
Sep 20, 2018 2:38:44 AM (2 years ago)
Author:
meeh <meeh@…>
Branches:
master
Children:
e8decff5
Parents:
eb81cada
Message:

Mac OSX Launcher: A lot of bugfixes, refactoring and cleanup.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • launchers/macosx/RouterTask.mm

    reb81cada r3c0a8cf  
    113113#ifdef __cplusplus
    114114
    115 
    116 const std::vector<NSString*> JavaRunner::defaultStartupFlags {
    117     @"-Xmx512M",
    118     @"-Xms128m",
    119     @"-Djava.awt.headless=true",
    120     @"-Dwrapper.logfile=/tmp/router.log",
    121     @"-Dwrapper.logfile.loglevel=DEBUG",
    122     @"-Dwrapper.java.pidfile=/tmp/routerjvm.pid",
    123     @"-Dwrapper.console.loglevel=DEBUG"
    124 };
    125 
    126 const std::vector<std::string> JavaRunner::defaultFlagsForExtractorJob {
    127     "-Xmx512M",
    128     "-Xms128m",
    129     "-Djava.awt.headless=true"
    130 };
    131 
    132115JavaRunner::JavaRunner(std::string& javaBin, std::string& arguments, std::string& i2pBaseDir, const fp_proc_t& execFn, const fp_t& cb)
    133116  : javaBinaryPath(javaBin), javaRouterArgs(arguments), _i2pBaseDir(i2pBaseDir), executingFn(execFn), exitCallbackFn(cb)
Note: See TracChangeset for help on using the changeset viewer.