Mercurial > hg > graal-jvmci-8
comparison graal/com.oracle.truffle.api/src/com/oracle/truffle/api/instrument/Probe.java @ 19492:5a91549293df
Truffle/Instrumentation: placate FindBugs
author | Michael Van De Vanter <michael.van.de.vanter@oracle.com> |
---|---|
date | Wed, 18 Feb 2015 20:38:04 -0800 |
parents | 4d66c000d253 |
children | b08cf18b9f0a |
comparison
equal
deleted
inserted
replaced
19491:4d66c000d253 | 19492:5a91549293df |
---|---|
336 private void invalidateProbeUnchanged() { | 336 private void invalidateProbeUnchanged() { |
337 probeStateUnchangedCyclic.invalidate(); | 337 probeStateUnchangedCyclic.invalidate(); |
338 } | 338 } |
339 | 339 |
340 private void notifyTrapSet() { | 340 private void notifyTrapSet() { |
341 if (tagTrap == null && !isTrapActive) { | 341 this.isTrapActive = tagTrap != null && this.isTaggedAs(tagTrap.getTag()); |
342 // Special case, could be common, where we don't need to do anything. | |
343 return; | |
344 } | |
345 this.isTrapActive = this.isTaggedAs(tagTrap.getTag()); | |
346 invalidateProbeUnchanged(); | 342 invalidateProbeUnchanged(); |
347 } | 343 } |
348 | 344 |
349 private String getTagsDescription() { | 345 private String getTagsDescription() { |
350 final StringBuilder sb = new StringBuilder(); | 346 final StringBuilder sb = new StringBuilder(); |