# HG changeset patch # User Doug Simon # Date 1339668008 -7200 # Node ID 9b85ab3d3ab7b3d8a19708e8fe278400f16b0dea # Parent fcb8d2b8dc425de8f04331a8e3273dad3dd8e347 made allocation tracing in NewInstanceSnippets be enabled by graal.traceAllocation system property diff -r fcb8d2b8dc42 -r 9b85ab3d3ab7 graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/snippets/NewInstanceSnippets.java --- a/graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/snippets/NewInstanceSnippets.java Thu Jun 14 11:56:24 2012 +0200 +++ b/graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/snippets/NewInstanceSnippets.java Thu Jun 14 12:00:08 2012 +0200 @@ -55,7 +55,7 @@ */ public class NewInstanceSnippets implements SnippetsInterface { - private static final boolean LOG_ALLOCATION = false; + private static final boolean LOG_ALLOCATION = Boolean.getBoolean("graal.traceAllocation"); /** * Type test used when the type being tested against is a final type.