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.h

    reb81cada r3c0a8cf  
    1717typedef std::function<void(JavaRunner *ptr)> fp_proc_t;
    1818
     19const std::vector<NSString*> defaultStartupFlags {
     20  @"-Xmx512M",
     21  @"-Xms128m",
     22  @"-Djava.awt.headless=true",
     23  @"-Dwrapper.logfile=/tmp/router.log",
     24  @"-Dwrapper.logfile.loglevel=DEBUG",
     25  @"-Dwrapper.java.pidfile=/tmp/routerjvm.pid",
     26  @"-Dwrapper.console.loglevel=DEBUG"
     27};
    1928
     29const std::vector<std::string> defaultFlagsForExtractorJob {
     30  "-Xmx512M",
     31  "-Xms128m",
     32  "-Djava.awt.headless=true"
     33};
    2034
    2135/**
     
    3044  JavaRunner(std::string& javaBin, std::string& arguments, std::string& i2pBaseDir, const fp_proc_t& executingFn, const fp_t& cb);
    3145  ~JavaRunner() = default;
    32  
    33   static const std::vector<NSString*> defaultStartupFlags;
    34   static const std::vector<std::string> defaultFlagsForExtractorJob;
    3546 
    3647  void requestRouterShutdown();
Note: See TracChangeset for help on using the changeset viewer.