Download
Getting Started
Members
Projects
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
More
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
Toggle navigation
Bugzilla – Attachment 158672 Details for
Bug 301438
Eclipse hangs when attempting to refactor using the "change method signature"
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read
this important communication.
[patch]
Test patch
testpatch.txt (text/plain), 1.70 KB, created by
Satyam Kandula
on 2010-02-10 03:43:22 EST
(
hide
)
Description:
Test patch
Filename:
MIME Type:
Creator:
Satyam Kandula
Created:
2010-02-10 03:43:22 EST
Size:
1.70 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.jdt.core.tests.performance >Index: src/org/eclipse/jdt/core/tests/performance/FullSourceWorkspaceTypeHierarchyTests.java >=================================================================== >RCS file: /cvsroot/eclipse/org.eclipse.jdt.core.tests.performance/src/org/eclipse/jdt/core/tests/performance/FullSourceWorkspaceTypeHierarchyTests.java,v >retrieving revision 1.13 >diff -u -r1.13 FullSourceWorkspaceTypeHierarchyTests.java >--- src/org/eclipse/jdt/core/tests/performance/FullSourceWorkspaceTypeHierarchyTests.java 7 Mar 2009 02:04:23 -0000 1.13 >+++ src/org/eclipse/jdt/core/tests/performance/FullSourceWorkspaceTypeHierarchyTests.java 10 Feb 2010 08:40:59 -0000 >@@ -151,5 +151,35 @@ > assertPerformance(); > > } >+ >+ // 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); >+ >+ // Warm up >+ for (int i=0; i<WARMUP_COUNT; i++) { >+ IType[] types = unit.getType("Parser").newSupertypeHierarchy(null).getAllClasses(); >+ if (i==0) { >+ System.out.println(" - "+INT_FORMAT.format(types.length)+" all classes found in hierarchy."); >+ } >+ } >+ >+ // Clean memory >+ runGc(); >+ >+ // Measures >+ for (int i=0; i<MEASURES_COUNT; i++) { >+ runGc(); >+ startMeasuring(); >+ unit.getType("Parser").newSupertypeHierarchy(null).getAllClasses(); >+ stopMeasuring(); >+ } >+ >+ // Commit >+ commitMeasurements(); >+ assertPerformance(); >+ } > > }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 301438
:
157805
|
157869
|
158662
| 158672 |
158831
|
158845
|
158846