# HG changeset patch # User Gilles Duboscq # Date 1430311188 -7200 # Node ID d7361045859a1c55ffab6d8c45ca58f9b03e56f4 # Parent 7ffff68b31fbce87522f95448ce8c2d08bff755a Remove unique id from TruffleDebugJavaMethod name diff -r 7ffff68b31fb -r d7361045859a graal/com.oracle.graal.truffle/src/com/oracle/graal/truffle/TruffleDebugJavaMethod.java --- a/graal/com.oracle.graal.truffle/src/com/oracle/graal/truffle/TruffleDebugJavaMethod.java Wed Apr 29 14:36:13 2015 +0200 +++ b/graal/com.oracle.graal.truffle/src/com/oracle/graal/truffle/TruffleDebugJavaMethod.java Wed Apr 29 14:39:48 2015 +0200 @@ -22,8 +22,6 @@ */ package com.oracle.graal.truffle; -import java.util.concurrent.atomic.*; - import com.oracle.graal.api.meta.*; import com.oracle.graal.debug.*; import com.oracle.truffle.api.*; @@ -33,8 +31,6 @@ * {@linkplain Debug#scope(Object) debug scopes}. */ public class TruffleDebugJavaMethod implements JavaMethod { - private static final AtomicInteger nextId = new AtomicInteger(); - private final int id; private final RootCallTarget compilable; private static final JavaType declaringClass = new JavaType() { @@ -90,7 +86,6 @@ public TruffleDebugJavaMethod(RootCallTarget compilable) { this.compilable = compilable; - this.id = nextId.incrementAndGet(); } @Override @@ -112,7 +107,7 @@ } public String getName() { - return compilable.toString().replace('.', '_').replace(' ', '_') + "_" + id; + return compilable.toString().replace('.', '_').replace(' ', '_'); } public JavaType getDeclaringClass() {