public synchronized void addType(int typeCode) { seenTypes.put(typeCode, null); }
public void addNativeSignature(int arity, MethodType signature) { if ( arity == -1 ) varSignature = signature; else { if ( signatures == null ) signatures = new IntHashMap<>(2); signatures.put(arity, signature); } }
public void addNativeSignature(int arity, MethodType signature) { if ( arity == -1 ) varSignature = signature; else { if ( signatures == null ) signatures = new IntHashMap<>(2); signatures.put(arity, signature); } }
public void addChild(Invocation child) { children.put(child.getMethodSerialNumber(), child); }
public void addChild(Invocation child) { children.put(child.getMethodSerialNumber(), child); }
public Invocation childInvocationFor(int serial) { Invocation child; if ((child = children.get(serial)) == null) { child = new Invocation(this, serial); children.put(serial, child); } return child; }
public Invocation childInvocationFor(int serial) { Invocation child; if ((child = children.get(serial)) == null) { child = new Invocation(this, serial); children.put(serial, child); } return child; }
public Invocation childInvocationFor(int serial) { Invocation child; if ((child = children.get(serial)) == null) { child = new Invocation(this, serial); children.put(serial, child); } return child; }
public Invocation childInvocationFor(int serial) { Invocation child; if ((child = children.get(serial)) == null) { child = new Invocation(this, serial); children.put(serial, child); } return child; }
protected static IntHashMap<MethodData> methodData(Invocation top) { IntHashMap<MethodData> methods = new IntHashMap<MethodData>(); MethodData data = new MethodData(0); methods.put(0, data); data.invocations.add(top); methodData1(methods, top); return methods; }
protected static IntHashMap<MethodData> methodData(Invocation top) { IntHashMap<MethodData> methods = new IntHashMap<MethodData>(); MethodData data = new MethodData(0); methods.put(0, data); data.invocations.add(top); methodData1(methods, top); return methods; }
protected static IntHashMap<MethodData> methodData(Invocation top) { IntHashMap<MethodData> methods = new IntHashMap<MethodData>(); MethodData data = new MethodData(0); methods.put(0, data); data.invocations.add(top); methodData1(methods, top); return methods; }
protected static IntHashMap<MethodData> methodData(Invocation top) { IntHashMap<MethodData> methods = new IntHashMap<MethodData>(); MethodData data = new MethodData(0); methods.put(0, data); data.invocations.add(top); methodData1(methods, top); return methods; }
@Override public Object clone() { IntHashMap<V> newMap = new IntHashMap<>(table.length, loadFactor); for (int i = 0; i < table.length; i++) { Entry<V> entry = table[i]; while (entry != null) { newMap.put(entry.getKey(), entry.getValue()); entry = entry.next; } } return newMap; }
@Override public Object clone() { IntHashMap<V> newMap = new IntHashMap<>(table.length, loadFactor); for (int i = 0; i < table.length; i++) { Entry<V> entry = table[i]; while (entry != null) { newMap.put(entry.getKey(), entry.getValue()); entry = entry.next; } } return newMap; }
public void addProfiledMethod(String name, DynamicMethod method) { if (method.isUndefined()) return; final long serial = method.getSerialNumber(); if (serial > MAX_PROFILE_METHODS) return; if (profiledMethods.get((int) serial) == null) { profiledMethods.put((int) serial, new ProfiledMethod(name, method)); } }
public void addProfiledMethod(String name, DynamicMethod method) { if (method.isUndefined()) return; final long serial = method.getSerialNumber(); if (serial > MAX_PROFILE_METHODS) return; if (profiledMethods.get((int) serial) == null) { profiledMethods.put((int) serial, new ProfiledMethod(name, method)); } }
private static void methodData1(final IntHashMap<MethodData> methods, Invocation inv) { for (Entry<Invocation> entry : inv.getChildren().entrySet()) { Invocation child = entry.getValue(); int serial = child.getMethodSerialNumber(); MethodData data = methods.get(serial); if (data == null) { data = new MethodData(serial); methods.put(serial, data); } data.invocations.add(child); methodData1(methods, child); } }
private static void methodData1(final IntHashMap<MethodData> methods, Invocation inv) { for (Entry<Invocation> entry : inv.getChildren().entrySet()) { Invocation child = entry.getValue(); int serial = child.getMethodSerialNumber(); MethodData data = methods.get(serial); if (data == null) { data = new MethodData(serial); methods.put(serial, data); } data.invocations.add(child); methodData1(methods, child); } }
private static void methodData1(final IntHashMap<MethodData> methods, Invocation inv) { for (Entry<Invocation> entry : inv.getChildren().entrySet()) { Invocation child = entry.getValue(); int serial = child.getMethodSerialNumber(); MethodData data = methods.get(serial); if (data == null) { data = new MethodData(serial); methods.put(serial, data); } data.invocations.add(child); methodData1(methods, child); } }