Commit 9d3047fd authored by Lukáš Marek's avatar Lukáš Marek

Added option to disable dynamic bypass while using instrumentation server

parent e00552e3
...@@ -24,6 +24,9 @@ public abstract class DiSLServer { ...@@ -24,6 +24,9 @@ public abstract class DiSLServer {
private static final String PROP_CONT = "dislserver.continuous"; private static final String PROP_CONT = "dislserver.continuous";
private static final boolean continuous = Boolean.getBoolean(PROP_CONT); private static final boolean continuous = Boolean.getBoolean(PROP_CONT);
private static final String PROP_BYPASS = "dislserver.disablebypass";
private static final boolean bypass = ! Boolean.getBoolean(PROP_BYPASS);
private static final AtomicInteger aliveWorkers = new AtomicInteger(); private static final AtomicInteger aliveWorkers = new AtomicInteger();
private static final AtomicLong instrumentationTime = new AtomicLong(); private static final AtomicLong instrumentationTime = new AtomicLong();
...@@ -36,7 +39,7 @@ public abstract class DiSLServer { ...@@ -36,7 +39,7 @@ public abstract class DiSLServer {
public static void main (final String [] args) { public static void main (final String [] args) {
try { try {
// use dynamic bypass // use dynamic bypass
disl = new DiSL (true); disl = new DiSL (bypass);
if (debug) { if (debug) {
System.out.println ("DiSL: starting instrumentation server..."); System.out.println ("DiSL: starting instrumentation server...");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment