changeset 11776:5da106dae769

WriteBarrierSnipppets: make locations visible to other packages
author Bernhard Urban <bernhard.urban@jku.at>
date Tue, 24 Sep 2013 21:58:04 +0200
parents b04b94b71649
children aed07e3d070f
files graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/replacements/WriteBarrierSnippets.java
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- 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) {