Mercurial > hg > graal-compiler
changeset 22757:110ea233237d
Remove unused global list of stubs.
author | Roland Schatz <roland.schatz@oracle.com> |
---|---|
date | Mon, 05 Oct 2015 14:18:07 +0200 |
parents | c2ce8dd9be05 |
children | 5613c604c684 |
files | graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/stubs/Stub.java |
diffstat | 1 files changed, 0 insertions(+), 14 deletions(-) [+] |
line wrap: on
line diff
--- a/graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/stubs/Stub.java Mon Oct 05 13:26:59 2015 +0200 +++ b/graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/stubs/Stub.java Mon Oct 05 14:18:07 2015 +0200 @@ -27,10 +27,6 @@ import static com.oracle.graal.compiler.GraalCompiler.getProfilingInfo; import static com.oracle.graal.hotspot.HotSpotHostBackend.UNCOMMON_TRAP_HANDLER; -import java.util.ArrayList; -import java.util.Collection; -import java.util.Collections; -import java.util.List; import java.util.ListIterator; import java.util.Set; @@ -74,8 +70,6 @@ */ public abstract class Stub { - private static final List<Stub> stubs = new ArrayList<>(); - /** * The linkage information for a call to this stub from compiled code. */ @@ -129,14 +123,6 @@ public Stub(HotSpotProviders providers, HotSpotForeignCallLinkage linkage) { this.linkage = linkage; this.providers = providers; - stubs.add(this); - } - - /** - * Gets an immutable view of all stubs that have been created. - */ - public static Collection<Stub> getStubs() { - return Collections.unmodifiableList(stubs); } /**