Mercurial > hg > graal-jvmci-8
changeset 14126:976f44f08fb3
currentThread is not exact
author | Tom Rodriguez <tom.rodriguez@oracle.com> |
---|---|
date | Mon, 10 Mar 2014 13:41:24 -0700 |
parents | e09829e6680f |
children | 452bb6e73298 9864ae31e1fe |
files | graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/replacements/ThreadSubstitutions.java |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/replacements/ThreadSubstitutions.java Mon Mar 10 18:14:24 2014 +0100 +++ b/graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/replacements/ThreadSubstitutions.java Mon Mar 10 13:41:24 2014 -0700 @@ -45,7 +45,7 @@ @MethodSubstitution public static Thread currentThread() { - return PiNode.piCastExactNonNull(CurrentJavaThreadNode.get().readObject(threadObjectOffset(), LocationIdentity.FINAL_LOCATION), Thread.class); + return PiNode.piCastNonNull(CurrentJavaThreadNode.get().readObject(threadObjectOffset(), LocationIdentity.FINAL_LOCATION), Thread.class); } @MethodSubstitution(isStatic = false)