Changeset 583463a


Ignore:
Timestamp:
Oct 5, 2012 1:09:34 PM (9 years ago)
Author:
zzz <zzz@…>
Branches:
master
Children:
04485375
Parents:
b20e298
Message:
  • configservice.jsp: Add GC button
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • apps/routerconsole/java/src/net/i2p/router/web/ConfigServiceHandler.java

    rb20e298 r583463a  
    219219            browseOnStartup(false);
    220220            addFormNotice(_("Console is not to be shown on startup"));
     221        } else if (_("Force GC").equals(_action)) {
     222            Runtime.getRuntime().gc();
     223            addFormNotice(_("Full garbage collection requested"));
    221224        } else {
    222225            //addFormNotice("Blah blah blah.  whatever.  I'm not going to " + _action);
  • apps/routerconsole/jsp/configservice.jsp

    rb20e298 r583463a  
    6363 <h3><%=intl._("Debugging")%></h3>
    6464 <p><a href="/jobs"><%=intl._("View the job queue")%></a>
    65  <% if (System.getProperty("wrapper.version") != null) { %>
     65<% if (System.getProperty("wrapper.version") != null) { %>
    6666 <p><%=intl._("At times, it may be helpful to debug I2P by getting a thread dump. To do so, please select the following option and review the thread dumped to <a href=\"logs.jsp#servicelogs\">wrapper.log</a>.")%></p>
    67   <hr><div class="formaction">
    68  <input type="submit" name="action" value="<%=intl._("Dump threads")%>" >
     67  <hr>
     68<% } %>
     69 <div class="formaction">
     70 <input type="submit" class="reload" name="action" value="<%=intl._("Force GC")%>" >
     71<% if (System.getProperty("wrapper.version") != null) { %>
     72 <input type="submit" class="download" name="action" value="<%=intl._("Dump threads")%>" >
     73<% } %>
    6974 </div>
    70 <% } %>
    7175
    7276 <h3><%=intl._("Launch browser on router startup?")%></h3>
     
    7478 <a href="http://127.0.0.1:7657/">http://127.0.0.1:7657/</a> .</p>
    7579 <hr><div class="formaction">
    76  <input type="submit" name="action" value="<%=intl._("View console on startup")%>" >
    77  <input type="submit" name="action" value="<%=intl._("Do not view console on startup")%>" >
     80 <input type="submit" class="check" name="action" value="<%=intl._("View console on startup")%>" >
     81 <input type="submit" class="delete" name="action" value="<%=intl._("Do not view console on startup")%>" >
    7882</div></form></div></div></body></html>
  • history.txt

    rb20e298 r583463a  
     12012-10-05 zzz
     2 * configservice.jsp: Add GC button
     3 * DataHelper: Sanity checks in storeProps(), use
     4               storeProps() for router config again
     5 * SSU:
     6   - More synchronization fixes
     7   - Reduce chance of dup acks in a single message
     8   - Reduce max unsent acks to 50
     9   - Use last ack time in ping decision too
     10   - Reduce ack delay
     11 * TunnelPoolManager: Fix early NPE (ticket #724)
     12
    1132012-10-03 zzz
    214 * NTCP: Reduce conLock contention
  • router/java/src/net/i2p/router/RouterVersion.java

    rb20e298 r583463a  
    1919    public final static String ID = "Monotone";
    2020    public final static String VERSION = CoreVersion.VERSION;
    21     public final static long BUILD = 6;
     21    public final static long BUILD = 7;
    2222
    2323    /** for example "-test" */
Note: See TracChangeset for help on using the changeset viewer.