# HG changeset patch # User Christian Haeubl # Date 1357552566 -3600 # Node ID fab5b68be2d62ab8c2884e1cbe85230cd4b00313 # Parent d7c1266a26c7854aa106864376644443da56eb54 added a log message when System.arraycopy() is not intrinsified diff -r d7c1266a26c7 -r fab5b68be2d6 graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/snippets/IntrinsifyArrayCopyPhase.java --- 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) {