Mercurial > hg > truffle
changeset 15219:3e6cbf843040
Truffle: Fixed a bug causing compilation not be cleared from the Truffle queue.
author | Thomas Wuerthinger <thomas.wuerthinger@oracle.com> |
---|---|
date | Thu, 17 Apr 2014 23:41:00 +0200 |
parents | 24dbd4a59490 |
children | ccf0c5a1edf1 58d2c5bdb9cd |
files | graal/com.oracle.graal.truffle.hotspot/src/com/oracle/graal/truffle/hotspot/HotSpotTruffleRuntime.java |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/graal/com.oracle.graal.truffle.hotspot/src/com/oracle/graal/truffle/hotspot/HotSpotTruffleRuntime.java Thu Apr 17 23:29:11 2014 +0200 +++ b/graal/com.oracle.graal.truffle.hotspot/src/com/oracle/graal/truffle/hotspot/HotSpotTruffleRuntime.java Thu Apr 17 23:41:00 2014 +0200 @@ -315,7 +315,7 @@ public boolean cancelInstalledTask(OptimizedCallTarget optimizedCallTarget) { Future<?> codeTask = this.compilations.get(optimizedCallTarget); if (codeTask != null && isCompiling(optimizedCallTarget)) { - this.compilations.remove(codeTask); + this.compilations.remove(optimizedCallTarget); return codeTask.cancel(true); } return false;