perf_35x - 306172 (Satyam's patch: https://bugs.eclipse.org/bugs/attachment.cgi?id=165690)
diff --git a/org.eclipse.jdt.core.tests.performance/src/org/eclipse/jdt/core/tests/performance/FullSourceWorkspaceTypeHierarchyTests.java b/org.eclipse.jdt.core.tests.performance/src/org/eclipse/jdt/core/tests/performance/FullSourceWorkspaceTypeHierarchyTests.java
index 418dc92..7d5a99a 100644
--- a/org.eclipse.jdt.core.tests.performance/src/org/eclipse/jdt/core/tests/performance/FullSourceWorkspaceTypeHierarchyTests.java
+++ b/org.eclipse.jdt.core.tests.performance/src/org/eclipse/jdt/core/tests/performance/FullSourceWorkspaceTypeHierarchyTests.java
@@ -40,7 +40,7 @@
 	}
 
 	static {
-//		TESTS_NAMES = new String[] { "testPerfClassWithPotentialSubinterfaces" };
+//		TESTS_NAMES = new String[] { "testPerSuperTypes" };
 	}
 	public static Test suite() {
         Test suite = buildSuite(testClass());
@@ -154,15 +154,13 @@
 	
 	// Test for https://bugs.eclipse.org/bugs/show_bug.cgi?id=301438
 	public void testPerSuperTypes() throws CoreException {
-		tagAsSummary("Type hierarchy", true); // put in fingerprint
-		ICompilationUnit unit = getCompilationUnit("org.eclipse.jdt.core", "org.eclipse.jdt.internal.compiler.parser", "Parser.java");
-		assertNotNull("Parser not found!", unit);
+		assertNotNull("Parser not found!", PARSER_WORKING_COPY);
 
 		// Warm up
-		for (int i=0; i<WARMUP_COUNT; i++) {
-			IType[] types = unit.getType("Parser").newSupertypeHierarchy(null).getAllClasses();
+		for (int i=0; i<10*WARMUP_COUNT; i++) { // More Warm up is required.
+			IType[] types = PARSER_WORKING_COPY.getType("Parser").newSupertypeHierarchy(null).getAllClasses();
 			if (i==0) {
-				System.out.println("  - "+INT_FORMAT.format(types.length)+" all classes found in hierarchy.");
+				System.out.println("  - "+INT_FORMAT.format(types.length)+" classes found in hierarchy.");
 			}
 		}
 
@@ -173,7 +171,9 @@
 		for (int i=0; i<MEASURES_COUNT; i++) {
 			runGc();
 			startMeasuring();
-			unit.getType("Parser").newSupertypeHierarchy(null).getAllClasses();
+			for (int j =0; j < 20; j++) {
+				PARSER_WORKING_COPY.getType("Parser").newSupertypeHierarchy(null).getAllClasses();
+			}
 			stopMeasuring();
 		}
 
@@ -181,5 +181,4 @@
 		commitMeasurements();
 		assertPerformance();
 	}
-
 }