# HG changeset patch # User Bernhard Urban # Date 1380052684 -7200 # Node ID 5da106dae76912ac96165b10e23f14eb492d6ff2 # Parent b04b94b71649520e25d661716df1666892526f07 WriteBarrierSnipppets: make locations visible to other packages diff -r b04b94b71649 -r 5da106dae769 graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/replacements/WriteBarrierSnippets.java --- a/graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/replacements/WriteBarrierSnippets.java Tue Sep 24 14:24:47 2013 -0400 +++ b/graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/replacements/WriteBarrierSnippets.java Tue Sep 24 21:58:04 2013 +0200 @@ -62,9 +62,9 @@ private static final SnippetCounter g1EffectiveRefFieldBarrierCounter = new SnippetCounter(countersWriteBarriers, "g1EffectiveRefFieldBarrierCounter", "Number of G1 effective Ref Field Read Barriers"); - private static final LocationIdentity GC_CARD_LOCATION = new NamedLocationIdentity("GC-Card"); - private static final LocationIdentity GC_LOG_LOCATION = new NamedLocationIdentity("GC-Log"); - private static final LocationIdentity GC_INDEX_LOCATION = new NamedLocationIdentity("GC-Index"); + public static final LocationIdentity GC_CARD_LOCATION = new NamedLocationIdentity("GC-Card"); + public static final LocationIdentity GC_LOG_LOCATION = new NamedLocationIdentity("GC-Log"); + public static final LocationIdentity GC_INDEX_LOCATION = new NamedLocationIdentity("GC-Index"); @Snippet public static void serialWriteBarrier(Object object, Object location, @ConstantParameter boolean usePrecise, @ConstantParameter boolean alwaysNull) {