Mercurial > hg > truffle
changeset 5594:9b85ab3d3ab7
made allocation tracing in NewInstanceSnippets be enabled by graal.traceAllocation system property
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Thu, 14 Jun 2012 12:00:08 +0200 |
parents | fcb8d2b8dc42 |
children | ea9ac81f5645 |
files | graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/snippets/NewInstanceSnippets.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/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.