diff agent/src/share/classes/sun/jvm/hotspot/opto/InlineTree.java @ 14909:4ca6dc0799b6

Backout jdk9 merge
author Gilles Duboscq <duboscq@ssw.jku.at>
date Tue, 01 Apr 2014 13:57:07 +0200
parents 183bd5c00828
children 52b4284cb496
line wrap: on
line diff
--- a/agent/src/share/classes/sun/jvm/hotspot/opto/InlineTree.java	Tue Apr 01 14:09:03 2014 +0200
+++ b/agent/src/share/classes/sun/jvm/hotspot/opto/InlineTree.java	Tue Apr 01 13:57:07 2014 +0200
@@ -87,11 +87,6 @@
     return GrowableArray.create(addr, inlineTreeConstructor);
   }
 
-  public int inlineLevel() {
-    JVMState jvms = callerJvms();
-    return (jvms != null) ? jvms.depth() : 0;
-  }
-
   public void printImpl(PrintStream st, int indent) {
     for (int i = 0; i < indent; i++) st.print(" ");
     st.printf(" @ %d ", callerBci());
@@ -106,28 +101,4 @@
   public void print(PrintStream st) {
     printImpl(st, 2);
   }
-
-  // Count number of nodes in this subtree
-  public int count() {
-    int result = 1;
-    GrowableArray<InlineTree> subt = subtrees();
-    for (int i = 0 ; i < subt.length(); i++) {
-      result += subt.at(i).count();
-    }
-    return result;
-  }
-
-  public void dumpReplayData(PrintStream out) {
-    out.printf(" %d %d ", inlineLevel(), callerBci());
-    Method method = (Method)method().getMetadata();
-    Klass holder = method.getMethodHolder();
-    out.print(holder.getName().asString() + " " +
-              OopUtilities.escapeString(method.getName().asString()) + " " +
-              method.getSignature().asString());
-
-    GrowableArray<InlineTree> subt = subtrees();
-    for (int i = 0 ; i < subt.length(); i++) {
-      subt.at(i).dumpReplayData(out);
-    }
-  }
 }