diff --git a/build/scripts/utils.gant b/build/scripts/utils.gant index 43e3dc825cd1..2e68258aad9e 100644 --- a/build/scripts/utils.gant +++ b/build/scripts/utils.gant @@ -248,6 +248,7 @@ binding.setVariable("commonJvmArgsForTests", { if (debugPort != null) jdwp += ",address=$debugPort" return [ "-ea", + "-Dio.netty.leakDetectionLevel=PARANOID", "-server", "-Xbootclasspath/p:${projectBuilder.moduleOutput(findModule("boot"))}", "-XX:+HeapDumpOnOutOfMemoryError",