--- old/test/runtime/6925573/SortMethodsTest.java 2014-04-16 15:09:35.883667400 -0400 +++ new/test/runtime/6925573/SortMethodsTest.java 2014-04-16 15:09:35.680652400 -0400 @@ -47,7 +47,6 @@ import javax.tools.ToolProvider; /* - * @ignore 6959423 * @test SortMethodsTest * @bug 6925573 * @summary verify that class loading does not need quadratic time with regard to the number of class @@ -81,8 +80,8 @@ DiagnosticCollector diags = new DiagnosticCollector(); final String cName = new String("ManyMethodsClass"); Vector results = new Vector(); - - for (int i = 6; i < 600000; i*=10) { + + for (int i = 6; i < 60000; i*=10) { String klass = createClass(cName, i); JavaMemoryFileObject file = new JavaMemoryFileObject(cName, klass); MemoryFileManager mfm = new MemoryFileManager(comp.getStandardFileManager(diags, null, null), file); @@ -121,7 +120,7 @@ System.out.println("10 x more methods requires " + ratio + " x more time"); } // The following is just vague estimation but seems to work on current x86_64 and sparcv9 machines - if (lastRatio > 80) { + if (lastRatio > 60) { throw new RuntimeException("ATTENTION: it seems that class loading needs quadratic time with regard to the number of class methods!!!"); } }