Mercurial > hg > truffle
changeset 7390:fab5b68be2d6
added a log message when System.arraycopy() is not intrinsified
author | Christian Haeubl <haeubl@ssw.jku.at> |
---|---|
date | Mon, 07 Jan 2013 10:56:06 +0100 |
parents | d7c1266a26c7 |
children | 36dafe48bc38 |
files | graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/snippets/IntrinsifyArrayCopyPhase.java |
diffstat | 1 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/snippets/IntrinsifyArrayCopyPhase.java Mon Jan 07 08:39:06 2013 +0100 +++ b/graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/snippets/IntrinsifyArrayCopyPhase.java Mon Jan 07 10:56:06 2013 +0100 @@ -118,8 +118,10 @@ StructuredGraph snippetGraph = (StructuredGraph) snippetMethod.getCompilerStorage().get(Graph.class); assert snippetGraph != null : "ArrayCopySnippets should be installed"; hits = true; - Debug.log("%s > Intinsify (%s)", Debug.currentScope(), snippetMethod.getSignature().getParameterType(0, snippetMethod.getDeclaringClass()).getComponentType()); + Debug.log("%s > Intrinsify (%s)", Debug.currentScope(), snippetMethod.getSignature().getParameterType(0, snippetMethod.getDeclaringClass()).getComponentType()); InliningUtil.inline(methodCallTarget.invoke(), snippetGraph, false); + } else { + Debug.log("%s > not intrinsifying arraycopy", Debug.currentScope()); } } if (GraalOptions.OptCanonicalizer && hits) {