diff --git a/pom.xml b/pom.xml index b49632ac..48d4a6bc 100644 --- a/pom.xml +++ b/pom.xml @@ -14,11 +14,17 @@ -XX:MaxPermSize=128m -Xloggc:logs/gc.log + -XX:+PrintHeapAtGC + -XX:+PrintGCDetails + -XX:+PrintGCDateStamps + -XX:+UseGCLogFileRotation + -XX:NumberOfGCLogFiles=5 + -XX:GCLogFileSize=10M - JDK-Switch + JDK8-Switch 1.8 @@ -27,6 +33,23 @@ -Xloggc:logs/gc_%p_%t.log + + JDK11-Switch + + 11 + + + -XX:MaxMetaspaceSize=128m + -Xlog:gc*:logs/gc_%p_%t.log:time,level,tags:filecount=5,filesize=10M + + -Dummy=Dummy + -Dummy=Dummy + -Dummy=Dummy + -Dummy=Dummy + -Dummy=Dummy + -Dummy=Dummy + + @@ -212,12 +235,12 @@ -Xmx256m -XX:MaxDirectMemorySize=90m -XX:+UseSerialGC - -XX:+PrintHeapAtGC - -XX:+PrintGCDetails - -XX:+PrintGCDateStamps - -XX:+UseGCLogFileRotation - -XX:NumberOfGCLogFiles=5 - -XX:GCLogFileSize=10M + ${jvm.args.print.heap.at.gc} + ${jvm.args.print.gc.details} + ${jvm.args.print.gc.date.stamps} + ${jvm.args.gc.log.file.rotation} + ${jvm.args.number.of.gc.log.files} + ${jvm.args.gc.log.file.size} -XX:GCTimeLimit=15 -XX:GCHeapFreeLimit=50 -XX:+HeapDumpOnOutOfMemoryError diff --git a/src/main/java/org/t246osslab/easybuggy/errors/GenericSignatureFormatErrorServlet.java b/src/main/java/org/t246osslab/easybuggy/errors/GenericSignatureFormatErrorServlet.java deleted file mode 100644 index 9fbd569e..00000000 --- a/src/main/java/org/t246osslab/easybuggy/errors/GenericSignatureFormatErrorServlet.java +++ /dev/null @@ -1,28 +0,0 @@ -package org.t246osslab.easybuggy.errors; - -import java.io.IOException; - -import javax.servlet.ServletException; -import javax.servlet.annotation.WebServlet; -import javax.servlet.http.HttpServletRequest; -import javax.servlet.http.HttpServletResponse; - -import org.t246osslab.easybuggy.core.servlets.AbstractServlet; - -@SuppressWarnings("serial") -@WebServlet(urlPatterns = { "/gsfe" }) -public class GenericSignatureFormatErrorServlet extends AbstractServlet { - - @Override - protected void doGet(HttpServletRequest req, HttpServletResponse res) throws ServletException, IOException { - final TestClass testClass1 = new TestClass(); - TestClass testClass2 = testClass1; - testClass2.new TestInnerClass() { - }.getClass().getGenericSuperclass(); - } - - class TestClass { - public class TestInnerClass { - } - } -} diff --git a/src/main/webapp/index.jsp b/src/main/webapp/index.jsp index 9f49e981..cc8fbb96 100644 --- a/src/main/webapp/index.jsp +++ b/src/main/webapp/index.jsp @@ -275,12 +275,6 @@

-
  • - GenericSignatureFormatError: - - - -

  • NoClassDefFoundError: