sysperfana/perfinvestigator/com.nokia.carbide.cpp.pi.instr/src/com/nokia/carbide/cpp/pi/instr/UndecidedPool.java
equal
deleted
inserted
replaced
179 { |
179 { |
180 // clear the flags so that the values will be recalculated if needed |
180 // clear the flags so that the values will be recalculated if needed |
181 this.processedMostHits = 0; |
181 this.processedMostHits = 0; |
182 this.processedUndecided = false; |
182 this.processedUndecided = false; |
183 |
183 |
184 Object o = this.samplesForLocations.get(new Long(startAddress)); |
184 Object o = this.samplesForLocations.get(Long.valueOf(startAddress)); |
185 |
185 |
186 if (o != null) |
186 if (o != null) |
187 { |
187 { |
188 // this location has already a vector associated with it |
188 // this location has already a vector associated with it |
189 Vector sampleVec = (Vector)o; |
189 Vector sampleVec = (Vector)o; |
217 else |
217 else |
218 { |
218 { |
219 //System.out.println("Added unique sample "+sample.programCounter+" to "+this.binary.binaryName); |
219 //System.out.println("Added unique sample "+sample.programCounter+" to "+this.binary.binaryName); |
220 Vector sampleVec = new Vector(); |
220 Vector sampleVec = new Vector(); |
221 sampleVec.add(sample); |
221 sampleVec.add(sample); |
222 samplesForLocations.put(new Long(startAddress),sampleVec); |
222 samplesForLocations.put(Long.valueOf(startAddress),sampleVec); |
223 } |
223 } |
224 } |
224 } |
225 |
225 |
226 public void removeSample(IttSample sample) |
226 public void removeSample(IttSample sample) |
227 { |
227 { |